Filling in documentation.

AABB, Color, Rect2, Transform, Vector2, and Vector3.
This commit is contained in:
CowThing 2016-05-15 19:01:21 -04:00
parent 7913e792ac
commit 0749db2cf8
1 changed files with 38 additions and 0 deletions

View File

@ -2074,6 +2074,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">
@ -2099,10 +2100,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>
@ -8196,26 +8200,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>
@ -29376,10 +29391,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>
@ -39167,6 +39185,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">
@ -39184,12 +39203,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">
@ -39200,6 +39221,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">
@ -39208,6 +39230,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">
@ -39216,6 +39239,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">
@ -39248,6 +39272,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">
@ -39258,6 +39283,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">
@ -39266,6 +39292,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">
@ -39274,6 +39301,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">
@ -39282,13 +39310,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>
@ -41065,12 +41096,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>
@ -41314,10 +41349,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>