Difference between revisions of "Transform:reset"

(Created page)
 
m (Arguments: Add fullstop.)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{newin|[[0.11.0]]|110|type=function}}
+
{{newin|[[11.0]]|110|type=function}}
 
Resets the Transform to an identity state. All previously applied transformations are erased.
 
Resets the Transform to an identity state. All previously applied transformations are erased.
  
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 ==

Latest revision as of 04:07, 7 December 2019

Available since LÖVE 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