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

Method PlayFrom

trinity/Curves/TriCurveSet.cpp:214–229  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

212}
213
214void TriCurveSet::PlayFrom( double time )
215{
216 m_startTime = -1.0;
217 m_endTime = 0.0;
218 m_isPlaying = true;
219 m_lastTime = 0.0;
220 m_scaledTime = time;
221
222 // some curves need to know about a play start (event curves)
223 for( ITriFunctionVector::const_iterator it = m_curves.begin(); it != m_curves.end(); ++it )
224 {
225 ( *it )->Reset();
226 }
227
228 m_callback.Destroy();
229}
230
231void TriCurveSet::Stop()
232{

Callers 5

UpdateMethod · 0.80
StartFiringMethod · 0.80
StartFiringMethod · 0.80
StartMuzzleEffectMethod · 0.80
OnVolumeModifiedMethod · 0.80

Calls 4

beginMethod · 0.45
endMethod · 0.45
ResetMethod · 0.45
DestroyMethod · 0.45

Tested by

no test coverage detected