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

Method StopCurveSet

trinity/Eve/EveEffectRoot2.cpp:710–726  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

708
709// -----------------------------------------------------------------------------
710void EveEffectRoot2::StopCurveSet( const std::string& name )
711{
712 for( auto it = m_curveSets.begin(); it != m_curveSets.end(); it++ )
713 {
714 if( ( *it )->GetName() == name )
715 {
716 ( *it )->Stop();
717 }
718 }
719 for( auto childIt = m_effectChildren.begin(); childIt != m_effectChildren.end(); childIt++ )
720 {
721 if( auto owner = dynamic_cast<ITr2CurveSetOwner*>( *childIt ) )
722 {
723 owner->StopCurveSet( name );
724 }
725 }
726}
727
728// -----------------------------------------------------------------------------
729void EveEffectRoot2::UpdateCurveSet( const std::string& name, Be::Time time )

Callers

nothing calls this directly

Calls 4

beginMethod · 0.45
endMethod · 0.45
GetNameMethod · 0.45
StopMethod · 0.45

Tested by

no test coverage detected