Difference between revisions of "Transform:isAffine2DTransform"

(Created page with "{{newin|11.0|110|type=function}} Checks whetever the transformation only consist of affine transformation. {{notice|Please fix the language then remove this notice afterw...")
 
m (Fix AuahDark's grammar as requested on the Discord)
 
Line 1: Line 1:
 
{{newin|[[11.0]]|110|type=function}}
 
{{newin|[[11.0]]|110|type=function}}
Checks whetever the transformation only consist of affine transformation.
+
Checks whether the Transform is an affine transformation.
 
 
{{notice|Please fix the language then remove this notice afterwards.}}
 
  
 
== Function ==
 
== Function ==
Line 12: Line 10:
 
None.
 
None.
 
=== Returns ===
 
=== Returns ===
{{param|boolean|affine|<code>true</code> if the transform object only consist of affine transformation, <code>false</code> otherwise.}}
+
{{param|boolean|affine|<code>true</code> if the transform object is an affine transformation, <code>false</code> otherwise.}}
  
 
== See Also ==
 
== See Also ==
Line 18: Line 16:
  
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=Checks whetever it's only affine transformation.}}
+
{{#set:Description=Checks whether the Transform is an affine transformation.}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|Transform:isAffine2DTransform}}
 
{{i18n|Transform:isAffine2DTransform}}

Latest revision as of 05:12, 12 January 2019

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

Checks whether the Transform is an affine transformation.

Function

Synopsis

affine = Transform:isAffine2DTransform()

Arguments

None.

Returns

boolean affine
true if the transform object is an affine transformation, false otherwise.

See Also

Other Languages