Difference between revisions of "Transform:reset"

m
m (Arguments: Add fullstop.)
 
(One intermediate revision by one other user 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 8: Line 8:
 
</source>
 
</source>
 
=== Arguments ===
 
=== Arguments ===
None
+
None.
 +
 
 
=== Returns ===
 
=== Returns ===
 
{{param|Transform|transform|The Transform object the method was called on. Allows easily chaining Transform methods.}}
 
{{param|Transform|transform|The Transform object the method was called on. Allows easily chaining Transform methods.}}

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