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

Method toPoint

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

Source from the content-addressed store, hash-verified

420}
421
422S32 VTimeLineControl::toPoint( const S32 &pTime )
423{
424 return ( S32 )( gUnitsPerSec * ( ( F32 )( pTime + mDurationOffset ) / 1000.f ) );
425}
426
427ConsoleMethod( VTimeLineControl, getSelection, const char *, 2, 2, "( )" )
428{

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected