mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Update core documentation to match recent C# changes
Also a few minor API changes like adding AABB.abs() Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
This commit is contained in:
@@ -70,22 +70,22 @@
|
||||
Enumerated value for the Y axis.
|
||||
</constant>
|
||||
<constant name="ZERO" value="Vector2i( 0, 0 )">
|
||||
Zero vector.
|
||||
Zero vector, a vector with all components set to [code]0[/code].
|
||||
</constant>
|
||||
<constant name="ONE" value="Vector2i( 1, 1 )">
|
||||
One vector.
|
||||
One vector, a vector with all components set to [code]1[/code].
|
||||
</constant>
|
||||
<constant name="LEFT" value="Vector2i( -1, 0 )">
|
||||
Left unit vector.
|
||||
Left unit vector. Represents the direction of left.
|
||||
</constant>
|
||||
<constant name="RIGHT" value="Vector2i( 1, 0 )">
|
||||
Right unit vector.
|
||||
Right unit vector. Represents the direction of right.
|
||||
</constant>
|
||||
<constant name="UP" value="Vector2i( 0, -1 )">
|
||||
Up unit vector.
|
||||
Up unit vector. Y is down in 2D, so this vector points -Y.
|
||||
</constant>
|
||||
<constant name="DOWN" value="Vector2i( 0, 1 )">
|
||||
Down unit vector.
|
||||
Down unit vector. Y is down in 2D, so this vector points +Y.
|
||||
</constant>
|
||||
</constants>
|
||||
</class>
|
||||
|
||||
Reference in New Issue
Block a user