summaryrefslogtreecommitdiff
path: root/doc/classes/Transform2D.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/Transform2D.xml')
-rw-r--r--doc/classes/Transform2D.xml25
1 files changed, 16 insertions, 9 deletions
diff --git a/doc/classes/Transform2D.xml b/doc/classes/Transform2D.xml
index 66adeab3a6..af67ad2bd4 100644
--- a/doc/classes/Transform2D.xml
+++ b/doc/classes/Transform2D.xml
@@ -17,6 +17,22 @@
<method name="Transform2D">
<return type="Transform2D">
</return>
+ <description>
+ Constructs a default-initialized [Transform] set to [constant IDENTITY].
+ </description>
+ </method>
+ <method name="Transform2D">
+ <return type="Transform2D">
+ </return>
+ <argument index="0" name="from" type="Transform2D">
+ </argument>
+ <description>
+ Constructs a [Transform2D] as a copy of the given [Transform2D].
+ </description>
+ </method>
+ <method name="Transform2D">
+ <return type="Transform2D">
+ </return>
<argument index="0" name="rotation" type="float">
</argument>
<argument index="1" name="position" type="Vector2">
@@ -38,15 +54,6 @@
Constructs the transform from 3 [Vector2] values representing [member x], [member y], and the [member origin] (the three column vectors).
</description>
</method>
- <method name="Transform2D">
- <return type="Transform2D">
- </return>
- <argument index="0" name="from" type="Transform">
- </argument>
- <description>
- Constructs the transform from a 3D [Transform].
- </description>
- </method>
<method name="affine_inverse">
<return type="Transform2D">
</return>