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

Method AddToEffectChildrenList

trinity/Eve/EveEffectRoot2.cpp:901–911  ·  view source on GitHub ↗

--------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

899
900// --------------------------------------------------------------------------------
901void EveEffectRoot2::AddToEffectChildrenList( IEveSpaceObjectChild* child )
902{
903 if( IsInRegistry() && m_display )
904 {
905 if( EveEntityPtr entity = BlueCastPtr( child->GetRootObject() ) )
906 {
907 entity->Register( GetComponentRegistry() );
908 }
909 }
910 m_effectChildren.Append( child->GetRootObject() );
911}
912
913// --------------------------------------------------------------------------------
914void EveEffectRoot2::RemoveFromEffectChildrenList( IEveSpaceObjectChild* child )

Callers 1

StartMethod · 0.45

Calls 2

AppendMethod · 0.80
RegisterMethod · 0.45

Tested by

no test coverage detected