application.getLastFrameTime

Returns the time in seconds it took to render the last frame.

Prototype

  1. nTime = application.getLastFrameTime ( )

Description

Useful for making movement animations framerate independent. Look up ShiVa's concept of dt (deltatime) if you want to know more.


Return values

nTime - time number in seconds


Available since ShiVa 2.0