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

Method Stop

trinity/Eve/EveEffectRoot2.cpp:556–572  ·  view source on GitHub ↗

-------------------------------------------------------------------------------- Description: Stops all "top level" curve sets. --------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

554// Stops all "top level" curve sets.
555// --------------------------------------------------------------------------------
556void EveEffectRoot2::Stop()
557{
558 // stop curvesets owned by this effect root
559 for( auto it = m_curveSets.begin(); it != m_curveSets.end(); it++ )
560 {
561 ( *it )->Stop();
562 }
563
564 // stop curvesets on children owned by this effect root
565 for( auto cit = m_effectChildren.begin(); cit != m_effectChildren.end(); cit++ )
566 {
567 if( auto child = dynamic_cast<ITr2CurveSetOwner*>( *cit ) )
568 {
569 child->StopAllCurveSets();
570 }
571 }
572}
573
574
575// --------------------------------------------------------------------------------

Callers 4

StopCurveSetMethod · 0.45
StopCurveSetMethod · 0.45
StopCurveSetMethod · 0.45
StopCurveSetMethod · 0.45

Calls 3

beginMethod · 0.45
endMethod · 0.45
StopAllCurveSetsMethod · 0.45

Tested by

no test coverage detected