Vizard 8 » Command Index » Vizard modules » viz » <viz>.getFrameNumber
8.0

<viz>.getFrameNumber

Returns the current frame count

<viz>.getFrameNumber()  

Remarks

Return the current frame number. During loading the frame number will be 0. During the first update cycle the frame number will be 1.

Return Value

The current frame number.

Example

frameNumber = viz.getFrameNumber()

See also

<viz>.getFrameElapsed
<viz>.getFrameTime