MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / getElapsedPlayTimeCurrentCycle

Method getElapsedPlayTimeCurrentCycle

Engine/source/sfx/sfxSound.cpp:609–612  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

607//-----------------------------------------------------------------------------
608
609F32 SFXSound::getElapsedPlayTimeCurrentCycle() const
610{
611 return F32( getPosition() ) / 1000.f;
612}
613
614//-----------------------------------------------------------------------------
615

Callers 3

updateMethod · 0.45
_onUpdateMethod · 0.45
dumpSourcesMethod · 0.45

Calls 1

getPositionFunction · 0.85

Tested by

no test coverage detected