Difference between revisions of "love.timer.getMicroTime"

m (Clarified the function description.)
(Updated to 0.8.0 behaviour.)
Line 1: Line 1:
Returns the value of a timer with an unspecified starting time. The time is accurate to the microsecond, and is limited to 24 hours.
+
Returns the value of a timer with an unspecified starting time. The time is accurate to the microsecond.
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
Line 8: Line 8:
 
None.
 
None.
 
=== Returns ===
 
=== Returns ===
{{param|number|t|The time passed (in seconds)}}
+
{{param|number|t|The time passed in seconds.}}
 
== See Also ==
 
== See Also ==
 
* [[parent::love.timer]]
 
* [[parent::love.timer]]
 
* [[love.timer.getTime]]
 
* [[love.timer.getTime]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=Returns the amount of time passed since an unspecified time. The time is accurate to the microsecond, and is limited to 24 hours.}}
+
{{#set:Description=Returns the value of a timer with microsecond precision.}}
 
{{#set:Since=000}}
 
{{#set:Since=000}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|love.timer.getMicroTime}}
 
{{i18n|love.timer.getMicroTime}}

Revision as of 23:20, 11 April 2012

Returns the value of a timer with an unspecified starting time. The time is accurate to the microsecond.

Function

Synopsis

t = love.timer.getMicroTime( )

Arguments

None.

Returns

number t
The time passed in seconds.

See Also


Other Languages