MCPcopy Create free account
hub / github.com/carbonengine/trinity / IsInitialized

Method IsInitialized

trinity/Tr2GrannyAnimation.cpp:1998–2015  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1996}
1997
1998bool Tr2GrannyAnimation::IsInitialized() const
1999{
2000 if( IsUsingCMF() )
2001 {
2002 return m_baseLayer.m_sequencer != nullptr;
2003 }
2004#if WITH_GRANNY
2005 else
2006 {
2007 return m_baseLayer.m_modelInstance != nullptr;
2008 }
2009#else
2010 else
2011 {
2012 return false;
2013 }
2014#endif
2015}
2016
2017void Tr2GrannyAnimation::AddAnimationLayer( const char* layerName, float layerWeight )
2018{

Callers 2

GetBoneListFunction · 0.45
CreateBindingMethod · 0.45

Calls 1

IsUsingCMFFunction · 0.85

Tested by

no test coverage detected