GetDeltaSeconds: Difference between revisions
From Onset Developer Wiki
No edit summary |
FlyingFork (talk | contribs) No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 11: | Line 11: | ||
== Example == | == Example == | ||
<syntaxhighlight lang="Lua> | |||
print("Delta Seconds: " .. GetDeltaSeconds()) | |||
</syntaxhighlight> | |||
{{RelatedFunctions}} | {{RelatedFunctions}} | ||
*[[GetTimeSeconds]] | |||
*[[GetDeltaSeconds]] | |||
*[[GetTickCount]] |
Latest revision as of 15:58, 27 June 2021
Description
Gets the time between game ticks/frames.
Syntax
GetDeltaSeconds()
Parameters
- This function has no parameters.
Return Value
- Returns the delta time between the last game ticks/frames.
Example
print("Delta Seconds: " .. GetDeltaSeconds())