Skip to content

Commit e25776e

Browse files
authored
Merge pull request #98442 from tetrapod00/transform-2d-docs-fix
Fix incorrect Transform2D docs
2 parents 3dbef70 + 9cf6cb0 commit e25776e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

doc/classes/Transform2D.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,14 +251,14 @@
251251
</member>
252252
<member name="y" type="Vector2" setter="" getter="" default="Vector2(0, 1)">
253253
The transform basis's Y axis, and the column [code]1[/code] of the matrix. Combined with [member x], this represents the transform's rotation, scale, and skew.
254-
On the identity transform, this vector points up ([constant Vector2.UP]).
254+
On the identity transform, this vector points down ([constant Vector2.DOWN]).
255255
</member>
256256
</members>
257257
<constants>
258258
<constant name="IDENTITY" value="Transform2D(1, 0, 0, 1, 0, 0)">
259259
The identity [Transform2D]. A transform with no translation, no rotation, and its scale being [code]1[/code]. When multiplied by another [Variant] such as [Rect2] or another [Transform2D], no transformation occurs. This means that:
260260
- The [member x] points right ([constant Vector2.RIGHT]);
261-
- The [member y] points up ([constant Vector2.UP]).
261+
- The [member y] points down ([constant Vector2.DOWN]).
262262
[codeblock]
263263
var transform = Transform2D.IDENTITY
264264
print("| X | Y | Origin")

0 commit comments

Comments
 (0)