timeToFrame
Get the frame position at the elapsed time in seconds.
Return
The frame number at the specified time
Parameters
time
Elapsed time of interest in seconds.
frameRate
The frames per second of the animation
Get the frame position at the elapsed time in seconds.
The frame number at the specified time
Elapsed time of interest in seconds.
The frames per second of the animation