From d7cf1b5c7371c64059298bcf711f1ac6353222fe Mon Sep 17 00:00:00 2001 From: Yuri Roubinsky Date: Wed, 3 Jun 2020 15:22:26 +0300 Subject: Fix docs generation for Vector2i/Vector3i/Rect2i --- doc/classes/Vector2i.xml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'doc/classes/Vector2i.xml') diff --git a/doc/classes/Vector2i.xml b/doc/classes/Vector2i.xml index a516eb01dd..71c7aaa4e5 100644 --- a/doc/classes/Vector2i.xml +++ b/doc/classes/Vector2i.xml @@ -31,7 +31,36 @@ Constructs a new [Vector2i] from [Vector2]. The floating point coordinates will be truncated. + + + + + Returns a new vector with all components in absolute values (i.e. positive). + + + + + + + Returns the ratio of [member x] to [member y]. + + + + + + + Returns the vector with each component set to one or negative one, depending on the signs of the components. + + + + + The vector's X component. Also accessible by using the index position [code][0][/code]. + + + The vector's Y component. Also accessible by using the index position [code][1][/code]. + + Enumerated value for the X axis. -- cgit v1.2.3