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

Method Start

trinity/Eve/EveEffectRoot2.cpp:534–550  ·  view source on GitHub ↗

-------------------------------------------------------------------------------- Description: Plays all curve sets. --------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

532// Plays all curve sets.
533// --------------------------------------------------------------------------------
534void EveEffectRoot2::Start()
535{
536 // play curvesets owned by this effect root
537 for( auto it = m_curveSets.begin(); it != m_curveSets.end(); it++ )
538 {
539 ( *it )->Play();
540 }
541
542 // play curvesets on children owned by this effect root
543 for( auto cit = m_effectChildren.begin(); cit != m_effectChildren.end(); cit++ )
544 {
545 if( auto child = dynamic_cast<ITr2CurveSetOwner*>( *cit ) )
546 {
547 child->PlayAllCurveSets();
548 }
549 }
550}
551
552// --------------------------------------------------------------------------------
553// Description:

Callers 3

StartControllersMethod · 0.45
StartControllersMethod · 0.45
StartControllersMethod · 0.45

Calls 4

beginMethod · 0.45
endMethod · 0.45
PlayMethod · 0.45
PlayAllCurveSetsMethod · 0.45

Tested by

no test coverage detected