Transform:reset

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