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

Method toTime

Engine/source/Verve/GUI/VTimeLineControl.cpp:413–416  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

411}
412
413S32 VTimeLineControl::toTime( const S32 &pPoint )
414{
415 return ( ( S32 )( 1000.f * ( F32 )pPoint / gUnitsPerSec ) - mDurationOffset );
416}
417
418DefineEngineMethod( VTimeLineControl, toTime, S32, (S32 point), (0), "( pPoint )" )
419{

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected