![]() |
GearBlocks
The GearBlocks Lua scripting API
|
It's time. More...
Properties | |
static float | DeltaTime [get] |
The frame delta time. | |
static float | UnscaledDeltaTime [get] |
The unscaled frame delta time. | |
static float | FixedDeltaTime [get] |
The fixed delta time. | |
static float | FixedUnscaledDeltaTime [get] |
The unscaled fixed delta time. | |
static double | GameTime [get] |
The game time. | |
static double | UnscaledGameTime [get] |
The unscaled game time. | |
It's time.
Available in Lua via the "Time" global, for example:
|
staticget |
The frame delta time.
The interval in seconds from the last frame to the current one.
|
staticget |
The unscaled frame delta time.
The timeScale-independent interval in seconds from the last frame to the current one.
|
staticget |
The fixed delta time.
The interval in seconds over which physics and other fixed updates are performed.
|
staticget |
The unscaled fixed delta time.
The timeScale-independent interval in seconds over which physics and other fixed updates are performed.
|
staticget |
The game time.
The time in seconds since the start of the game.
|
staticget |
The unscaled game time.
The timeScale-independent time in seconds since the start of the game.