FrameTime
FrameTime

Returns the time (in milliseconds) since the current frame started.

time = myTime.FrameTime( )

Return value
The time in milliseconds.

Comments

When comparing the current time, it is recomended to use FrameTimeIs(n) instead of FrameTime() == n, as FrameTimeIs includes checks which ensure that the time is never missed due to refresh rate. FrameTime() == n will rarely return true, as the system clock used usually increments in 15 - 17 millisecond intervals.

See also
Time:FrameTimeIs
Time:FrameTimeOver
Time:FrameTimeUnder
Time:FrameTimeBetween
Time:Every



JAM © 2005 no one in partiular
Project started by David Evans in 2005