Filling in documentation.

AABB, Color, Rect2, Transform, Vector2, and Vector3.

(cherry picked from commit 0749db2cf8)
This commit is contained in:
CowThing 2016-05-15 19:01:21 -04:00 committed by Rémi Verschelde
parent 481c076feb
commit c6e2c0f01d
1 changed files with 38 additions and 0 deletions

View File

@ -2072,6 +2072,7 @@
<argument index="1" name="to" type="Vector3"> <argument index="1" name="to" type="Vector3">
</argument> </argument>
<description> <description>
Return true if the [AABB] intersects the line segment between from and to
</description> </description>
</method> </method>
<method name="merge"> <method name="merge">
@ -2097,10 +2098,13 @@
</methods> </methods>
<members> <members>
<member name="pos" type="Vector3"> <member name="pos" type="Vector3">
Position (starting corner).
</member> </member>
<member name="size" type="Vector3"> <member name="size" type="Vector3">
Size from position to end.
</member> </member>
<member name="end" type="Vector3"> <member name="end" type="Vector3">
Ending corner.
</member> </member>
</members> </members>
<constants> <constants>
@ -7961,26 +7965,37 @@
</methods> </methods>
<members> <members>
<member name="r" type="float"> <member name="r" type="float">
Red (0 to 1)
</member> </member>
<member name="g" type="float"> <member name="g" type="float">
Green (0 to 1)
</member> </member>
<member name="b" type="float"> <member name="b" type="float">
Blue (0 to 1)
</member> </member>
<member name="a" type="float"> <member name="a" type="float">
Alpha (0 to 1)
</member> </member>
<member name="h" type="float"> <member name="h" type="float">
Hue (0 to 1)
</member> </member>
<member name="s" type="float"> <member name="s" type="float">
Saturation (0 to 1)
</member> </member>
<member name="v" type="float"> <member name="v" type="float">
Value (0 to 1)
</member> </member>
<member name="r8" type="int"> <member name="r8" type="int">
Red (0 to 255)
</member> </member>
<member name="g8" type="int"> <member name="g8" type="int">
Green (0 to 255)
</member> </member>
<member name="b8" type="int"> <member name="b8" type="int">
Blue (0 to 255)
</member> </member>
<member name="a8" type="int"> <member name="a8" type="int">
Alpha (0 to 255)
</member> </member>
</members> </members>
<constants> <constants>
@ -28011,10 +28026,13 @@ This method controls whether the position between two cached points is interpola
</methods> </methods>
<members> <members>
<member name="pos" type="Vector2"> <member name="pos" type="Vector2">
Position (starting corner).
</member> </member>
<member name="size" type="Vector2"> <member name="size" type="Vector2">
Size from position to end.
</member> </member>
<member name="end" type="Vector2"> <member name="end" type="Vector2">
Ending corner.
</member> </member>
</members> </members>
<constants> <constants>
@ -37702,6 +37720,7 @@ This method controls whether the position between two cached points is interpola
<return type="Transform"> <return type="Transform">
</return> </return>
<description> <description>
Returns the inverse of the transfrom, even if the transform has scale or the axis vectors are not orthogonal.
</description> </description>
</method> </method>
<method name="inverse"> <method name="inverse">
@ -37719,12 +37738,14 @@ This method controls whether the position between two cached points is interpola
<argument index="1" name="up" type="Vector3"> <argument index="1" name="up" type="Vector3">
</argument> </argument>
<description> <description>
Rotate the transform around the up vector to face the target.
</description> </description>
</method> </method>
<method name="orthonormalized"> <method name="orthonormalized">
<return type="Transform"> <return type="Transform">
</return> </return>
<description> <description>
Returns a transfrom with the basis orthogonal (90 degrees), and normalized axis vectors.
</description> </description>
</method> </method>
<method name="rotated"> <method name="rotated">
@ -37735,6 +37756,7 @@ This method controls whether the position between two cached points is interpola
<argument index="1" name="phi" type="float"> <argument index="1" name="phi" type="float">
</argument> </argument>
<description> <description>
Rotate the transform locally.
</description> </description>
</method> </method>
<method name="scaled"> <method name="scaled">
@ -37743,6 +37765,7 @@ This method controls whether the position between two cached points is interpola
<argument index="0" name="scale" type="Vector3"> <argument index="0" name="scale" type="Vector3">
</argument> </argument>
<description> <description>
Scale the transform locally.
</description> </description>
</method> </method>
<method name="translated"> <method name="translated">
@ -37751,6 +37774,7 @@ This method controls whether the position between two cached points is interpola
<argument index="0" name="ofs" type="Vector3"> <argument index="0" name="ofs" type="Vector3">
</argument> </argument>
<description> <description>
Translate the transform locally.
</description> </description>
</method> </method>
<method name="xform"> <method name="xform">
@ -37783,6 +37807,7 @@ This method controls whether the position between two cached points is interpola
<argument index="3" name="origin" type="Vector3"> <argument index="3" name="origin" type="Vector3">
</argument> </argument>
<description> <description>
Construct the Transform from four Vector3. Each axis creates the basis.
</description> </description>
</method> </method>
<method name="Transform"> <method name="Transform">
@ -37793,6 +37818,7 @@ This method controls whether the position between two cached points is interpola
<argument index="1" name="origin" type="Vector3"> <argument index="1" name="origin" type="Vector3">
</argument> </argument>
<description> <description>
Construct the Transform from a Matrix3 and Vector3.
</description> </description>
</method> </method>
<method name="Transform"> <method name="Transform">
@ -37801,6 +37827,7 @@ This method controls whether the position between two cached points is interpola
<argument index="0" name="from" type="Matrix32"> <argument index="0" name="from" type="Matrix32">
</argument> </argument>
<description> <description>
Construct the Transform from a Matrix32.
</description> </description>
</method> </method>
<method name="Transform"> <method name="Transform">
@ -37809,6 +37836,7 @@ This method controls whether the position between two cached points is interpola
<argument index="0" name="from" type="Quat"> <argument index="0" name="from" type="Quat">
</argument> </argument>
<description> <description>
Construct the Transform from a Quat. The origin will be Vector3(0, 0, 0)
</description> </description>
</method> </method>
<method name="Transform"> <method name="Transform">
@ -37817,13 +37845,16 @@ This method controls whether the position between two cached points is interpola
<argument index="0" name="from" type="Matrix3"> <argument index="0" name="from" type="Matrix3">
</argument> </argument>
<description> <description>
Construct the Transform from a Matrix3. The origin will be Vector3(0, 0, 0)
</description> </description>
</method> </method>
</methods> </methods>
<members> <members>
<member name="basis" type="Matrix3"> <member name="basis" type="Matrix3">
The basis contains 3 [Vector3]. X axis, Y axis, and Z axis.
</member> </member>
<member name="origin" type="Vector3"> <member name="origin" type="Vector3">
The origin of the transform. Which is the translation offset.
</member> </member>
</members> </members>
<constants> <constants>
@ -39525,12 +39556,16 @@ This method controls whether the position between two cached points is interpola
</methods> </methods>
<members> <members>
<member name="x" type="float"> <member name="x" type="float">
X component of the vector.
</member> </member>
<member name="y" type="float"> <member name="y" type="float">
Y component of the vector.
</member> </member>
<member name="width" type="float"> <member name="width" type="float">
Width of the vector (Same as X).
</member> </member>
<member name="height" type="float"> <member name="height" type="float">
Height of the vector (Same as Y).
</member> </member>
</members> </members>
<constants> <constants>
@ -39774,10 +39809,13 @@ This method controls whether the position between two cached points is interpola
</methods> </methods>
<members> <members>
<member name="x" type="float"> <member name="x" type="float">
X component of the vector.
</member> </member>
<member name="y" type="float"> <member name="y" type="float">
Y component of the vector.
</member> </member>
<member name="z" type="float"> <member name="z" type="float">
Z component of the vector.
</member> </member>
</members> </members>
<constants> <constants>