Difference between revisions of "Transform:apply"

(Created page)
 
m (0.11.0 -> 11.0)
 
Line 1: Line 1:
{{newin|[[0.11.0]]|110|type=function}}
+
{{newin|[[11.0]]|110|type=function}}
 
Applies the given other Transform object to this one.
 
Applies the given other Transform object to this one.
  

Latest revision as of 19:32, 7 May 2019

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

Applies the given other Transform object to this one.

This effectively multiplies this Transform's internal transformation matrix with the other Transform's (i.e. self * other), and stores the result in this object.

Function

Synopsis

transform = Transform:apply( other )

Arguments

Transform other
The other Transform object to apply to this Transform.

Returns

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

See Also

Other Languages