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

Method PlayCurveSet

trinity/Eve/EveLensflare.cpp:412–429  ·  view source on GitHub ↗

-------------------------------CurveSets----------------------------------------------

Source from the content-addressed store, hash-verified

410
411// -------------------------------CurveSets----------------------------------------------
412void EveLensflare::PlayCurveSet( const std::string& name, const std::string& rangeName )
413{
414 for( auto it = m_curveSets.begin(); it != m_curveSets.end(); it++ )
415 {
416 if( ( *it )->GetName() == name )
417 {
418 if( rangeName.empty() )
419 {
420 ( *it )->ResetTimeRange();
421 ( *it )->Play();
422 }
423 else
424 {
425 ( *it )->PlayTimeRange( rangeName.c_str() );
426 }
427 }
428 }
429}
430
431void EveLensflare::StopCurveSet( const std::string& name )
432{

Callers

nothing calls this directly

Calls 7

emptyMethod · 0.80
ResetTimeRangeMethod · 0.80
PlayTimeRangeMethod · 0.80
beginMethod · 0.45
endMethod · 0.45
GetNameMethod · 0.45
PlayMethod · 0.45

Tested by

no test coverage detected