Difference between revisions of "Transform:reset"

(Created page)
 
m
Line 5: Line 5:
 
=== Synopsis ===
 
=== Synopsis ===
 
<source lang="lua">
 
<source lang="lua">
Transform:reset( )
+
transform = Transform:reset( )
 
</source>
 
</source>
 
=== Arguments ===
 
=== Arguments ===
 
None
 
None
 
=== Returns ===
 
=== Returns ===
Nothing.
+
{{param|Transform|transform|The Transform object the method was called on. Allows easily chaining Transform methods.}}
  
 
== See Also ==
 
== See Also ==

Revision as of 22:09, 26 January 2018

Available since LÖVE 0.11.0
This function is not supported in earlier versions.

Resets the Transform to an identity state. All previously applied transformations are erased.

Function

Synopsis

transform = Transform:reset( )

Arguments

None

Returns

Transform transform
The Transform object the method was called on. Allows easily chaining Transform methods.

See Also

Other Languages