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

Method toTime

Engine/modules/Verve/GUI/VTimeLineControl.cpp:412–415  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected