diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2015-12-12 20:53:57 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2015-12-12 21:18:33 +0100 |
commit | 61eb037d5de92b75238b16083c66e489b43ea327 (patch) | |
tree | a0082e6048c4381367d8fc9f6f9da69246ca6a4e | |
parent | 101049518a71eeece66bc94688ae69d9018cdeb0 (diff) |
Remove outdated documentation
45 files changed, 3 insertions, 26907 deletions
diff --git a/.gitignore b/.gitignore index d947306558..fc8f413717 100644 --- a/.gitignore +++ b/.gitignore @@ -24,8 +24,9 @@ tools/editor/editor_icons.cpp make.bat log.txt -# Doxygen generated documentation -doc/doxygen/* +# Documentation generated by doxygen or scripts +doc/doxygen/ +doc/html/ # Javascript specific *.bc @@ -189,9 +190,6 @@ AutoTest.Net/ # Installshield output folder [Ee]xpress/ -# dumpdoc generated files -doc/html/class_list - # DocProject is a documentation generator add-in DocProject/buildhelp/ DocProject/Help/*.HxT diff --git a/doc/core_classes.xml b/doc/core_classes.xml deleted file mode 100644 index c37b50f122..0000000000 --- a/doc/core_classes.xml +++ /dev/null @@ -1,2654 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" ?> -<doc version="1.0" name="Core Types"> -<class category="Core" name="Vector3"> - <brief_description> - Vector class, which performs basic 3D vector math operations. - </brief_description> - <description> - Vector3 is one of the core classes of the engine, and includes several built-in helper functions to perform basic vecor math operations. - </description> - <methods> - <method name="operator+"> - <argument index="0" name="b" type="Vector3"> - </argument> - <return type="Vector3"> - Sum. - </return> - <description> - Add two vectors. - </description> - </method> - <method name="operator-"> - <argument index="0" name="b" type="Vector3"> - </argument> - <return type="Vector3"> - Difference. - </return> - <description> - Substract two vectors. - </description> - </method> - <method name="operator/"> - <argument index="0" name="b" type="Vector3"> - </argument> - <return type="Vector3"> - Quotient. - </return> - <description> - Divide two vectors (component wise). - </description> - </method> - <method name="operator*"> - <argument index="0" name="b" type="Vector3"> - </argument> - <return type="Vector3"> - Product. - </return> - <description> - Multiply two vectors (components wise). - </description> - </method> - <method name="set_axis"> - <argument index="0" name="axis" type="int"> - Axis Index. - </argument> - <argument index="1" name="value" type="real"> - Value. - </argument> - <description> - Set an individual axis (0 is X, 1 is Y and 2 is Z). the enum constants Vector.AXIS_X, Vector.AXIS_Y, and Vector.AXIS_Z, are also valid. This is specially useful for for-loops. - </description> - </method> - <method name="get_axis"> - <argument index="0" name="axis" type="int"> - Axis Index. - </argument> - <return type="real"> - Value. - </return> - <description> - Set an individual axis (0 is X, 1 is Y and 2 is Z). the enum constants Vector.AXIS_X, Vector.AXIS_Y, and Vector.AXIS_Z, are also valid. This is specially useful for for-loops. - </description> - </method> - <method name="length"> - <return type="real"> - Length: sqrt(x^2+y^2+z^2) - </return> - <description> - Return the length of the vector. - </description> - </method> - <method name="length_squared"> - <return type="real"> - Squared Length: x^2+y^2+z^2. - </return> - <description> - Return the length of the vector, without the square root step. - </description> - </method> - <method name="normalize"> - <description> - Normalize the vector to unit length. This is the same as v = v / v.length() - </description> - </method> - <method name="normalized"> - <return type="Vector3"> - </return> - <description> - Return a copy of the normalized vector to unit length. This is the same as v / v.length() - </description> - </method> - <method name="inverse"> - <return type="Vector3"> - Inverse: 1/v - </return> - <description> - Returns the inverse of the vector. this is the same as Vector3( 1.0 / v.x, 1.0 / v.y, 1.0 / v.z ) - </description> - </method> - <method name="zero"> - <description> - Set x,y and z to 0. - </description> - </method> - <method name="snap"> - <argument index="0" name="snap" type="real"> - </argument> - <description> - Snap the vector in each axis the the lowest nearest multiple. ie: 4,5,7 snapped to 2 equals 4,4,6. - </description> - </method> - <method name="snapped"> - <argument index="0" name="snap" type="real"> - </argument> - <return type="Vector3"> - Snapped copy. - </return> - <description> - Return a copy of the vector, snapped to the lowest neared multiple. - </description> - </method> - <method name="linear_interpolate"> - <argument index="0" name="b" type="Vector3"> - </argument> - <argument index="1" name="i" type="real"> - </argument> - <return type="Vector3"> - </return> - <description> - Linearly interpolates the vector to a given one (b), by the given amount (i) - </description> - </method> - <method name="cubic_interpolate"> - <argument index="0" name="a" type="Vector3"> - </argument> - <argument index="1" name="c" type="Vector3"> - </argument> - <argument index="2" name="d" type="Vector3"> - </argument> - <argument index="3" name="i" type="real"> - </argument> - <return type="Vector3"> - </return> - <description> - Perform a cubic interpolation between vectors a,b,c,d (b is current), by the given amount (i). - </description> - </method> - <method name="cross"> - <argument index="0" name="b" type="Vector3"> - </argument> - <return type="Vector3"> - Cross product. - </return> - <description> - Return the cross product with b. - </description> - </method> - <method name="dot"> - <argument index="0" name="b" type="Vector3"> - </argument> - <return type="real"> - </return> - <description> - Return the dot product with b. - </description> - </method> - <method name="distance_to"> - <argument index="0" name="b" type="Vector3"> - </argument> - <return type="real"> - </return> - <description> - Return the distance to b. - </description> - </method> - <method name="distance_squared_to"> - <argument index="0" name="b" type="Vector3"> - </argument> - <return type="real"> - </return> - <description> - Return the squared distance (distance minus the last square root) to b. - </description> - </method> - </methods> - <constants> - <constant name="AXIS_X" value="0"> - </constant> - <constant name="AXIS_Y" value="1"> - </constant> - <constant name="AXIS_Z" value="2"> - </constant> - </constants> - <members> - <member name="x" type="real"> - </member> - <member name="y" type="real"> - </member> - <member name="z" type="real"> - </member> - </members> -</class> -<class category="Core" name="AABB"> - <brief_description> - Axis-Aligned-Bounding-Box. - </brief_description> - <description> - AABB stands for "Axis Aligned Bounding Box". It consits of a position and a size, which for an box that is always aligned to the x, y and z axis, which goes from "pos" to "pos+size". - </description> - <methods> - <method name="has_no_area"> - <return type="bool"> - </return> - <description> - Returns true if the AABB volume is empty (even if it has a surface). Holds true if size.x,y or z is 0. - </description> - </method> - <method name="has_no_surface"> - <return type="bool"> - </return> - <description> - Return true if size is 0,0,0. - </description> - </method> - <method name="area"> - <return type="real"> - </return> - <description> - Compute the volume of the AABB. - </description> - </method> - <method name="intersects"> - <argument index="0" name="b" type="AABB"> - </argument> - <return type="bool"> - </return> - <description> - Returns true if this AABB shares a portion of space with b. - </description> - </method> - <method name="encloses"> - <argument index="0" name="b" type="AABB"> - </argument> - <return type="bool"> - </return> - <description> - Returns true if this AABB completely encloses b. - </description> - </method> - <method name="merge_with"> - <argument index="0" name="b" type="AABB"> - </argument> - <description> - Expand this AABB to also enclose the area of b. - </description> - </method> - <method name="intersection_with"> - <argument index="0" name="b" type="AABB"> - </argument> - <return type="AABB"> - </return> - <description> - Return the shared portion of space with b (empty if they don't intersect). - </description> - </method> - <method name="intersects_segment"> - <argument index="0" name="a" type="Vector3"> - </argument> - <argument index="1" name="b" type="Vector3"> - </argument> - <argument index="2" name="@r" type="Vector3"> - result (if they intersect) - </argument> - <argument index="3" name="@n" type="Vector3"> - normal (if they intersect) - </argument> - <return type="bool"> - </return> - <description> - Returns true if this AABB intersects segment "a" towards "b". Also, return the point and normal of intersection. - </description> - </method> - <method name="intersects_plane"> - <argument index="0" name="p" type="Plane"> - </argument> - <return type="bool"> - </return> - <description> - Returns true if this AABB intersects the plane b. - </description> - </method> - <method name="has_point"> - <argument index="0" name="p" type="Vector3"> - </argument> - <return type="bool"> - </return> - <description> - Return true if this AABB contains point "p". - </description> - </method> - <method name="get_longest_axis"> - <return type="Vector3"> - Axis direction - </return> - <description> - Get the normal of the longest axis in this AABB. - </description> - </method> - <method name="get_longest_axis_index"> - <return type="int"> - </return> - <description> - Get the index of the longest axis in this AABB. - </description> - </method> - <method name="get_longest_axis_size"> - <return type="real"> - Get the length of the longest axis in this AABB. - </return> - <description> - </description> - </method> - <method name="get_edge"> - <argument index="0" name="@ra" type="Vector3"> - </argument> - <argument index="1" name="@rb" type="Vector3"> - </argument> - <description> - Get one of the edges (0 to 11) of this AABB in "ra" and "rb". - </description> - </method> - <method name="grow_by"> - <argument index="0" name="s" type="real"> - </argument> - <description> - Grow this AABB, by expanding its margin, by "s". - </description> - </method> - <method name="expand_to"> - <argument index="0" name="p" type="Vector3"> - </argument> - <description> - Expand this AABB to contain point "p". - </description> - </method> - </methods> - <members> - <member name="pos" type="Vector3"> - Position of the AABB. - </member> - <member name="size" type="Vector3"> - Suze of the AABB (should always be positive). - </member> - </members> -</class> -<class category="Core" name="Plane"> - <brief_description> - Plane in hessian form. - </brief_description> - <description> - Plane represents a normalized plane equation. Basically, "normal" is the normal of the plane (a,b,c normalized), and "d" is the distance from the origin to the plane (in the direction of "normal"). "Over" or "Above" the plane is considered the side of the plane towards where the normal is pointing. - </description> - <methods> - <method name="normalize"> - <description> - Normalize the plane (although it will be often normalized already). - </description> - </method> - <method name="normalized"> - <return type="Plane"> - </return> - <description> - Returns a copy of the plane, normalized. - </description> - </method> - <method name="is_point_over"> - <argument index="0" name="p" type="Vector3"> - </argument> - <return type="bool"> - </return> - <description> - Returns true if "p" is located above the plane. - </description> - </method> - <method name="distance"> - <argument index="0" name="p" type="Vector3"> - </argument> - <return type="real"> - </return> - <description> - Returns the orthogonal distance from "p" to the plane. If positive, "p" is above, if negative, "p" is below. - </description> - </method> - <method name="has_point"> - <argument index="0" name="p" type="Vector3"> - </argument> - <return type="bool"> - </return> - <description> - Returns true if "p" is inside the plane (by a very minimum treshold). - </description> - </method> - <method name="intersect_3"> - <argument index="0" name="a" type="Plane"> - </argument> - <argument index="1" name="b" type="Plane"> - </argument> - <argument index="2" name="@r" type="Vector3"> - </argument> - <return type="bool"> - </return> - <description> - Returns true if this plane intersects with planes "a" and "b". The resulting intersectin is placed in "r". - </description> - </method> - <method name="intersects_ray"> - <argument index="0" name="p" type="Vector3"> - </argument> - <argument index="1" name="d" type="Vector3"> - </argument> - <argument index="2" name="@r" type="Vector3"> - </argument> - <return type="bool"> - </return> - <description> - Returns true if ray consiting of position "p" and direction normal "d" intersects this plane. If true, the result is placed in "r". - </description> - </method> - <method name="intersects_segment"> - <argument index="0" name="sa" type="Vector3"> - </argument> - <argument index="1" name="sb" type="Vector3"> - </argument> - <argument index="2" name="@r" type="Vector3"> - </argument> - <return type="bool"> - </return> - <description> - Returns true if segment from position "sa" to position "sb" intersects this plane. If true, the result is placed in "r". - - </description> - </method> - <method name="project"> - <argument index="0" name="p" type="Vector3"> - </argument> - <return type="Vector3"> - </return> - <description> - Returns the orthogonal projection of point "p" into a point in the plane. - </description> - </method> - <method name="is_almost_like"> - <argument index="0" name="b" type="plane"> - </argument> - <return type="bool"> - </return> - <description> - Returns true if plane "b" is very similar to this one. - </description> - </method> - </methods> - <members> - <member name="normal" type="Vector3"> - Plane normal vector (a,c and d in the plane equation normalized). - </member> - <member name="d" type="real"> - Plane distance (d in the plane equation). - </member> - </members> -</class> -<class category="Core" name="Quat"> - <brief_description> - Quaternion. - </brief_description> - <description> - Quaternion is a 4 dimensional vector that is used to represet a rotation. It mainly exists to perform SLERP (spherical-linear interpolation) between to rotations obtained by a Matrix3 cheaply. Adding quaternions also cheaply adds the rotations, however quaternions need to be often normalized, or else they suffer from precision issues. - </description> - <methods> - <method name="length"> - <return type="real"> - </return> - <description> - Returns the length of the quaternion. - </description> - </method> - <method name="length_squared"> - <return type="real"> - </return> - <description> - Returns the length of the quaternion, minus the square root. - </description> - </method> - <method name="normalize"> - <description> - Normalize the quaternion to unit length. - </description> - </method> - <method name="normalized"> - <return type="Quat"> - </return> - <description> - Returns a copy of the quaternion, normalized to unit length. - </description> - </method> - <method name="inverse"> - <return type="Quat"> - </return> - <description> - Returns the inverse of the quaternion (applies to the inverse rotatio too). - </description> - </method> - <method name="dot"> - <argument index="0" name="b" type="Quat"> - </argument> - <return type="real"> - </return> - <description> - Returns the dot product between two quaternions. - </description> - </method> - <method name="set_euler"> - <argument index="0" name="e" type="Vector3"> - </argument> - <description> - Create a quaternion from euler rotation "e", as yaw, pitch, roll. - </description> - </method> - <method name="slerp"> - <argument index="0" name="b" type="Quat"> - </argument> - <argument index="1" name="i" type="real"> - </argument> - <return type="Quat"> - </return> - <description> - Perform a spherical-linear interpolation with another quaternion. - </description> - </method> - <method name="operator*"> - <argument index="0" name="arg1" type="Quat"> - </argument> - <return type="Quat"> - </return> - <description> - Peform multiplication between two quaternions. - </description> - </method> - </methods> - <members> - <member name="x" type="real"> - x-axis - </member> - <member name="y" type="real"> - y-axis - </member> - <member name="z" type="real"> - z-axis - </member> - <member name="w" type="real"> - w-axis - </member> - </members> -</class> -<class category="Core" name="Matrix3"> - <brief_description> - 3x3 Matrix. - </brief_description> - <description> - Matrix represent a 3x3 (3 rows by 3 columns) transformation matrix. it is used mainly to represent and accumulate transformations such as rotation or scale when used as an OCS (oriented coordinate system). - </description> - <methods> - <method name="invert"> - <description> - Invert the matrix (transformations are reversed). - </description> - </method> - <method name="transpose"> - <description> - Transpose the matrix (transformations are reversed only for orthogonal matrices). - </description> - </method> - <method name="inverse"> - <return type="Matrix3"> - </return> - <description> - Returns the inverse of the matrix. - </description> - </method> - <method name="transposed"> - <return type="Matrix3"> - </return> - <description> - Returns the transposition of the matrix. - </description> - </method> - <method name="rotate"> - <argument index="0" name="axis" type="Vector3"> - </argument> - <argument index="1" name="phi" type="real"> - </argument> - <description> - Rotates the matrix in normalized "axis" by amount "phi" in radians. (This is equivalent to glRotate from OpenGL). - </description> - </method> - <method name="scale"> - <argument index="0" name="s" type="Vector3"> - </argument> - <description> - Scale each axis of the rotated matrix by 's". - </description> - </method> - <method name="get_scale"> - <return type="Vector3"> - </return> - <description> - Get the scale of the matrix. - </description> - </method> - <method name="set_euler"> - <argument index="0" name="e" type="Vector3"> - </argument> - <description> - Create an orthogonal matrix from euler angles "e", as yaw, pitch, roll. - </description> - </method> - <method name="get_euler"> - <return type="Vector3"> - </return> - <description> - Computes and returns the euler engles for an orthogonal matrix, as yaw, pitch, roll. - </description> - </method> - <method name="tdotx"> - <argument index="0" name="v" type="Vector3"> - </argument> - <return type="Vector3"> - </return> - <description> - Computes and returns a dot product with transposed axis x. - </description> - </method> - <method name="tdoty"> - <argument index="0" name="v" type="Vector3"> - </argument> - <return type="Vector3"> - </return> - <description> - Computes and returns a dot product with transposed axis y. - </description> - </method> - <method name="tdotz"> - <argument index="0" name="arg1" type="Vector3"> - </argument> - <return type="Vector3"> - </return> - <description> - Computes and returns a dot product with transposed axis z. - </description> - </method> - <method name="xform"> - <argument index="0" name="v" type="Vector3"> - </argument> - <return type="Vector3"> - </return> - <description> - Transforms vector "v" by this matrix (as M x V) and returns the result. - </description> - </method> - <method name="xform_inv"> - <argument index="0" name="v" type="Vector3"> - </argument> - <return type="Vector3"> - </return> - <description> - Inverse-transforms vector "v" by this matrix (as V x M) and returns the result. - </description> - </method> - <method name="get_axis"> - <argument index="0" name="axis" type="int"> - </argument> - <return type="Vector3"> - </return> - <description> - Get an axis of the OCS. (0 is X, 1 is Y and 2 is Z). The enum constants Vector.AXIS_X, Vector.AXIS_Y, and Vector.AXIS_Z, are also valid. This is equivalent to get_column(). - </description> - </method> - <method name="set_axis"> - <argument index="0" name="axis" type="int"> - </argument> - <argument index="1" name="v" type="Vector3"> - </argument> - <description> - Set an axis of the OCS. (0 is X, 1 is Y and 2 is Z). The enum constants Vector.AXIS_X, Vector.AXIS_Y, and Vector.AXIS_Z, are also valid. This is equivalent to set_column() - </description> - </method> - <method name="get_row"> - <argument index="0" name="i" type="int"> - </argument> - <return type="Vector3"> - </return> - <description> - Get a matrix row. - </description> - </method> - <method name="set_row"> - <argument index="0" name="i" type="int"> - </argument> - <argument index="1" name="v" type="Vector3"> - </argument> - <description> - Set a matrix row. - </description> - </method> - <method name="get_column"> - <argument index="0" name="axis" type="int"> - </argument> - <return type="Vector3"> - </return> - <description> - Get a matrix column. This is equivalent to get_axis() - </description> - </method> - <method name="set_column"> - <argument index="0" name="axis" type="int"> - </argument> - <argument index="1" name="av" type="Vector3"> - </argument> - Set a matrix column. This is equivalent to set_axis - <description> - </description> - </method> - <method name="operator*"> - <argument index="0" name="N" type="Matrix3"> - </argument> - <return type="Matrix3"> - </return> - <description> - Perform a matrix multiplication (M x N) and return the result. - </description> - </method> - <method name="transpose_xform"> - <argument index="0" name="arg1" type="Matrix3"> - </argument> - <return type="Matrix3"> - </return> - <description> - Perform a transposed-matrix multiplication (Mt x N) and return the result. - </description> - </method> - </methods> - <members> - <member name="xx" type="real"> - </member> - <member name="xy" type="real"> - </member> - <member name="xz" type="real"> - </member> - <member name="yx" type="real"> - </member> - <member name="yy" type="real"> - </member> - <member name="yz" type="real"> - </member> - <member name="zx" type="real"> - </member> - <member name="zy" type="real"> - </member> - <member name="zz" type="real"> - </member> - </members> -</class> -<class category="Core" name="Transform"> - <brief_description> - Transformation. - </brief_description> - <description> - Transform is used to store transformations, including translations. It consists of a Matrix3 "basis" and Vector3 "origin". Transform is used to represent transformations of any object in space. It is similar to a 4x3 matrix. - </description> - <methods> - <method name="invert"> - <description> - Invert the transform. - </description> - </method> - - <method name="inverse"> - <return type="Transform"> - </return> - <description> - Returns the inverse of the transform. - </description> - </method> - <method name="rotate"> - <argument index="0" name="axis" type="Vector3"> - </argument> - <argument index="1" name="phi" type="real"> - </argument> - <description> - Rotates the transform in normalized "axis" by amount "phi" in radians. (This is equivalent to glRotate from OpenGL). - </description> - </method> - <method name="scale"> - <argument index="0" name="s" type="Vector3"> - </argument> - <description> - Scales the whole transform by "s" (including the origin) - </description> - </method> - <method name="get_basis"> - <return type="Matrix3"> - </return> - <description> - Get the basis. - </description> - </method> - <method name="translate"> - <argument index="0" name="v" type="Vector3"> - </argument> - <description> - Translate the transform by "v". - </description> - </method> - <method name="set_look_at"> - <argument index="0" name="eye" type="Vector3"> - "Eye" Position. - </argument> - <argument index="1" name="target" type="Vector3"> - "Target" Position. - </argument> - <argument index="2" name="up" type="Vector3"> - "Up" Normal Vector. - </argument> - <description> - Creates a transform positioned at "eye", looking towards "target". "up" represents the direction where "up" is. This function is useful for setting up cameras. - </description> - </method> - <method name="xform"> - <argument index="0" name="v" type="Vector3"> - </argument> - <return type="Vector3"> - </return> - <description> - Transforms vector "v" by this transform. - </description> - </method> - <method name="xform_inv"> - <argument index="0" name="arg1" type="Vector3"> - </argument> - <return type="Vector3"> - </return> - <description> - Inverse-transforms vector "v" by this transform. - </description> - </method> - <method name="xform_aabb"> - <argument index="0" name="a" type="AABB"> - </argument> - <return type="AABB"> - </return> - <description> - Transforms AABB "a" by this transform. The resulting aabb will often be larger, so succesive transforms are not recommended. - </description> - </method> - <method name="xform_aabb_inv"> - <argument index="0" name="a" type="AABB"> - </argument> - <return type="AABB"> - </return> - <description> - Inverse-transforms AABB "a" by this transform. The resulting aabb will often be larger, so succesive transforms are not recommended. - </description> - </method> - <method name="xform_plane"> - <argument index="0" name="p" type="Plane"> - </argument> - <return type="Plane"> - </return> - <description> - Transform plane "p" by this transform. - </description> - </method> - <method name="xform_plane_inv"> - <argument index="0" name="p" type="Plane"> - </argument> - <return type="Plane"> - </return> - <description> - Inverse-transforms plane "p" by this transform. - </description> - </method> - </methods> - <members> - <member name="basis" type="Matrix3"> - Transform "basis" or OCS. - </member> - <member name="origin" type="Vector3"> - Transform origin. - </member> - <member name="xx" type="real"> - </member> - <member name="xy" type="real"> - </member> - <member name="xz" type="real"> - </member> - <member name="yx" type="real"> - </member> - <member name="yy" type="real"> - </member> - <member name="yz" type="real"> - </member> - <member name="zx" type="real"> - </member> - <member name="zy" type="real"> - </member> - <member name="zz" type="real"> - </member> - <member name="tx" type="real"> - </member> - <member name="ty" type="real"> - </member> - <member name="tz" type="real"> - </member> - - </members> -</class> -<class category="Core" name="Vector2"> - <brief_description> - Vector used for 2D Math. - </brief_description> - <description> - Vector class, which performs basic 2D vector math operations. - </description> - <methods> - <method name="operator+"> - <argument index="0" name="b" type="Vector2"> - </argument> - <return type="Vector2"> - </return> - <description> - Add two vectors. - </description> - </method> - <method name="operator-"> - <argument index="0" name="b" type="Vector2"> - </argument> - <return type="Vector2"> - </return> - <description> - Substract two vectors. - </description> - </method> - <method name="operator/"> - <argument index="0" name="b" type="Vector2"> - </argument> - <return type="Vector2"> - </return> - <description> - Divide two vectors. - </description> - </method> - <method name="operator*"> - <argument index="0" name="b" type="Vector2"> - </argument> - <return type="Vector2"> - </return> - <description> - Multiply two vectors. - </description> - </method> - <method name="length"> - <return type="real"> - </return> - <description> - Returns the length of the vector. - </description> - </method> - <method name="length_squared"> - <return type="real"> - </return> - <description> - Returns the squared length of the vector. - </description> - </method> - <method name="normalize"> - <description> - Normalizes the vector to unit length. - </description> - </method> - <method name="normalized"> - <return type="Vector2"> - </return> - <description> - Returns a normalized vector to unit length. - </description> - </method> - <method name="zero"> - <description> - Sets x and y to 0. - </description> - </method> - <method name="linear_interpolate"> - <argument index="0" name="b" type="Vector2"> - </argument> - <argument index="1" name="i" type="real"> - </argument> - <return type="Vector2"> - </return> - <description> - Returns the result of the linear interpolation between this vector and "b", by amount "i". - </description> - </method> - <method name="dot"> - <argument index="0" name="b" type="Vector2"> - </argument> - <return type="real"> - </return> - <description> - Returns the dot product with vector "b". - </description> - </method> - <method name="distance_to"> - <argument index="0" name="b" type="Vector2"> - </argument> - <return type="real"> - </return> - <description> - Returns the distance to vector "b". - </description> - </method> - <method name="floor"> - <return type="Vector2"> - </return> - <description> - Remove the fractional part of x and y. - </description> - </method> - </methods> - - <members> - <member name="x" type="real"> - </member> - <member name="y" type="real"> - </member> - - </members> -</class> -<class category="Core" name="Rect2"> - <brief_description> - Positioned rectangle in 2D. - </brief_description> - <description> - Rect2 represets a positioned rectangle of position "pos" and "size". - </description> - <methods> - <method name="has_no_area"> - <return type="bool"> - </return> - <description> - Returns "true" if the rectangle has no area. - </description> - </method> - <method name="has_point"> - <argument index="0" name="v" type="Vector2"> - </argument> - <return type="bool"> - </return> - <description> - Returns true if v is contained within the rectangle. - </description> - </method> - <method name="merge"> - <argument index="0" name="b" type="Rect2"> - </argument> - <description> - Extend the rectangle to enclose "b". - </description> - </method> - <method name="clip"> - <argument index="0" name="b" type="Rect2"> - </argument> - <return type="Rect2"> - </return> - <description> - Return the interection with rectangle "b" - </description> - </method> - <method name="grow"> - <argument index="0" name="m" type="Vector2"> - </argument> - <description> - Extend the rectangle margin by "m". - </description> - </method> - </methods> - <members> - <member name="pos" type="Vector2"> - Position of the rectangle. - </member> - <member name="size" type="Vector2"> - Size of the rectangle. - </member> - <member name="x" type="real"> - </member> - <member name="y" type="real"> - </member> - <member name="size_x" type="real"> - </member> - <member name="size_y" type="real"> - </member> - </members> -</class> - -<class category="Core" name="Color"> - <brief_description> - Color in RGBA format. - </brief_description> - <description> - A color is represented as red, green and blue (r,g,b) components. Additionally, "a" represents the alpha component, often used for transparency. - </description> - <methods> - <method name="to_32"> - <return type="real"> - </return> - <description> - Convert the color to a 32 its integer (each byte represets a RGBA). - </description> - </method> - <method name="gray"> - <return type="real"> - </return> - <description> - Convert the color to gray. - </description> - </method> - <method name="get_h"> - <return type="real"> - </return> - <description> - Compute the "hue" of the color. - </description> - </method> - <method name="get_s"> - <return type="real"> - </return> - <description> - Compute the "saturation" of the color. - </description> - </method> - <method name="get_v"> - <return type="real"> - </return> - <description> - Compute the "value" of the color. - </description> - </method> - <method name="set_hsv"> - <argument index="0" name="h" type="real"> - </argument> - <argument index="1" name="s" type="real"> - </argument> - <argument index="2" name="v" type="real"> - </argument> - <description> - Set the color from the HSV format. - </description> - </method> - <method name="invert"> - <description> - Invert the color. - </description> - </method> - <method name="contrast"> - <description> - Contrast the color. - </description> - </method> - <method name="interpolate"> - <argument index="0" name="c" type="Vector3"> - </argument> - <argument index="1" name="i" type="real"> - (0 to 1) - </argument> - <description> - Linearly blend with color "c", by amount "i". - </description> - </method> - </methods> - <members> - <member name="r" type="real"> - Red. - </member> - <member name="g" type="real"> - Green. - </member> - <member name="b" type="real"> - Blue. - </member> - <member name="a" type="real"> - Alpha. - </member> - </members> -</class> -<class category="Core" name="Image"> - <brief_description> - Two Dimensional Image. - </brief_description> - <description> - Image represents a two-dimensional representation of an image, composed by a color per pixel. - </description> - <methods> - <method name="get_width"> - <return type="real"> - </return> - <description> - Returns the width of the image (in pixels). - </description> - </method> - <method name="get_height"> - <return type="real"> - </return> - <description> - Returns the height of the image (in pixels). - </description> - </method> - <method name="get_pixel"> - <argument index="0" name="x" type="int"> - </argument> - <argument index="1" name="y" type="int"> - </argument> - <return type="Color"> - </return> - <description> - Get the color of the pixel at position (x,y). - </description> - </method> - <method name="put_pixel"> - <argument index="0" name="x" type="int"> - </argument> - <argument index="1" name="y" type="int"> - </argument> - <argument index="2" name="color" type="Color"> - </argument> - <description> - Sets the color of the pixel at position (x,y). - </description> - </method> - <method name="convert"> - <argument index="0" name="format" type="int"> - </argument> - <description> - Convert the image to a new format (valid values in the FORMAT_* enumeration). - </description> - </method> - <method name="get_format"> - <return type="int"> - </return> - <description> - Get the image format (valid values in the FORMAT_* enumeration). - </description> - </method> - <method name="resize"> - <argument index="0" name="width" type="int"> - </argument> - <argument index="1" name="height" type="int"> - </argument> - <description> - Resize the image to a new pixel resolution given by width,height. - </description> - </method> - <method name="crop"> - <argument index="0" name="width" type="int"> - </argument> - <argument index="1" name="height" type="int"> - </argument> - <description> - Crop the image to a new pixel resolution given by width,height. - </description> - </method> - <method name="flip_x"> - <description> - Flip the X axis of the image. - </description> - </method> - <method name="flip_y"> - <description> - Flip the Y axis of the image. - </description> - </method> - <method name="make_mipmap"> - <argument index="0" name="source" type="Image"> - </argument> - <description> - Create a mipmap from "source" image. - </description> - </method> - <method name="make_normalmap"> - <argument index="0" name="height_scale" type="real"> - </argument> - <description> - Create a normalmap from "height_scale" image. - </description> - </method> - <method name="create"> - <argument index="0" name="width" type="int"> - </argument> - <argument index="1" name="height" type="int"> - </argument> - <argument index="2" name="format" type="int"> - </argument> - <description> - Create a new image of size width, height and format. - </description> - </method> - <method name="import"> - <argument index="0" name="width" type="int"> - </argument> - <argument index="1" name="height" type="int"> - </argument> - <argument index="2" name="format" type="int"> - </argument> - <argument index="3" name="data" type="RawArray"> - </argument> - <description> - Import an image from raw data, given a specific format. - </description> - </method> - <method name="empty"> - <return type="bool"> - </return> - <description> - Returns true if the image is empty. - </description> - </method> - <method name="load"> - <argument index="0" name="path" type="String"> - </argument> - <return type="Error"> - </return> - <description> - Load an image from a file in "path". - </description> - </method> - </methods> - <constants> - <constant name="FORMAT_GRAYSCALE" value="0"> - </constant> - <constant name="FORMAT_INTENSITY" value="1"> - </constant> - <constant name="FORMAT_GRAYSCALE_ALPHA" value="2"> - </constant> - <constant name="FORMAT_RGB" value="3"> - </constant> - <constant name="FORMAT_RGBA" value="4"> - </constant> - <constant name="FORMAT_INDEXED" value="5"> - </constant> - <constant name="FORMAT_INDEXED_ALPHA" value="6"> - </constant> - </constants> -</class> -<class category="Core" name="RID"> - <brief_description> - Resource ID. - </brief_description> - <description> - RID references a resource, typically created in a server. - </description> - <methods> - <method name="is_valid"> - <return type="bool"> - </return> - <description> - Returns true if the resource is valid. - </description> - </method> - </methods> -</class> -<class category="Core" name="InputEvent"> - <brief_description> - A struct containing information fron an input device. - </brief_description> - <description> - A struct containing information fron an input event, such as mouse, keyboard, joystick, etc. Valid event types are:<br></br> - <list> - <li> InputEvent.NONE </li> - <li> InputEvent.KEY </li> - <li> InputEvent.MOUSE_BUTTON </li> - <li> InputEvent.MOUSE_MOTION </li> - <li> InputEvent.JOYSTICK_MOTION </li> - <li> InputEvent.JOYSTICK_BUTTON </li> - </list> - - </description> - <members> - <member name="ID" type="int"> - Event ID. Every event as a unique ID. - </member> - <member name="type" type="int"> - Event type (check description). - </member> - <member name="device" type="int"> - Device that originated the event. - </member> - <member name="mouse_x" type="int"> - Mouse x position (for mouse events). - </member> - <member name="mouse_y" type="int"> - Mouse y position (for mouse events). - </member> - <member name="mouse_button_mask" type="int"> - State of the mouse buttons as a bitmask (for key and mouse events) - </member> - <member name="mouse_global_x" type="int"> - Global mouse x position (used in GUI Controls). - </member> - <member name="mouse_global_y" type="int"> - Global mouse y position (used in GUI Controls). - </member> - <member name="mouse_pressed" type="bool"> - if MOUSE_BUTTON was a press, this value is true. - </member> - <member name="mouse_doubleclick" type="bool"> - if MOUSE_BUTTON was a doubleclick, this value is true. - </member> - <member name="mouse_button_index" type="int"> - Index of the clicked button (mouse button event). - </member> - <member name="mouse_motion_x" type="int"> - Relative x motion of the mouse (mouse motion event). - </member> - <member name="mouse_motion_y" type="int"> - Relative y motion of the mouse (mouse motion event). - </member> - <member name="mod_alt" type="bool"> - If ALT modifier is pressed, this is true (mouse and key events). - </member> - <member name="mod_shift" type="bool"> - If SHIFT modifier is pressed, this is true (mouse and key events). - </member> - <member name="mod_control" type="bool"> - If CONTROL modifier is pressed, this is true (mouse and key events). - </member> - <member name="mod_meta" type="bool"> - If META modifier (win/apple/etc keys) is pressed, this is true (mouse and key events). - </member> - <member name="key_pressed" type="bool"> - if a KEY event originated from a keypress, this is true. - </member> - <member name="key_echo" type="bool"> - if a KEY event originated from an echo key, this is true. - </member> - <member name="key_unicode" type="int"> - Unicode value of a key pressed (key event). - </member> - <member name="key_scancode" type="Key"> - Scancode of a key pressed (check the KEY_* enumeration) (key event). - </member> - <member name="joy_button_index" type="int"> - Joystick button index (joy button event). - </member> - <member name="joy_button_pressed" type="bool"> - If joystick button was pressed, this is true (joy button event). - </member> - <member name="joy_button_index" type="int"> - Index of the pressed/released joystick button. - </member> - <member name="joy_axis" type="int"> - Axis of a joystick (joy axis event). - </member> - <member name="joy_axis_value" type="real"> - Axis value a joystick, from -1 to 1 (joy axis event). - </member> - </members> - <constants> - <constant name="NONE" value="0"> - Empty input event. - </constant> - <constant name="KEY" value="1"> - Key pressed/released event. - </constant> - <constant name="MOUSE_BUTTON" value="2"> - Mouse button pressed/released event. - </constant> - <constant name="JOYSTICK_MOTION" value="3"> - Joystick axis motion event. - </constant> - <constant name="JOYSTICK_BUTTON" value="4"> - Joystick button press/release event. - </constant> - </constants> - -</class> -<class category="Core" name="FileAccess"> - <brief_description> - File Access Interface. - </brief_description> - <description> - FileAccess provides access to files in the host platform (remote access to files in webserver in the web plugin, as web plugin does not access the local filesystem). - </description> - <methods> - <method name="open"> - <argument index="0" name="path" type="String"> - Path to a file - </argument> - <argument index="1" name="mode" type="int"> - Open mode: FileAccess.READ, FileAccess.WRITE or FileAccess.READ_WRITE - </argument> - <return type="Error"> - Error value (check the ERR_ macro for the meaning of the values) - </return> - <description> - Open a file in a given path. Error is returned if the file can't be opened, is nt found, etc. - </description> - </method> - <method name="close"> - <description> - Closes a currently open file. - </description> - </method> - <method name="is_open"> - <return type="bool"> - </return> - <description> - Returns true if a file is currently open. - </description> - </method> - <method name="seek"> - <argument index="0" name="pos" type="int"> - </argument> - <description> - Seek to a given position (in bytes) in the file. - </description> - </method> - <method name="seek_end"> - <argument index="0" name="pos" type="int"> - </argument> - <description> - Seek to a given position (in bytes) in the file, from the end of the file. - </description> - </method> - <method name="get_pos"> - <return type="int"> - </return> - <description> - Get the current position in the file. - </description> - </method> - <method name="get_len"> - <return type="int"> - </return> - <description> - Get the open file size (in bytes). - </description> - </method> - <method name="eof_reached"> - <return type="bool"> - </return> - <description> - Returns true if EOF was reached (read past end of file). - </description> - </method> - <method name="get_8"> - <return type="int"> - </return> - <description> - Read a byte from the file. - </description> - </method> - <method name="get_16"> - <return type="int"> - </return> - <description> - Read a 16-bits unsigned integer from the file, in little/big endian format. - </description> - </method> - <method name="get_32"> - <return type="int"> - </return> - <description> - Read a 32-bits unsigned integer from the file, in little/big endian format. - </description> - </method> - <method name="set_endian_swap"> - <argument index="0" name="swap" type="bool"> - </argument> - <description> - Change the endian mode for reading sizes larger than a byte (read big endian files). - </description> - </method> - <method name="get_endian_swap"> - <return type="bool"> - </return> - <description> - Return the status of the endian swap. - </description> - </method> - <method name="store_8"> - <argument index="0" name="byte" type="int"> - </argument> - <description> - Store a byte in the file. - </description> - </method> - <method name="store_16"> - <argument index="0" name="word" type="int"> - </argument> - <description> - Store a 16-bits integer in the file. - </description> - </method> - <method name="store_32"> - <argument index="0" name="dword" type="int"> - </argument> - <description> - Store a 32 bits integer in the file. - </description> - </method> - <method name="file_exists"> - <argument index="0" name="path" type="String"> - </argument> - <return type="bool"> - </return> - <description> - Returns true if a given file (in path) exist. - </description> - </method> - </methods> - <constants> - <constant name="READ" value="1"> - </constant> - <constant name="WRITE" value="2"> - </constant> - <constant name="READ_WRITE" value="4"> - </constant> - - </constants> -</class> -<class category="Core" name="Dir"> - <brief_description> - Directory Tree Access Interface. - </brief_description> - <description> - Dir provides access to directories in the host platform (remote access to files in webserver in the web plugin, as web plugin does not access the local filesystem). - </description> - <methods> - <method name="list_dir_begin"> - <return type="bool"> - true if an error ocurred. - </return> - <description> - Begin a directory listing. This is done iteratively due to the positility of directories with a large amount of entries. - </description> - </method> - <method name="get_next"> - <return type="String"> - </return> - <description> - Get the next item. If the return value is empty (""), then the end of the directory has been reached. - </description> - </method> - <method name="current_is_dir"> - <return type="bool"> - </return> - <description> - Returns true if the current item is a directory (not a file). - </description> - </method> - <method name="list_dir_end"> - <description> - End the directory listing. - </description> - </method> - <method name="get_drive_count"> - <return type="int"> - </return> - <description> - Get the amount of drives (windows only, returns 0 on other platforms). - </description> - </method> - <method name="get_drive"> - <argument index="0" name="di" type="int"> - </argument> - <return type="String"> - </return> - <description> - Get the string (or character) representing the drive (such as "C","D",etc). - </description> - </method> - <method name="change_dir"> - <argument index="0" name="dir" type="String"> - </argument> - <return type="bool"> - </return> - <description> - Change the current directory of the dir access. "dir" can be either absolute or relative. - </description> - </method> - <method name="get_current_dir"> - <return type="String"> - </return> - <description> - Get the full path of the current dir. - </description> - </method> - <method name="get_dir_separator"> - <return type="String"> - </return> - <description> - Get the string or character most commonly used as drive separator in the host OS. - </description> - </method> - <method name="make_dir"> - <argument index="0" name="name" type="String"> - </argument> - <return type="bool"> - true on error. - </return> - <description> - Create a new directory. "name" can be either absolute or relative. - </description> - </method> - <method name="file_exists"> - <argument index="0" name="path" type="String"> - </argument> - <return type="bool"> - </return> - <description> - Returns true if a file exist. "path" can be either absolute or relative. - </description> - </method> - <method name="get_space_left"> - <return type="int"> - </return> - <description> - Return the space left on the device, in kilobytes. - </description> - </method> - </methods> -</class> -<class category="Core" name="VideoMode"> - <brief_description> - Video Mode structure. - </brief_description> - <description> - Describes a video mode. - </description> - <members> - <member name="width" type="int"> - </member> - <member name="height" type="int"> - </member> - <member name="fullscreen" type="bool"> - "true" if the video mode is full scren. - </member> - <member name="resizable" type="bool"> - "true" if the video mode can be resized to another video mode. - </member> - </members> -</class> -<class category="Core" name="Date"> - <brief_description> - Date structure. - </brief_description> - <description> - Describes a date. - </description> - <members> - <member name="year" type="int"> - year (integer) - </member> - <member name="day" type="int"> - day of the year - </member> - <member name="weekday" type="int"> - day of the week (0 to 6) - </member> - <member name="month" type="int"> - month of the year (0 to 11) - </member> - <member name="dst" type="bool"> - "true" if daylight savings is enabled. - </member> - </members> -</class> -<class category="Core" name="Time"> - <brief_description> - Current Time. - </brief_description> - <description> - Describes the current time. - </description> - <members> - <member name="hour" type="int"> - (0 to 11) - </member> - <member name="min" type="int"> - (0 to 59) - </member> - <member name="sec" type="int"> - (0 to 59) - </member> - </members> -</class> -<class category="Core" name="OS"> - <brief_description> - Operating System common functions. - </brief_description> - <description> - OS provides access to common host OS functions. "OS" Must not be instanced. All members are static (called like OS.get_name() ). - </description> - <methods> - <method name="alert"> - <argument index="0" name="text" type="String"> - </argument> - <description> - Produce an alert. On OSs such as windows or mac, this may result in a popup dialog. - </description> - </method> - <method name="set_mouse_show"> - <argument index="0" name="show" type="bool"> - </argument> - <description> - Determine the hardware cursor visibility (if available). - </description> - </method> - <method name="set_mouse_grab"> - <argument index="0" name="grab" type="bool"> - </argument> - <description> - Capture the hardware cursor (if available). - </description> - </method> - <method name="is_mouse_grab_enabled"> - <return type="bool"> - </return> - <description> - Returns true if the application is capturing the hardware cursor. - </description> - </method> - <method name="get_name"> - <return type="String"> - </return> - <description> - Get the name of the host OS or Platform. - </description> - </method> - <method name="set_video_mode"> - <argument index="0" name="mode" type="VideoMode"> - </argument> - <description> - Change the current videomode (if available). - </description> - </method> - <method name="get_video_mode"> - <return type="VideoMode"> - </return> - <description> - Get the current videomode. - </description> - </method> - <method name="get_date"> - <return type="Date"> - </return> - <description> - Get the current date. - </description> - </method> - <method name="get_time"> - <return type="Time"> - </return> - <description> - Get the current time. - </description> - </method> - <method name="get_ticks_msec"> - <return type="int"> - </return> - <description> - Get the amount of milliseconds since the app started. - </description> - </method> - <method name="delay_usec"> - <argument index="0" name="usec" type="int"> - </argument> - <description> - Suspend the calling thread for "usec" milliseconds - </description> - </method> - </methods> -</class> -<class category="Core" name="Math"> - <brief_description> - Common math functions. - </brief_description> - <description> - Math provides implementations of commonly used math functions."Math" shouldt not be instanced since all members are static (called like Math.cos() ). - </description> - <methods> - <method name="sin"> - <argument index="0" name="rad" type="real"> - </argument> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="cos"> - <argument index="0" name="rad" type="real"> - </argument> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="tan"> - <argument index="0" name="rad" type="real"> - </argument> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="asin"> - <argument index="0" name="s" type="real"> - </argument> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="acos"> - <argument index="0" name="s" type="real"> - </argument> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="atan2"> - <argument index="0" name="x" type="real"> - </argument> - <argument index="1" name="y" type="real"> - </argument> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="deg2rad"> - <argument index="0" name="deg" type="real"> - </argument> - <return type="real"> - </return> - <description> - Degrees to Radians conversion. - </description> - </method> - <method name="sqrt"> - <argument index="0" name="s" type="real"> - </argument> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="pow"> - <argument index="0" name="base" type="real"> - </argument> - <argument index="1" name="power" type="real"> - </argument> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="exp"> - <argument index="0" name="s" type="real"> - </argument> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="log"> - <argument index="0" name="s" type="real"> - </argument> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="fmod"> - <argument index="0" name="x" type="real"> - </argument> - <argument index="1" name="y" type="real"> - </argument> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="stepify"> - <argument index="0" name="x" type="real"> - </argument> - <argument index="1" name="step" type="real"> - </argument> - <return type="real"> - </return> - <description> - Round to nearest (lowest) value in given step. - </description> - </method> - <method name="floor"> - <argument index="0" name="s" type="real"> - </argument> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="round"> - <argument index="0" name="s" type="real"> - </argument> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="decimals"> - <argument index="0" name="s" type="real"> - </argument> - <return type="int"> - </return> - <description> - Returns the amount of decimals used by "s". - </description> - </method> - <method name="randf"> - <return type="real"> - </return> - <description> - Returns a random number fro 0 to 1 - </description> - </method> - <method name="random"> - <argument index="0" name="min" type="real"> - </argument> - <argument index="1" name="max" type="real"> - </argument> - <return type="real"> - </return> - <description> - Returns a random number between "min" and "max" - </description> - </method> - </methods> - <constants> - <constant name="PI" value="3.14159265358979323846"> - </constant> - </constants> - -</class> -<class category="Core" name="Shell"> - <brief_description> - Shell Execution interface. - </brief_description> - <description> - Shell allows the application to open a given URL in the host OS. It can be anything the host OS understands, from a web page to a media file. - </description> - <methods> - <method name="exec"> - <argument index="0" name="url" type="String"> - </argument> - <description> - Open any URL the host OS understands. - </description> - </method> - </methods> -</class> -<class category="Core" name="ResourceLoader"> - <brief_description> - Resource Loader. - </brief_description> - <description> - ResourceLoader loads resources from disk and returns a resource object. - </description> - <methods> - <method name="load"> - <argument index="0" name="path" type="String"> - </argument> - <return type="Resource"> - null on failure. - </return> - <description> - Open a resource in the given path. - </description> - </method> - </methods> -</class> -<class category="Core" name="SceneLoader"> - <brief_description> - Scene Loader - </brief_description> - <description> - SceneLoader loads scenes from disk and returns a scene node. - </description> - <methods> - <method name="load"> - <argument index="0" name="path" type="String"> - </argument> - <return type="Node"> - A scene node, null on error. - </return> - <description> - Load a scene from disk at given "path" and return a node object. - </description> - </method> - </methods> -</class> -<class category="Core" name="Object"> - <brief_description> - Base class for the Object Model. - </brief_description> - <description> - Object is the building block of most of the high level engine interfaces. The "Object" interface contains a reference to an actual internal Object. - Usually, Object memory should not be managed by the API, as resources will be fred automatically when not in use and nodes are deleted by their parent nodes. - </description> - <methods> - <method name="free"> - <description> - Free the Object reference. This should not be used with nodes inside a scene tree, as they are removed by their parent node. This function can also be used to unreference resources. - </description> - </method> - <method name="get_type"> - <return type="String"> - </return> - <description> - Get a string with the type name of the object. - </description> - </method> - <method name="has_instance"> - <return type="bool"> - </return> - <description> - Returns true if the Object datatype contains a reference to an actual object instance. - </description> - </method> - <method name="get_instance_ID"> - <return type="bool"> - </return> - <description> - Return the instance ID of the object. Every Object has a unique instance ID. - </description> - </method> - <method name="is_type" qualifiers="const" > - <return type="bool" > - </return> - <argument index="0" name="type" type="String" > - </argument> - <description> - Return true if the type of the object class (or any base clases) match "type. - </description> - </method> - <method name="set" > - <argument index="0" name="property" type="String" > - </argument> - <argument index="1" name="value" type="var" > - </argument> - <description> - Set a property "property", with any value "value. This function can be inherited with "_set" (but base class "_set" will still be called). - </description> - </method> - <method name="get" qualifiers="const" > - <return type="var" > - </return> - <argument index="0" name="property" type="String" > - </argument> - <description> - Return a property "property". This function can be inherited with "_get" (but base class "_get" will still be called). - </description> - </method> - <method name="notification" > - <argument index="0" name="what" type="int" > - </argument> - <argument index="1" name="reverse" type="bool" default="false" > - </argument> - <description> - Perform a notification. Notifications are quick ways to tell an Object that something happened or changed regarding it's state and surroundings. This function can be inherited with "_notification" (but base class "_notification" will still be called). - </description> - </method> - <method name="set_script" > - <argument index="0" name="script" type="RefPtr" > - </argument> - <description> - Set the script of the object. Any object can contain a script. Scripts behave as if they inherited the object they are set to - </description> - </method> - <method name="get_script" qualifiers="const" > - <return type="RefPtr" > - </return> - <description> - Return the script of the object. Any object can contain a script. Scripts behave as if they inherited the object they are set to - </description> - </method> - <method name="set_meta" > - <argument index="0" name="name" type="String" > - </argument> - <description> - Set a meta property. Meta properties are just containers for setting and retrieving any custom data to an object. Metaproperties are also saved with the object. - </description> - </method> - <method name="get_meta" qualifiers="const" > - <argument index="0" name="name" type="String" > - </argument> - <description> - Return a meta property. Meta properties are just containers for setting and retrieving any custom data to an object. Metaproperties are also saved with the object. - </description> - </method> - <method name="has_meta" qualifiers="const" > - <return type="bool" > - </return> - <argument index="0" name="name" type="String" > - </argument> - <description> - Return wether an object has a meta property. Meta properties are just containers for setting and retrieving any custom data to an object. Metaproperties are also saved with the object. - </description> - </method> - <method name="get_meta_list" qualifiers="const" > - <return type="StringArray" > - </return> - <description> - Return the list of meta properties in the object. Meta properties are just containers for setting and retrieving any custom data to an object. Metaproperties are also saved with the object. - </description> - </method> - <method name="call" > - <argument index="0" name="method" type="String" > - </argument> - <description> - Call any method in the object (syntax: call("method", .. arguments..). - </description> - </method> - </methods> - <constants> - <constant name="NOTIFICATION_POSTINITIALIZE" value="0"> - This notification is called right after the object is done initializing - </constant> - <constant name="NOTIFICATION_PREDELETE" value="1"> - This notification is called right before the object will e deleted. - </constant> - </constants> -</class> -<class category="Core" name="Key"> - <brief_description> - All Symbolic Key Names - </brief_description> - <description> - Key is an enumaration containing the constants for all the symbolic key names. They are used directly (not with Key. prefix). This value is used in the "scancode" field of the "KEY" InputEvent. - </description> - <constants> - <constant name="SPKEY">Special Key Mask</constant> - <constant name="KEY_ESCAPE"></constant> - <constant name="KEY_TAB"></constant> - <constant name="KEY_BACKTAB"></constant> - <constant name="KEY_BACKSPACE"></constant> - <constant name="KEY_RETURN"></constant> - <constant name="KEY_ENTER"></constant> - <constant name="KEY_INSERT"></constant> - <constant name="KEY_DELETE"></constant> - <constant name="KEY_PAUSE"></constant> - <constant name="KEY_PRINT"></constant> - <constant name="KEY_SYSREQ"></constant> - <constant name="KEY_CLEAR"></constant> - <constant name="KEY_HOME"></constant> - <constant name="KEY_END"></constant> - <constant name="KEY_LEFT"></constant> - <constant name="KEY_UP"></constant> - <constant name="KEY_RIGHT"></constant> - <constant name="KEY_DOWN"></constant> - <constant name="KEY_PAGEUP"></constant> - <constant name="KEY_PAGEDOWN"></constant> - <constant name="KEY_SHIFT"></constant> - <constant name="KEY_CONTROL"></constant> - <constant name="KEY_META"></constant> - <constant name="KEY_ALT"></constant> - <constant name="KEY_CAPSLOCK"></constant> - <constant name="KEY_NUMLOCK"></constant> - <constant name="KEY_SCROLLLOCK"></constant> - <constant name="KEY_F1"></constant> - <constant name="KEY_F2"></constant> - <constant name="KEY_F3"></constant> - <constant name="KEY_F4"></constant> - <constant name="KEY_F5"></constant> - <constant name="KEY_F6"></constant> - <constant name="KEY_F7"></constant> - <constant name="KEY_F8"></constant> - <constant name="KEY_F9"></constant> - <constant name="KEY_F10"></constant> - <constant name="KEY_F11"></constant> - <constant name="KEY_F12"></constant> - <constant name="KEY_F13"></constant> - <constant name="KEY_F14"></constant> - <constant name="KEY_F15"></constant> - <constant name="KEY_F16"></constant> - <constant name="KEY_KP_ENTER"></constant> - <constant name="KEY_KP_MULTIPLY"></constant> - <constant name="KEY_KP_DIVIDE"></constant> - <constant name="KEY_KP_SUBSTRACT"></constant> - <constant name="KEY_KP_PERIOD"></constant> - <constant name="KEY_KP_ADD"></constant> - <constant name="KEY_KP_0"></constant> - <constant name="KEY_KP_1"></constant> - <constant name="KEY_KP_2"></constant> - <constant name="KEY_KP_3"></constant> - <constant name="KEY_KP_4"></constant> - <constant name="KEY_KP_5"></constant> - <constant name="KEY_KP_6"></constant> - <constant name="KEY_KP_7"></constant> - <constant name="KEY_KP_8"></constant> - <constant name="KEY_KP_9"></constant> - <constant name="KEY_SUPER_L"></constant> - <constant name="KEY_SUPER_R"></constant> - <constant name="KEY_MENU"></constant> - <constant name="KEY_HYPER_L"></constant> - <constant name="KEY_HYPER_R"></constant> - <constant name="KEY_HELP"></constant> - <constant name="KEY_DIRECTION_L"></constant> - <constant name="KEY_DIRECTION_R"></constant> - <constant name="KEY_BACK"></constant> - <constant name="KEY_FORWARD"></constant> - <constant name="KEY_STOP"></constant> - <constant name="KEY_REFRESH"></constant> - <constant name="KEY_VOLUMEDOWN"></constant> - <constant name="KEY_VOLUMEMUTE"></constant> - <constant name="KEY_VOLUMEUP"></constant> - <constant name="KEY_BASSBOOST"></constant> - <constant name="KEY_BASSUP"></constant> - <constant name="KEY_BASSDOWN"></constant> - <constant name="KEY_TREBLEUP"></constant> - <constant name="KEY_TREBLEDOWN"></constant> - <constant name="KEY_MEDIAPLAY"></constant> - <constant name="KEY_MEDIASTOP"></constant> - <constant name="KEY_MEDIAPREVIOUS"></constant> - <constant name="KEY_MEDIANEXT"></constant> - <constant name="KEY_MEDIARECORD"></constant> - <constant name="KEY_HOMEPAGE"></constant> - <constant name="KEY_FAVORITES"></constant> - <constant name="KEY_SEARCH"></constant> - <constant name="KEY_STANDBY"></constant> - <constant name="KEY_OPENURL"></constant> - <constant name="KEY_LAUNCHMAIL"></constant> - <constant name="KEY_LAUNCHMEDIA"></constant> - <constant name="KEY_LAUNCH0"></constant> - <constant name="KEY_LAUNCH1"></constant> - <constant name="KEY_LAUNCH2"></constant> - <constant name="KEY_LAUNCH3"></constant> - <constant name="KEY_LAUNCH4"></constant> - <constant name="KEY_LAUNCH5"></constant> - <constant name="KEY_LAUNCH6"></constant> - <constant name="KEY_LAUNCH7"></constant> - <constant name="KEY_LAUNCH8"></constant> - <constant name="KEY_LAUNCH9"></constant> - <constant name="KEY_LAUNCHA"></constant> - <constant name="KEY_LAUNCHB"></constant> - <constant name="KEY_LAUNCHC"></constant> - <constant name="KEY_LAUNCHD"></constant> - <constant name="KEY_LAUNCHE"></constant> - <constant name="KEY_LAUNCHF"></constant> - - <constant name="KEY_UNKNOWN"></constant> - <constant name="KEY_SPACE"></constant> - <constant name="KEY_EXCLAM"></constant> - <constant name="KEY_QUOTEDBL"></constant> - <constant name="KEY_NUMBERSIGN"></constant> - <constant name="KEY_DOLLAR"></constant> - <constant name="KEY_PERCENT"></constant> - <constant name="KEY_AMPERSAND"></constant> - <constant name="KEY_APOSTROPHE"></constant> - <constant name="KEY_PARENLEFT"></constant> - <constant name="KEY_PARENRIGHT"></constant> - <constant name="KEY_ASTERISK"></constant> - <constant name="KEY_PLUS"></constant> - <constant name="KEY_COMMA"></constant> - <constant name="KEY_MINUS"></constant> - <constant name="KEY_PERIOD"></constant> - <constant name="KEY_SLASH"></constant> - <constant name="KEY_0"></constant> - <constant name="KEY_1"></constant> - <constant name="KEY_2"></constant> - <constant name="KEY_3"></constant> - <constant name="KEY_4"></constant> - <constant name="KEY_5"></constant> - <constant name="KEY_6"></constant> - <constant name="KEY_7"></constant> - <constant name="KEY_8"></constant> - <constant name="KEY_9"></constant> - <constant name="KEY_COLON"></constant> - <constant name="KEY_SEMICOLON"></constant> - <constant name="KEY_LESS"></constant> - <constant name="KEY_EQUAL"></constant> - <constant name="KEY_GREATER"></constant> - <constant name="KEY_QUESTION"></constant> - <constant name="KEY_AT"></constant> - <constant name="KEY_A"></constant> - <constant name="KEY_B"></constant> - <constant name="KEY_C"></constant> - <constant name="KEY_D"></constant> - <constant name="KEY_E"></constant> - <constant name="KEY_F"></constant> - <constant name="KEY_G"></constant> - <constant name="KEY_H"></constant> - <constant name="KEY_I"></constant> - <constant name="KEY_J"></constant> - <constant name="KEY_K"></constant> - <constant name="KEY_L"></constant> - <constant name="KEY_M"></constant> - <constant name="KEY_N"></constant> - <constant name="KEY_O"></constant> - <constant name="KEY_P"></constant> - <constant name="KEY_Q"></constant> - <constant name="KEY_R"></constant> - <constant name="KEY_S"></constant> - <constant name="KEY_T"></constant> - <constant name="KEY_U"></constant> - <constant name="KEY_V"></constant> - <constant name="KEY_W"></constant> - <constant name="KEY_X"></constant> - <constant name="KEY_Y"></constant> - <constant name="KEY_Z"></constant> - <constant name="KEY_BRACKETLEFT"></constant> - <constant name="KEY_BACKSLASH"></constant> - <constant name="KEY_BRACKETRIGHT"></constant> - <constant name="KEY_ASCIICIRCUM"></constant> - <constant name="KEY_UNDERSCORE"></constant> - <constant name="KEY_QUOTELEFT"></constant> - <constant name="KEY_BRACELEFT"></constant> - <constant name="KEY_BAR"></constant> - <constant name="KEY_BRACERIGHT"></constant> - <constant name="KEY_ASCIITILDE"></constant> - <constant name="KEY_NOBREAKSPACE"></constant> - <constant name="KEY_EXCLAMDOWN"></constant> - <constant name="KEY_CENT"></constant> - <constant name="KEY_STERLING"></constant> - <constant name="KEY_CURRENCY"></constant> - <constant name="KEY_YEN"></constant> - <constant name="KEY_BROKENBAR"></constant> - <constant name="KEY_SECTION"></constant> - <constant name="KEY_DIAERESIS"></constant> - <constant name="KEY_COPYRIGHT"></constant> - <constant name="KEY_ORDFEMININE"></constant> - <constant name="KEY_GUILLEMOTLEFT"></constant> - <constant name="KEY_NOTSIGN"></constant> - <constant name="KEY_HYPHEN"></constant> - <constant name="KEY_REGISTERED"></constant> - <constant name="KEY_MACRON"></constant> - <constant name="KEY_DEGREE"></constant> - <constant name="KEY_PLUSMINUS"></constant> - <constant name="KEY_TWOSUPERIOR"></constant> - <constant name="KEY_THREESUPERIOR"></constant> - <constant name="KEY_ACUTE"></constant> - <constant name="KEY_MU"></constant> - <constant name="KEY_PARAGRAPH"></constant> - <constant name="KEY_PERIODCENTERED"></constant> - <constant name="KEY_CEDILLA"></constant> - <constant name="KEY_ONESUPERIOR"></constant> - <constant name="KEY_MASCULINE"></constant> - <constant name="KEY_GUILLEMOTRIGHT"></constant> - <constant name="KEY_ONEQUARTER"></constant> - <constant name="KEY_ONEHALF"></constant> - <constant name="KEY_THREEQUARTERS"></constant> - <constant name="KEY_QUESTIONDOWN"></constant> - <constant name="KEY_AGRAVE"></constant> - <constant name="KEY_AACUTE"></constant> - <constant name="KEY_ACIRCUMFLEX"></constant> - <constant name="KEY_ATILDE"></constant> - <constant name="KEY_ADIAERESIS"></constant> - <constant name="KEY_ARING"></constant> - <constant name="KEY_AE"></constant> - <constant name="KEY_CCEDILLA"></constant> - <constant name="KEY_EGRAVE"></constant> - <constant name="KEY_EACUTE"></constant> - <constant name="KEY_ECIRCUMFLEX"></constant> - <constant name="KEY_EDIAERESIS"></constant> - <constant name="KEY_IGRAVE"></constant> - <constant name="KEY_IACUTE"></constant> - <constant name="KEY_ICIRCUMFLEX"></constant> - <constant name="KEY_IDIAERESIS"></constant> - <constant name="KEY_ETH"></constant> - <constant name="KEY_NTILDE"></constant> - <constant name="KEY_OGRAVE"></constant> - <constant name="KEY_OACUTE"></constant> - <constant name="KEY_OCIRCUMFLEX"></constant> - <constant name="KEY_OTILDE"></constant> - <constant name="KEY_ODIAERESIS"></constant> - <constant name="KEY_MULTIPLY"></constant> - <constant name="KEY_OOBLIQUE"></constant> - <constant name="KEY_UGRAVE"></constant> - <constant name="KEY_UACUTE"></constant> - <constant name="KEY_UCIRCUMFLEX"></constant> - <constant name="KEY_UDIAERESIS"></constant> - <constant name="KEY_YACUTE"></constant> - <constant name="KEY_THORN"></constant> - <constant name="KEY_SSHARP"></constant> - - <constant name="KEY_DIVISION"></constant> - <constant name="KEY_YDIAERESIS"></constant> - - <constant name="KEY_CODE_MASK"></constant> - <constant name="KEY_MODIFIER_MASK"></constant> - - <constant name="KEY_MASK_SHIFT"></constant> - <constant name="KEY_MASK_ALT"></constant> - <constant name="KEY_MASK_META"></constant> - <constant name="KEY_MASK_CTRL"></constant> - <constant name="KEY_MASK_KPAD"></constant> - <constant name="KEY_MASK_GROUP_SWITCH"></constant> - - </constants> -</class> -<class category="Core" name="PropertyHint"> - <brief_description> - Property Hints. - </brief_description> - <description> - PropertyHint hints editors on how to edit a property. In many cases, hint_string (in the PropertyInfo) will contain extra data. These constants are used globally ("PropertyHint" class doesn't exist"). - </description> - <constants> - <constant name="PROPERTY_HINT_NONE"></constant> - <constant name="PROPERTY_HINT_RANGE">Hint_string defined as "min,max,step - "</constant> - <constant name="PROPERTY_HINT_ENUM">Values such as 0,1,2 are represented in hint_string as "A,B,C"</constant> - <constant name="PROPERTY_HINT_LENGTH">hint_string is the length of an array type.</constant> - <constant name="PROPERTY_HINT_FLAGS">Flags names are in hint_string from MSB to LSB as "flag8,fla7,flag6,,,,flag1"</constant> - <constant name="PROPERTY_HINT_PATH">Property is a path.</constant> - <constant name="PROPERTY_HINT_FILE">Property is a path to a file.</constant> - <constant name="PROPERTY_HINT_DIR">Property is a path to a dir.</constant> - <constant name="PROPERTY_HINT_RESOURCE_TYPE">hint_string contains the valid resource types the property accept (separated by ",").</constant> - </constants> -</class> -<class category="Core" name="PropertyUsage"> - <brief_description> - Usage for an object property. - </brief_description> - <description> - PropertyUsage defines a list of (inclusive) usages that can be ORed together to specify how the property will be treated in different scenarios. These constants are used globally ("PropertyUsage" class doesn't exist"). - </description> - <constants> - <constant name="PROPERTY_USAGE_STORAGE"> Property is Saved/Loaded from disk.</constant> - <constant name="PROPERTY_USAGE_EDITOR">Property is visible in editor (for editing).</constant> - <constant name="PROPERTY_USAGE_NETWORK">Property can be syncronized on network.</constant> - <constant name="PROPERTY_USAGE_DEFAULT">Default usage.</constant> - </constants> -</class> -<class category="Core" name="Type"> - <brief_description> - Valid Data Types. - </brief_description> - <description> - Type consists of a list of valid types. It is usually used for property type hinting. These constants are used globally ("Type" class doesn't exist"). - </description> - <constants> - <constant name="TYPE_NIL"></constant> - <constant name="TYPE_BOOL"></constant> - <constant name="TYPE_INT"></constant> - <constant name="TYPE_REAL"></constant> - <constant name="TYPE_STRING"></constant> - <constant name="TYPE_VECTOR2"></constant> - <constant name="TYPE_RECT2"></constant> - <constant name="TYPE_VECTOR3"></constant> - <constant name="TYPE_PLANE"></constant> - <constant name="TYPE_QUAT"></constant> - <constant name="TYPE_AABB"></constant> - <constant name="TYPE_MATRIX3"></constant> - <constant name="TYPE_TRANSFORM"></constant> - <constant name="TYPE_COLOR"></constant> - <constant name="TYPE_IMAGE"></constant> - <constant name="TYPE_NODE_PATH"></constant> - <constant name="TYPE_RESOURCE"></constant> - <constant name="TYPE_RID"></constant> - <constant name="TYPE_OBJECT"></constant> - <constant name="TYPE_INPUT_EVENT"></constant> - <constant name="TYPE_DICTIONARY"></constant> - <constant name="TYPE_ARRAY"></constant> - <constant name="TYPE_RAW_ARRAY"></constant> - <constant name="TYPE_INT_ARRAY"></constant> - <constant name="TYPE_REAL_ARRAY"></constant> - <constant name="TYPE_STRING_ARRAY"></constant> - <constant name="TYPE_VECTOR3_ARRAY"></constant> - <constant name="TYPE_COLOR_ARRAY"></constant> - </constants> -</class> - - -<class category="Core" name="Error"> - <brief_description> - List of generic errors. - </brief_description> - <description> - Error is a list of generic errors - </description> - <constants> - <constant name="OK"></constant> - <constant name="FAILED"> Generic fail error</constant> - <constant name="ERR_UNAVAILABLE"> What is requested is unsupported/unavailable</constant> - <constant name="ERR_UNCONFIGURED"> The object being used hasnt been properly set up yet</constant> - <constant name="ERR_UNAUTHORIZED"> Missing credentials for requested resource</constant> - <constant name="ERR_PARAMETER_RANGE_ERROR"> Parameter given out of range</constant> - <constant name="ERR_OUT_OF_MEMORY"> Out of memory</constant> - <constant name="ERR_FILE_NOT_FOUND"></constant> - <constant name="ERR_FILE_BAD_DRIVE"></constant> - <constant name="ERR_FILE_BAD_PATH"></constant> - <constant name="ERR_FILE_NO_PERMISSION"></constant> - <constant name="ERR_FILE_ALREADY_IN_USE"></constant> - <constant name="ERR_FILE_CANT_OPEN"></constant> - <constant name="ERR_FILE_CANT_WRITE"></constant> - <constant name="ERR_FILE_CANT_READ"></constant> - <constant name="ERR_FILE_UNRECOGNIZED"></constant> - <constant name="ERR_FILE_CORRUPT"></constant> - <constant name="ERR_FILE_EOF"></constant> - <constant name="ERR_CANT_OPEN"> Can't open a resource/socket/file</constant> - <constant name="ERR_CANT_CREATE"></constant> - <constant name="ERROR_QUERY_FAILED"></constant> - <constant name="ERR_ALREADY_IN_USE"></constant> - <constant name="ERR_LOCKED"> resource is locked</constant> - <constant name="ERR_TIMEOUT"></constant> - <constant name="ERR_CANT_AQUIRE_RESOURCE"></constant> - <constant name="ERR_INVALID_DATA"> Data passed is invalid</constant> - <constant name="ERR_INVALID_PARAMETER"> Parameter passed is invalid</constant> - <constant name="ERR_ALREADY_EXISTS"> When adding"> item already exists</constant> - <constant name="ERR_DOES_NOT_EXIST"> When retrieving/erasing"> it item does not exist</constant> - <constant name="ERR_DATABASE_CANT_READ"> database is full</constant> - <constant name="ERR_DATABASE_CANT_WRITE"> database is full</constant> - <constant name="ERR_COMPILATION_FAILED"></constant> - <constant name="ERR_METHOD_NOT_FOUND"></constant> - <constant name="ERR_LINK_FAILED"></constant> - <constant name="ERR_SCRIPT_FAILED"></constant> - <constant name="ERR_CYCLIC_LINK"></constant> - <constant name="ERR_BUSY"></constant> - <constant name="ERR_HELP"> user requested help!!</constant> - <constant name="ERR_BUG"> a bug in the software certainly happeneddue to a double check failing or unexpected behavior.</constant> - <constant name="ERR_WTF "> an impossible to trigger check due to paranoid programmer was triggered</constant> - </constants> -</class> -</doc> - - diff --git a/doc/deferred_format.txt b/doc/deferred_format.txt deleted file mode 100644 index 76a158a3ce..0000000000 --- a/doc/deferred_format.txt +++ /dev/null @@ -1,33 +0,0 @@ -deferred: - -ar ag ab gl - accumulation RGB + glow - -nx ny mx my? - normal, motion -dr dg db sm - diffuse, shademodel -sr sg sb sp - specular OR shadeparams - -ar ag ab gl -nx ny sp sp -dr dg db se -444 6 -se can be 6 bits, 2 for shade model - -shade models: - -0 - none -1 - wrap -2 - toon -3 - fresne - - - -sp: 2 bits what - 6 bits param - -16 - - - - - - - diff --git a/doc/demos.txt b/doc/demos.txt deleted file mode 100644 index cf56a5cbc6..0000000000 --- a/doc/demos.txt +++ /dev/null @@ -1,40 +0,0 @@ --Oceano --Portales --Grilla --Personaje --Auto (?) --Fisica --Fisica Idle --Low level APIS (Server) --Sonido Posicional --Custom Shaders --HDR --Trees Waving --luces --fixed material --shader material --synctoaudio speech and speex --particulas con gif animados para mostrar que es cada parametro --soporte de syntax hilight de gdscript para editores mas comunes --instanciar enemigos usando duplicate --simulated motion con animacion --animation player controla otro animation player (tipo camina de lugar a otro y saluda) --corutinas y loops con yield para animation, audio, etc --CCD (bullets) - --custom gizmos, editor plugins en script - -Clases que necesitan tutorial. - -Animation/AnimationPlayer -Area2D (space override, notifications) -custom container demo -custon drawing in a canvas item -ignore mouse on top of button -input in a game, with _unhandled_input -demo containers -Control, anchors e input event handling -lots of 2D physics examples -dictionary and array doc of passing by reference? - - diff --git a/doc/engine_classes.xml b/doc/engine_classes.xml deleted file mode 100644 index 43602e26e9..0000000000 --- a/doc/engine_classes.xml +++ /dev/null @@ -1,17940 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" ?> -<doc version="0.99.2555-pre-beta" name="Engine Types"> -<class name="AcceptDialog" inherits="WindowDialog" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="get_ok"> - <return type="Object"> - </return> - <description> - </description> - </method> - <method name="get_label"> - <return type="Object"> - </return> - <description> - </description> - </method> - <method name="set_hide_on_ok"> - <argument index="0" name="enabled" type="bool"> - </argument> - <description> - </description> - </method> - <method name="get_hide_on_ok" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="add_button"> - <return type="Button"> - </return> - <argument index="0" name="text" type="String" default=""""> - </argument> - <description> - </description> - </method> - <method name="add_cancel"> - <return type="Button"> - </return> - <argument index="0" name="name" type="String"> - </argument> - <description> - </description> - </method> - <method name="register_text_enter"> - <argument index="0" name="line_edit" type="Object"> - </argument> - <description> - </description> - </method> - <method name="set_text"> - <argument index="0" name="text" type="String"> - </argument> - <description> - </description> - </method> - <method name="get_text" qualifiers="const"> - <return type="String"> - </return> - <description> - </description> - </method> - </methods> - <signals> - <signal name="confirmed"> - <description> - </description> - </signal> - <signal name="custom_action"> - <argument index="0" name="action" type="String"> - </argument> - <description> - </description> - </signal> - </signals> - <constants> - </constants> -</class> -<class name="Animation" inherits="Resource" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="add_track"> - <return type="int"> - </return> - <argument index="0" name="type" type="int"> - </argument> - <argument index="1" name="at_pos" type="int" default="-1"> - </argument> - <description> - </description> - </method> - <method name="remove_track"> - <argument index="0" name="idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_track_count" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="track_get_type" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="track_get_path" qualifiers="const"> - <return type="NodePath"> - </return> - <argument index="0" name="idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="track_set_path"> - <argument index="0" name="idx" type="int"> - </argument> - <argument index="1" name="path" type="NodePath"> - </argument> - <description> - </description> - </method> - <method name="track_move_up"> - <argument index="0" name="idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="track_move_down"> - <argument index="0" name="idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="transform_track_insert_key"> - <return type="int"> - </return> - <argument index="0" name="idx" type="int"> - </argument> - <argument index="1" name="time" type="real"> - </argument> - <argument index="2" name="loc" type="Vector3"> - </argument> - <argument index="3" name="rot" type="Quat"> - </argument> - <argument index="4" name="scale" type="Vector3"> - </argument> - <description> - </description> - </method> - <method name="track_insert_key"> - <argument index="0" name="idx" type="int"> - </argument> - <argument index="1" name="time" type="real"> - </argument> - <argument index="2" name="key" type="var"> - </argument> - <argument index="3" name="transition" type="real" default="1"> - </argument> - <description> - </description> - </method> - <method name="track_remove_key"> - <argument index="0" name="idx" type="int"> - </argument> - <argument index="1" name="key_idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="track_remove_key_at_pos"> - <argument index="0" name="idx" type="int"> - </argument> - <argument index="1" name="pos" type="real"> - </argument> - <description> - </description> - </method> - <method name="track_set_key_value"> - <argument index="0" name="idx" type="int"> - </argument> - <argument index="1" name="key" type="int"> - </argument> - <argument index="2" name="value" type="var"> - </argument> - <description> - </description> - </method> - <method name="track_set_key_transition"> - <argument index="0" name="idx" type="int"> - </argument> - <argument index="1" name="key_idx" type="int"> - </argument> - <argument index="2" name="transition" type="real"> - </argument> - <description> - </description> - </method> - <method name="track_get_key_transition" qualifiers="const"> - <return type="real"> - </return> - <argument index="0" name="idx" type="int"> - </argument> - <argument index="1" name="key_idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="track_get_key_count" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="track_get_key_value" qualifiers="const"> - <argument index="0" name="idx" type="int"> - </argument> - <argument index="1" name="key_idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="track_get_key_time" qualifiers="const"> - <return type="real"> - </return> - <argument index="0" name="idx" type="int"> - </argument> - <argument index="1" name="key_idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="track_find_key" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="idx" type="int"> - </argument> - <argument index="1" name="time" type="real"> - </argument> - <argument index="2" name="exact" type="bool" default="false"> - </argument> - <description> - </description> - </method> - <method name="track_set_interpolation_type"> - <argument index="0" name="idx" type="int"> - </argument> - <argument index="1" name="interpolation" type="int"> - </argument> - <description> - </description> - </method> - <method name="track_get_interpolation_type" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="transform_track_interpolate" qualifiers="const"> - <return type="Array"> - </return> - <argument index="0" name="idx" type="int"> - </argument> - <argument index="1" name="time_sec" type="real"> - </argument> - <description> - </description> - </method> - <method name="value_track_set_continuous"> - <argument index="0" name="idx" type="int"> - </argument> - <argument index="1" name="continuous" type="bool"> - </argument> - <description> - </description> - </method> - <method name="value_track_is_continuous" qualifiers="const"> - <return type="bool"> - </return> - <argument index="0" name="idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="value_track_get_key_indices" qualifiers="const"> - <return type="IntArray"> - </return> - <argument index="0" name="idx" type="int"> - </argument> - <argument index="1" name="time_sec" type="real"> - </argument> - <argument index="2" name="delta" type="real"> - </argument> - <description> - </description> - </method> - <method name="method_track_get_key_indices" qualifiers="const"> - <return type="IntArray"> - </return> - <argument index="0" name="idx" type="int"> - </argument> - <argument index="1" name="time_sec" type="real"> - </argument> - <argument index="2" name="delta" type="real"> - </argument> - <description> - </description> - </method> - <method name="method_track_get_name" qualifiers="const"> - <return type="String"> - </return> - <argument index="0" name="idx" type="int"> - </argument> - <argument index="1" name="key_idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="method_track_get_params" qualifiers="const"> - <return type="Array"> - </return> - <argument index="0" name="idx" type="int"> - </argument> - <argument index="1" name="key_idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="set_length"> - <argument index="0" name="time_sec" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_length" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="set_loop"> - <argument index="0" name="enabled" type="bool"> - </argument> - <description> - </description> - </method> - <method name="has_loop" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="clear"> - <description> - </description> - </method> - </methods> - <constants> - <constant name="TYPE_TRANSFORM" value="0"> - </constant> - <constant name="TYPE_VALUE" value="1"> - </constant> - <constant name="TYPE_METHOD" value="2"> - </constant> - <constant name="INTERPOLATION_NEAREST" value="0"> - </constant> - <constant name="INTERPOLATION_LINEAR" value="1"> - </constant> - <constant name="INTERPOLATION_CUBIC" value="2"> - </constant> - </constants> -</class> -<class name="AnimationPlayer" inherits="Node" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="add_animation"> - <return type="int"> - </return> - <argument index="0" name="name" type="String"> - </argument> - <argument index="1" name="animation" type="Animation"> - </argument> - <description> - </description> - </method> - <method name="remove_animation"> - <argument index="0" name="name" type="String"> - </argument> - <description> - </description> - </method> - <method name="rename_animation"> - <argument index="0" name="name" type="String"> - </argument> - <argument index="1" name="newname" type="String"> - </argument> - <description> - </description> - </method> - <method name="has_animation" qualifiers="const"> - <return type="bool"> - </return> - <argument index="0" name="name" type="String"> - </argument> - <description> - </description> - </method> - <method name="get_animation" qualifiers="const"> - <return type="Animation"> - </return> - <argument index="0" name="name" type="String"> - </argument> - <description> - </description> - </method> - <method name="get_animation_list" qualifiers="const"> - <return type="StringArray"> - </return> - <description> - </description> - </method> - <method name="set_blend_time"> - <argument index="0" name="anim_from" type="String"> - </argument> - <argument index="1" name="anim_to" type="String"> - </argument> - <argument index="2" name="sec" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_blend_time" qualifiers="const"> - <return type="real"> - </return> - <argument index="0" name="anim_from" type="String"> - </argument> - <argument index="1" name="anim_to" type="String"> - </argument> - <description> - </description> - </method> - <method name="play"> - <argument index="0" name="name" type="String" default=""""> - </argument> - <description> - </description> - </method> - <method name="stop"> - <description> - </description> - </method> - <method name="stop_all"> - <description> - </description> - </method> - <method name="is_playing" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="set_current_animation"> - <argument index="0" name="anim" type="String"> - </argument> - <description> - </description> - </method> - <method name="get_current_animation" qualifiers="const"> - <return type="String"> - </return> - <description> - </description> - </method> - <method name="queue"> - <argument index="0" name="name" type="String"> - </argument> - <description> - </description> - </method> - <method name="set_pause"> - <argument index="0" name="paused" type="bool"> - </argument> - <description> - </description> - </method> - <method name="is_paused" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="set_speed"> - <argument index="0" name="speed" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_speed" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="set_autoplay"> - <argument index="0" name="name" type="String"> - </argument> - <description> - </description> - </method> - <method name="get_autoplay" qualifiers="const"> - <return type="String"> - </return> - <description> - </description> - </method> - <method name="seek"> - <argument index="0" name="pos_sec" type="real"> - </argument> - <argument index="1" name="update" type="bool" default="false"> - </argument> - <description> - </description> - </method> - <method name="get_pos" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="find_animation" qualifiers="const"> - <return type="String"> - </return> - <argument index="0" name="animation" type="Animation"> - </argument> - <description> - </description> - </method> - <method name="clear_caches"> - <description> - </description> - </method> - <method name="set_animation_process_mode"> - <argument index="0" name="mode" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_animation_process_mode" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - </methods> - <signals> - <signal name="finished"> - <description> - </description> - </signal> - </signals> - <constants> - <constant name="ANIMATION_PROCESS_FIXED" value="0"> - </constant> - <constant name="ANIMATION_PROCESS_IDLE" value="1"> - </constant> - </constants> -</class> -<class name="AnimationTreePlayer" inherits="Node" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="add_node"> - <argument index="0" name="type" type="int"> - </argument> - <argument index="1" name="id" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_node_id" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="name" type="String"> - </argument> - <description> - </description> - </method> - <method name="node_set_name"> - <argument index="0" name="id" type="int"> - </argument> - <argument index="1" name="name" type="String"> - </argument> - <description> - </description> - </method> - <method name="node_get_name" qualifiers="const"> - <return type="String"> - </return> - <argument index="0" name="id" type="int"> - </argument> - <description> - </description> - </method> - <method name="node_get_type" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="id" type="int"> - </argument> - <description> - </description> - </method> - <method name="node_get_input_count" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="id" type="int"> - </argument> - <description> - </description> - </method> - <method name="animation_node_set_animation"> - <argument index="0" name="id" type="int"> - </argument> - <argument index="1" name="animation" type="Animation"> - </argument> - <description> - </description> - </method> - <method name="animation_node_get_animation" qualifiers="const"> - <return type="Animation"> - </return> - <argument index="0" name="id" type="int"> - </argument> - <description> - </description> - </method> - <method name="oneshot_node_set_fadein_time"> - <argument index="0" name="id" type="int"> - </argument> - <argument index="1" name="time_sec" type="real"> - </argument> - <description> - </description> - </method> - <method name="oneshot_node_get_fadein_time" qualifiers="const"> - <return type="real"> - </return> - <argument index="0" name="id" type="int"> - </argument> - <description> - </description> - </method> - <method name="oneshot_node_set_fadeout_time"> - <argument index="0" name="id" type="int"> - </argument> - <argument index="1" name="time_sec" type="real"> - </argument> - <description> - </description> - </method> - <method name="oneshot_node_get_fadeout_time" qualifiers="const"> - <return type="real"> - </return> - <argument index="0" name="id" type="int"> - </argument> - <description> - </description> - </method> - <method name="oneshot_node_set_autorestart"> - <argument index="0" name="id" type="int"> - </argument> - <argument index="1" name="enable" type="bool"> - </argument> - <description> - </description> - </method> - <method name="oneshot_node_set_autorestart_delay"> - <argument index="0" name="id" type="int"> - </argument> - <argument index="1" name="delay_sec" type="real"> - </argument> - <description> - </description> - </method> - <method name="oneshot_node_set_autorestart_random_delay"> - <argument index="0" name="id" type="int"> - </argument> - <argument index="1" name="rand_sec" type="real"> - </argument> - <description> - </description> - </method> - <method name="oneshot_node_has_autorestart" qualifiers="const"> - <return type="bool"> - </return> - <argument index="0" name="id" type="int"> - </argument> - <description> - </description> - </method> - <method name="oneshot_node_get_autorestart_delay" qualifiers="const"> - <return type="real"> - </return> - <argument index="0" name="id" type="int"> - </argument> - <description> - </description> - </method> - <method name="oneshot_node_get_autorestart_random_delay" qualifiers="const"> - <return type="real"> - </return> - <argument index="0" name="id" type="int"> - </argument> - <description> - </description> - </method> - <method name="oneshot_node_start"> - <argument index="0" name="id" type="int"> - </argument> - <description> - </description> - </method> - <method name="oneshot_node_stop"> - <argument index="0" name="id" type="int"> - </argument> - <description> - </description> - </method> - <method name="oneshot_node_is_active" qualifiers="const"> - <return type="bool"> - </return> - <argument index="0" name="id" type="int"> - </argument> - <description> - </description> - </method> - <method name="mix_node_set_amount"> - <argument index="0" name="id" type="int"> - </argument> - <argument index="1" name="ratio" type="real"> - </argument> - <description> - </description> - </method> - <method name="mix_node_get_amount" qualifiers="const"> - <return type="real"> - </return> - <argument index="0" name="id" type="int"> - </argument> - <description> - </description> - </method> - <method name="blend2_node_set_amount"> - <argument index="0" name="id" type="int"> - </argument> - <argument index="1" name="blend" type="real"> - </argument> - <description> - </description> - </method> - <method name="blend2_node_get_amount" qualifiers="const"> - <return type="real"> - </return> - <argument index="0" name="id" type="int"> - </argument> - <description> - </description> - </method> - <method name="blend3_node_set_amount"> - <argument index="0" name="id" type="int"> - </argument> - <argument index="1" name="blend" type="real"> - </argument> - <description> - </description> - </method> - <method name="blend3_node_get_amount" qualifiers="const"> - <return type="real"> - </return> - <argument index="0" name="id" type="int"> - </argument> - <description> - </description> - </method> - <method name="blend4_node_set_amount"> - <argument index="0" name="id" type="int"> - </argument> - <argument index="1" name="blend" type="Vector2"> - </argument> - <description> - </description> - </method> - <method name="blend4_node_get_amount" qualifiers="const"> - <return type="Vector2"> - </return> - <argument index="0" name="id" type="int"> - </argument> - <description> - </description> - </method> - <method name="timescale_node_set_scale"> - <argument index="0" name="id" type="int"> - </argument> - <argument index="1" name="scale" type="real"> - </argument> - <description> - </description> - </method> - <method name="timescale_node_get_scale" qualifiers="const"> - <return type="real"> - </return> - <argument index="0" name="id" type="int"> - </argument> - <description> - </description> - </method> - <method name="timeseek_node_seek"> - <argument index="0" name="id" type="int"> - </argument> - <argument index="1" name="pos_sec" type="real"> - </argument> - <description> - </description> - </method> - <method name="transition_node_set_input_count"> - <argument index="0" name="id" type="int"> - </argument> - <argument index="1" name="count" type="int"> - </argument> - <description> - </description> - </method> - <method name="transition_node_get_input_count" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="id" type="int"> - </argument> - <description> - </description> - </method> - <method name="transition_node_delete_input"> - <argument index="0" name="id" type="int"> - </argument> - <argument index="1" name="input_idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="transition_node_set_input_auto_advance"> - <argument index="0" name="id" type="int"> - </argument> - <argument index="1" name="input_idx" type="int"> - </argument> - <argument index="2" name="enable" type="bool"> - </argument> - <description> - </description> - </method> - <method name="transition_node_has_input_auto_advance" qualifiers="const"> - <return type="bool"> - </return> - <argument index="0" name="id" type="int"> - </argument> - <argument index="1" name="input_idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="transition_node_set_xfade_time"> - <argument index="0" name="id" type="int"> - </argument> - <argument index="1" name="time_sec" type="real"> - </argument> - <description> - </description> - </method> - <method name="transition_node_get_xfade_time" qualifiers="const"> - <return type="real"> - </return> - <argument index="0" name="id" type="int"> - </argument> - <description> - </description> - </method> - <method name="transition_node_set_current"> - <argument index="0" name="id" type="int"> - </argument> - <argument index="1" name="input_idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="transition_node_get_current" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="id" type="int"> - </argument> - <description> - </description> - </method> - <method name="node_set_pos"> - <argument index="0" name="id" type="int"> - </argument> - <argument index="1" name="screen_pos" type="Vector2"> - </argument> - <description> - </description> - </method> - <method name="node_get_pos" qualifiers="const"> - <return type="Vector2"> - </return> - <argument index="0" name="id" type="int"> - </argument> - <description> - </description> - </method> - <method name="remove_node"> - <argument index="0" name="id" type="int"> - </argument> - <description> - </description> - </method> - <method name="connect"> - <return type="int"> - </return> - <argument index="0" name="id" type="int"> - </argument> - <argument index="1" name="dst_id" type="int"> - </argument> - <argument index="2" name="dst_input_idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="is_connected" qualifiers="const"> - <return type="bool"> - </return> - <argument index="0" name="id" type="int"> - </argument> - <argument index="1" name="dst_id" type="int"> - </argument> - <argument index="2" name="dst_input_idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="disconnect"> - <argument index="0" name="id" type="int"> - </argument> - <argument index="1" name="dst_input_idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="set_active"> - <argument index="0" name="enabled" type="bool"> - </argument> - <description> - </description> - </method> - <method name="is_active" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="set_base_path"> - <argument index="0" name="path" type="NodePath"> - </argument> - <description> - </description> - </method> - <method name="get_base_path" qualifiers="const"> - <return type="NodePath"> - </return> - <description> - </description> - </method> - <method name="get_node_list"> - <return type="IntArray"> - </return> - <description> - </description> - </method> - <method name="reset"> - <description> - </description> - </method> - <method name="recompute_caches"> - <description> - </description> - </method> - </methods> - <constants> - <constant name="NODE_OUTPUT" value="0"> - </constant> - <constant name="NODE_ANIMATION" value="1"> - </constant> - <constant name="NODE_ONESHOT" value="2"> - </constant> - <constant name="NODE_MIX" value="3"> - </constant> - <constant name="NODE_BLEND2" value="4"> - </constant> - <constant name="NODE_BLEND3" value="5"> - </constant> - <constant name="NODE_BLEND4" value="6"> - </constant> - <constant name="NODE_TIMESCALE" value="7"> - </constant> - <constant name="NODE_TIMESEEK" value="8"> - </constant> - <constant name="NODE_TRANSITION" value="9"> - </constant> - </constants> -</class> -<class name="Area2D" inherits="CollisionObject2D" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_override_space_params"> - <argument index="0" name="enable" type="bool"> - </argument> - <description> - </description> - </method> - <method name="is_overriding_space_params" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="set_gravity_is_point"> - <argument index="0" name="enable" type="bool"> - </argument> - <description> - </description> - </method> - <method name="is_gravity_a_point" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="set_gravity_vector"> - <argument index="0" name="vector" type="Vector2"> - </argument> - <description> - </description> - </method> - <method name="get_gravity_vector" qualifiers="const"> - <return type="Vector2"> - </return> - <description> - </description> - </method> - <method name="set_gravity"> - <argument index="0" name="gravity" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_gravity" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="set_density"> - <argument index="0" name="density" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_density" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="set_priority"> - <argument index="0" name="priority" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_priority" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="set_enable_monitoring"> - <argument index="0" name="enable" type="bool"> - </argument> - <description> - </description> - </method> - <method name="is_monitoring_enabled" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - </methods> - <signals> - <signal name="body_enter"> - <argument index="0" name="body_id" type="int"> - </argument> - <argument index="1" name="body" type="Object"> - </argument> - <description> - </description> - </signal> - <signal name="body_enter_shape"> - <argument index="0" name="body_id" type="int"> - </argument> - <argument index="1" name="body" type="Object"> - </argument> - <argument index="2" name="body_shape" type="int"> - </argument> - <argument index="3" name="area_shape" type="int"> - </argument> - <description> - </description> - </signal> - <signal name="body_exit"> - <argument index="0" name="body_id" type="int"> - </argument> - <argument index="1" name="body" type="Object"> - </argument> - <description> - </description> - </signal> - <signal name="body_exit_shape"> - <argument index="0" name="body_id" type="int"> - </argument> - <argument index="1" name="body" type="Object"> - </argument> - <argument index="2" name="body_shape" type="int"> - </argument> - <argument index="3" name="area_shape" type="int"> - </argument> - <description> - </description> - </signal> - </signals> - <constants> - </constants> -</class> -<class name="AudioServer" inherits="Object" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="sample_create"> - <return type="RID"> - </return> - <argument index="0" name="format" type="int"> - </argument> - <argument index="1" name="stereo" type="bool"> - </argument> - <argument index="2" name="length" type="int"> - </argument> - <description> - </description> - </method> - <method name="sample_set_description"> - <argument index="0" name="sample" type="RID"> - </argument> - <argument index="1" name="description" type="String"> - </argument> - <description> - </description> - </method> - <method name="sample_get_description" qualifiers="const"> - <return type="String"> - </return> - <argument index="0" name="sample" type="RID"> - </argument> - <argument index="1" name="arg1" type="String"> - </argument> - <description> - </description> - </method> - <method name="sample_get_format" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="sample" type="RID"> - </argument> - <description> - </description> - </method> - <method name="sample_is_stereo" qualifiers="const"> - <return type="bool"> - </return> - <argument index="0" name="sample" type="RID"> - </argument> - <description> - </description> - </method> - <method name="sample_get_length" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="sample" type="RID"> - </argument> - <description> - </description> - </method> - <method name="sample_set_signed_data"> - <argument index="0" name="sample" type="RID"> - </argument> - <argument index="1" name="data" type="RealArray"> - </argument> - <description> - </description> - </method> - <method name="sample_set_data"> - <argument index="0" name="sample" type="RID"> - </argument> - <argument index="1" name="arg1" type="RawArray"> - </argument> - <description> - </description> - </method> - <method name="sample_get_data" qualifiers="const"> - <return type="RawArray"> - </return> - <argument index="0" name="sample" type="RID"> - </argument> - <description> - </description> - </method> - <method name="sample_set_mix_rate"> - <argument index="0" name="sample" type="RID"> - </argument> - <argument index="1" name="mix_rate" type="int"> - </argument> - <description> - </description> - </method> - <method name="sample_get_mix_rate" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="sample" type="RID"> - </argument> - <description> - </description> - </method> - <method name="sample_set_loop_format"> - <argument index="0" name="sample" type="RID"> - </argument> - <argument index="1" name="loop_format" type="int"> - </argument> - <description> - </description> - </method> - <method name="sample_get_loop_format" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="sample" type="RID"> - </argument> - <description> - </description> - </method> - <method name="sample_set_loop_begin"> - <argument index="0" name="sample" type="RID"> - </argument> - <argument index="1" name="pos" type="int"> - </argument> - <description> - </description> - </method> - <method name="sample_get_loop_begin" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="sample" type="RID"> - </argument> - <description> - </description> - </method> - <method name="sample_set_loop_end"> - <argument index="0" name="sample" type="RID"> - </argument> - <argument index="1" name="pos" type="int"> - </argument> - <description> - </description> - </method> - <method name="sample_get_loop_end" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="sample" type="RID"> - </argument> - <description> - </description> - </method> - <method name="voice_create"> - <return type="RID"> - </return> - <description> - </description> - </method> - <method name="voice_play"> - <argument index="0" name="voice" type="RID"> - </argument> - <argument index="1" name="sample" type="RID"> - </argument> - <description> - </description> - </method> - <method name="voice_set_volume"> - <argument index="0" name="voice" type="RID"> - </argument> - <argument index="1" name="volume" type="real"> - </argument> - <description> - </description> - </method> - <method name="voice_set_pan"> - <argument index="0" name="voice" type="RID"> - </argument> - <argument index="1" name="pan" type="real"> - </argument> - <argument index="2" name="depth" type="real" default="0"> - </argument> - <argument index="3" name="height" type="real" default="0"> - </argument> - <description> - </description> - </method> - <method name="voice_set_filter"> - <argument index="0" name="voice" type="RID"> - </argument> - <argument index="1" name="type" type="int"> - </argument> - <argument index="2" name="cutoff" type="real"> - </argument> - <argument index="3" name="resonance" type="real"> - </argument> - <argument index="4" name="gain" type="real" default="0"> - </argument> - <description> - </description> - </method> - <method name="voice_set_chorus"> - <argument index="0" name="voice" type="RID"> - </argument> - <argument index="1" name="chorus" type="real"> - </argument> - <description> - </description> - </method> - <method name="voice_set_reverb"> - <argument index="0" name="voice" type="RID"> - </argument> - <argument index="1" name="room" type="int"> - </argument> - <argument index="2" name="reverb" type="real"> - </argument> - <description> - </description> - </method> - <method name="voice_set_mix_rate"> - <argument index="0" name="voice" type="RID"> - </argument> - <argument index="1" name="rate" type="int"> - </argument> - <description> - </description> - </method> - <method name="voice_set_positional"> - <argument index="0" name="voice" type="RID"> - </argument> - <argument index="1" name="enabled" type="bool"> - </argument> - <description> - </description> - </method> - <method name="voice_get_volume" qualifiers="const"> - <return type="real"> - </return> - <argument index="0" name="voice" type="RID"> - </argument> - <description> - </description> - </method> - <method name="voice_get_pan" qualifiers="const"> - <return type="real"> - </return> - <argument index="0" name="voice" type="RID"> - </argument> - <description> - </description> - </method> - <method name="voice_get_pan_height" qualifiers="const"> - <return type="real"> - </return> - <argument index="0" name="voice" type="RID"> - </argument> - <description> - </description> - </method> - <method name="voice_get_pan_depth" qualifiers="const"> - <return type="real"> - </return> - <argument index="0" name="voice" type="RID"> - </argument> - <description> - </description> - </method> - <method name="voice_get_filter_type" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="voice" type="RID"> - </argument> - <description> - </description> - </method> - <method name="voice_get_filter_cutoff" qualifiers="const"> - <return type="real"> - </return> - <argument index="0" name="voice" type="RID"> - </argument> - <description> - </description> - </method> - <method name="voice_get_filter_resonance" qualifiers="const"> - <return type="real"> - </return> - <argument index="0" name="voice" type="RID"> - </argument> - <description> - </description> - </method> - <method name="voice_get_chorus" qualifiers="const"> - <return type="real"> - </return> - <argument index="0" name="voice" type="RID"> - </argument> - <description> - </description> - </method> - <method name="voice_get_reverb_type" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="voice" type="RID"> - </argument> - <description> - </description> - </method> - <method name="voice_get_reverb" qualifiers="const"> - <return type="real"> - </return> - <argument index="0" name="voice" type="RID"> - </argument> - <description> - </description> - </method> - <method name="voice_get_mix_rate" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="voice" type="RID"> - </argument> - <description> - </description> - </method> - <method name="voice_is_positional" qualifiers="const"> - <return type="bool"> - </return> - <argument index="0" name="voice" type="RID"> - </argument> - <description> - </description> - </method> - <method name="voice_stop"> - <argument index="0" name="voice" type="RID"> - </argument> - <description> - </description> - </method> - <method name="free_rid"> - <argument index="0" name="rid" type="RID"> - </argument> - <description> - </description> - </method> - <method name="set_stream_global_volume_scale"> - <argument index="0" name="scale" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_stream_global_volume_scale" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="set_mixer_global_volume_scale"> - <argument index="0" name="scale" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_mixer_global_volume_scale" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - </methods> - <constants> - <constant name="SAMPLE_FORMAT_PCM8" value="0"> - </constant> - <constant name="SAMPLE_FORMAT_PCM16" value="1"> - </constant> - <constant name="SAMPLE_FORMAT_IMA_ADPCM" value="2"> - </constant> - <constant name="SAMPLE_LOOP_NONE" value="0"> - </constant> - <constant name="SAMPLE_LOOP_FORWARD" value="1"> - </constant> - <constant name="SAMPLE_LOOP_PING_PONG" value="2"> - </constant> - <constant name="FILTER_NONE" value="0"> - </constant> - <constant name="FILTER_LOWPASS" value="1"> - </constant> - <constant name="FILTER_BANDPASS" value="2"> - </constant> - <constant name="FILTER_HIPASS" value="3"> - </constant> - <constant name="FILTER_NOTCH" value="4"> - </constant> - <constant name="FILTER_BANDLIMIT" value="6"> - </constant> - <constant name="REVERB_SMALL" value="0"> - </constant> - <constant name="REVERB_MEDIUM" value="1"> - </constant> - <constant name="REVERB_LARGE" value="2"> - </constant> - <constant name="REVERB_HALL" value="3"> - </constant> - </constants> -</class> -<class name="AudioServerSW" inherits="AudioServer" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - </methods> - <constants> - </constants> -</class> -<class name="AudioStream" inherits="Resource" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="play"> - <description> - </description> - </method> - <method name="stop"> - <description> - </description> - </method> - <method name="is_playing" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="set_loop"> - <argument index="0" name="enabled" type="bool"> - </argument> - <description> - </description> - </method> - <method name="has_loop" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="get_stream_name" qualifiers="const"> - <return type="String"> - </return> - <description> - </description> - </method> - <method name="get_loop_count" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="seek_pos"> - <argument index="0" name="pos" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_pos" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="get_length" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="get_update_mode" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="update"> - <description> - </description> - </method> - </methods> - <constants> - <constant name="UPDATE_NONE" value="0"> - </constant> - <constant name="UPDATE_IDLE" value="1"> - </constant> - <constant name="UPDATE_THREAD" value="2"> - </constant> - </constants> -</class> -<class name="AudioStreamGibberish" inherits="AudioStream" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_phonemes"> - <argument index="0" name="phonemes" type="Object"> - </argument> - <description> - </description> - </method> - <method name="get_phonemes" qualifiers="const"> - <return type="Object"> - </return> - <description> - </description> - </method> - <method name="set_pitch_scale"> - <argument index="0" name="pitch_scale" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_pitch_scale" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="set_pitch_random_scale"> - <argument index="0" name="pitch_random_scale" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_pitch_random_scale" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="set_xfade_time"> - <argument index="0" name="sec" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_xfade_time" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="AudioStreamMPC" inherits="AudioStreamResampled" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_file"> - <argument index="0" name="name" type="String"> - </argument> - <description> - </description> - </method> - <method name="get_file" qualifiers="const"> - <return type="String"> - </return> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="AudioStreamOGGVorbis" inherits="AudioStreamResampled" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - </methods> - <constants> - </constants> -</class> -<class name="AudioStreamResampled" inherits="AudioStream" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - </methods> - <constants> - </constants> -</class> -<class name="AudioStreamSpeex" inherits="AudioStreamResampled" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_file"> - <argument index="0" name="file" type="String"> - </argument> - <description> - </description> - </method> - <method name="get_file" qualifiers="const"> - <return type="String"> - </return> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="BCSFX" inherits="ScenarioFX" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - </methods> - <constants> - </constants> -</class> -<class name="BGColorFX" inherits="ScenarioFX" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - </methods> - <constants> - </constants> -</class> -<class name="BGImageFX" inherits="ScenarioFX" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - </methods> - <constants> - </constants> -</class> -<class name="BaseButton" inherits="Control" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_pressed"> - <argument index="0" name="pressed" type="bool"> - </argument> - <description> - </description> - </method> - <method name="is_pressed" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="set_toggle_mode"> - <argument index="0" name="enabled" type="bool"> - </argument> - <description> - </description> - </method> - <method name="is_toggle_mode" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="set_disabled"> - <argument index="0" name="disabled" type="bool"> - </argument> - <description> - </description> - </method> - <method name="is_disabled" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="set_click_on_press"> - <argument index="0" name="enable" type="bool"> - </argument> - <description> - </description> - </method> - <method name="get_click_on_press" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - </methods> - <signals> - <signal name="toggled"> - <argument index="0" name="pressed" type="bool"> - </argument> - <description> - </description> - </signal> - <signal name="pressed"> - <description> - </description> - </signal> - </signals> - <constants> - </constants> -</class> -<class name="BodyShape" inherits="Spatial" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - </methods> - <constants> - </constants> -</class> -<class name="BoxContainer" inherits="Container" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - </methods> - <constants> - </constants> -</class> -<class name="BoxShape" inherits="Shape" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_extents"> - <argument index="0" name="extents" type="Vector3"> - </argument> - <description> - </description> - </method> - <method name="get_extents" qualifiers="const"> - <return type="Vector3"> - </return> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="Button" inherits="BaseButton" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_text"> - <argument index="0" name="text" type="String"> - </argument> - <description> - </description> - </method> - <method name="get_text" qualifiers="const"> - <return type="String"> - </return> - <description> - </description> - </method> - <method name="set_icon"> - <argument index="0" name="texture" type="Texture"> - </argument> - <description> - </description> - </method> - <method name="get_icon" qualifiers="const"> - <return type="Texture"> - </return> - <description> - </description> - </method> - <method name="set_flat"> - <argument index="0" name="enabled" type="bool"> - </argument> - <description> - </description> - </method> - <method name="set_clip_text"> - <argument index="0" name="enabled" type="bool"> - </argument> - <description> - </description> - </method> - <method name="get_clip_text" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="is_flat" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="ButtonArray" inherits="Control" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="add_button"> - <argument index="0" name="text" type="String"> - </argument> - <description> - </description> - </method> - <method name="add_icon_button"> - <argument index="0" name="icon" type="Object"> - </argument> - <argument index="1" name="text" type="String" default=""""> - </argument> - <description> - </description> - </method> - <method name="set_button_text"> - <argument index="0" name="button" type="int"> - </argument> - <argument index="1" name="text" type="String"> - </argument> - <description> - </description> - </method> - <method name="set_button_icon"> - <argument index="0" name="button" type="int"> - </argument> - <argument index="1" name="icon" type="Object"> - </argument> - <description> - </description> - </method> - <method name="get_button_text" qualifiers="const"> - <return type="String"> - </return> - <argument index="0" name="button" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_button_icon" qualifiers="const"> - <return type="Object"> - </return> - <argument index="0" name="button" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_button_count" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="get_selected" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="get_hovered" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="set_selected"> - <argument index="0" name="button" type="int"> - </argument> - <description> - </description> - </method> - <method name="erase_button"> - <argument index="0" name="button" type="int"> - </argument> - <description> - </description> - </method> - <method name="clear"> - <description> - </description> - </method> - </methods> - <signals> - <signal name="button_selected"> - <argument index="0" name="button" type="int"> - </argument> - <description> - </description> - </signal> - </signals> - <constants> - <constant name="ALIGN_BEGIN" value="0"> - </constant> - <constant name="ALIGN_CENTER" value="1"> - </constant> - <constant name="ALIGN_END" value="2"> - </constant> - <constant name="ALIGN_FILL" value="3"> - </constant> - <constant name="ALIGN_EXPAND_FILL" value="4"> - </constant> - </constants> -</class> -<class name="ButtonGroup" inherits="Control" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="get_pressed_button" qualifiers="const"> - <return type="BaseButton"> - </return> - <description> - </description> - </method> - <method name="get_pressed_button_index" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="get_focused_button" qualifiers="const"> - <return type="BaseButton"> - </return> - <description> - </description> - </method> - <method name="get_button_list" qualifiers="const"> - <return type="Array"> - </return> - <description> - </description> - </method> - <method name="set_pressed_button"> - <argument index="0" name="button" type="BaseButton"> - </argument> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="Camera" inherits="Spatial" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="project_ray_normal" qualifiers="const"> - <return type="Vector3"> - </return> - <argument index="0" name="screen_point" type="Vector2"> - </argument> - <description> - </description> - </method> - <method name="project_local_ray_normal" qualifiers="const"> - <return type="Vector3"> - </return> - <argument index="0" name="screen_point" type="Vector2"> - </argument> - <description> - </description> - </method> - <method name="project_ray_origin" qualifiers="const"> - <return type="Vector3"> - </return> - <argument index="0" name="screen_point" type="Vector2"> - </argument> - <description> - </description> - </method> - <method name="unproject_position" qualifiers="const"> - <return type="Vector2"> - </return> - <argument index="0" name="world_point" type="Vector3"> - </argument> - <description> - </description> - </method> - <method name="project_position" qualifiers="const"> - <return type="Vector3"> - </return> - <argument index="0" name="screen_point" type="Vector2"> - </argument> - <description> - </description> - </method> - <method name="set_perspective"> - <argument index="0" name="fov" type="real"> - </argument> - <argument index="1" name="z_near" type="real"> - </argument> - <argument index="2" name="z_far" type="real"> - </argument> - <description> - </description> - </method> - <method name="set_orthogonal"> - <argument index="0" name="size" type="real"> - </argument> - <argument index="1" name="z_near" type="real"> - </argument> - <argument index="2" name="z_far" type="real"> - </argument> - <description> - </description> - </method> - <method name="make_current"> - <description> - </description> - </method> - <method name="clear_current"> - <description> - </description> - </method> - <method name="is_current" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="get_camera_transform" qualifiers="const"> - <return type="Transform"> - </return> - <description> - </description> - </method> - <method name="get_fov" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="get_size" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="get_zfar" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="get_znear" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="get_projection" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - </methods> - <constants> - <constant name="PROJECTION_PERSPECTIVE" value="0"> - </constant> - <constant name="PROJECTION_ORTHOGONAL" value="1"> - </constant> - </constants> -</class> -<class name="Camera2D" inherits="ScreenProximity2D" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_offset"> - <argument index="0" name="offset" type="Vector2"> - </argument> - <description> - </description> - </method> - <method name="get_offset" qualifiers="const"> - <return type="Vector2"> - </return> - <description> - </description> - </method> - <method name="set_centered"> - <argument index="0" name="centered" type="bool"> - </argument> - <description> - </description> - </method> - <method name="is_centered" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="make_current"> - <description> - </description> - </method> - <method name="is_current" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="set_limit"> - <argument index="0" name="margin" type="int"> - </argument> - <argument index="1" name="limit" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_limit" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="margin" type="int"> - </argument> - <description> - </description> - </method> - <method name="set_drag_margin"> - <argument index="0" name="margin" type="int"> - </argument> - <argument index="1" name="drag_margin" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_drag_margin" qualifiers="const"> - <return type="real"> - </return> - <argument index="0" name="margin" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_camera_pos" qualifiers="const"> - <return type="Vector2"> - </return> - <description> - </description> - </method> - <method name="force_update_scroll"> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="CanvasItem" inherits="Node" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="edit_set_state"> - <argument index="0" name="state" type="var"> - </argument> - <description> - </description> - </method> - <method name="edit_get" qualifiers="const"> - <description> - </description> - </method> - <method name="edit_set_rect"> - <argument index="0" name="rect" type="Rect2"> - </argument> - <description> - </description> - </method> - <method name="edit_rotate"> - <argument index="0" name="degrees" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_item_rect" qualifiers="const"> - <return type="Rect2"> - </return> - <description> - </description> - </method> - <method name="get_canvas_item" qualifiers="const"> - <return type="RID"> - </return> - <description> - </description> - </method> - <method name="is_visible" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="is_hidden" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="show"> - <description> - </description> - </method> - <method name="hide"> - <description> - </description> - </method> - <method name="update"> - <description> - </description> - </method> - <method name="set_as_toplevel"> - <argument index="0" name="enable" type="bool"> - </argument> - <description> - </description> - </method> - <method name="is_set_as_toplevel" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="set_blend_mode"> - <argument index="0" name="blend_mode" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_blend_mode" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="set_opacity"> - <argument index="0" name="opacity" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_opacity" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="set_self_opacity"> - <argument index="0" name="self_opacity" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_self_opacity" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="draw_line"> - <argument index="0" name="from" type="Vector2"> - </argument> - <argument index="1" name="to" type="Vector2"> - </argument> - <argument index="2" name="color" type="Color"> - </argument> - <argument index="3" name="width" type="real" default="1"> - </argument> - <description> - </description> - </method> - <method name="draw_rect"> - <argument index="0" name="rect" type="Rect2"> - </argument> - <argument index="1" name="color" type="Color"> - </argument> - <description> - </description> - </method> - <method name="draw_circle"> - <argument index="0" name="pos" type="Vector2"> - </argument> - <argument index="1" name="radius" type="real"> - </argument> - <argument index="2" name="color" type="Color"> - </argument> - <description> - </description> - </method> - <method name="draw_texture"> - <argument index="0" name="texture" type="Texture"> - </argument> - <argument index="1" name="pos" type="Vector2"> - </argument> - <description> - </description> - </method> - <method name="draw_texture_rect"> - <argument index="0" name="texture" type="Texture"> - </argument> - <argument index="1" name="rect" type="Rect2"> - </argument> - <argument index="2" name="tile" type="bool" default="false"> - </argument> - <argument index="3" name="modulate" type="Color" default="Color(1,1,1,1)"> - </argument> - <argument index="4" name="transpose" type="bool" default="false"> - </argument> - <description> - </description> - </method> - <method name="draw_texture_rect_region"> - <argument index="0" name="texture" type="Texture"> - </argument> - <argument index="1" name="rect" type="Rect2"> - </argument> - <argument index="2" name="src_rect" type="Rect2"> - </argument> - <argument index="3" name="modulate" type="Color" default="Color(1,1,1,1)"> - </argument> - <argument index="4" name="transpose" type="bool" default="false"> - </argument> - <description> - </description> - </method> - <method name="draw_style_box"> - <argument index="0" name="style_box" type="StyleBox"> - </argument> - <argument index="1" name="rect" type="Rect2"> - </argument> - <description> - </description> - </method> - <method name="draw_primitive"> - <argument index="0" name="points" type="Vector2Array"> - </argument> - <argument index="1" name="colors" type="ColorArray"> - </argument> - <argument index="2" name="uvs" type="Vector2Array" default="Array()"> - </argument> - <argument index="3" name="texture" type="Texture" default="Object()"> - </argument> - <argument index="4" name="width" type="real" default="1"> - </argument> - <description> - </description> - </method> - <method name="draw_polygon"> - <argument index="0" name="points" type="Vector2Array"> - </argument> - <argument index="1" name="colors" type="ColorArray"> - </argument> - <argument index="2" name="uvs" type="Vector2Array"> - </argument> - <argument index="3" name="texture" type="Texture" default="Array()"> - </argument> - <argument index="4" name="arg4" type="real" default="Object()"> - </argument> - <description> - </description> - </method> - <method name="draw_colored_polygon"> - <argument index="0" name="points" type="Vector2Array"> - </argument> - <argument index="1" name="color" type="ColorArray"> - </argument> - <argument index="2" name="uvs" type="Vector2Array"> - </argument> - <argument index="3" name="texture" type="Texture" default="Array()"> - </argument> - <argument index="4" name="arg4" type="real" default="Object()"> - </argument> - <description> - </description> - </method> - <method name="draw_string"> - <argument index="0" name="font" type="Font"> - </argument> - <argument index="1" name="pos" type="Vector2"> - </argument> - <argument index="2" name="text" type="String"> - </argument> - <argument index="3" name="modulate" type="Color" default="Color(1,1,1,1)"> - </argument> - <argument index="4" name="clip_w" type="int" default="-1"> - </argument> - <description> - </description> - </method> - <method name="draw_char"> - <return type="real"> - </return> - <argument index="0" name="font" type="Font"> - </argument> - <argument index="1" name="pos" type="Vector2"> - </argument> - <argument index="2" name="char" type="String"> - </argument> - <argument index="3" name="next" type="String"> - </argument> - <argument index="4" name="modulate" type="Color" default="Color(1,1,1,1)"> - </argument> - <description> - </description> - </method> - <method name="draw_set_transform"> - <argument index="0" name="pos" type="Vector2"> - </argument> - <argument index="1" name="rot" type="real"> - </argument> - <argument index="2" name="scale" type="Vector2"> - </argument> - <description> - </description> - </method> - <method name="set_transform_notify"> - <argument index="0" name="enable" type="bool"> - </argument> - <description> - </description> - </method> - <method name="is_transform_notify_enabled" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - </methods> - <signals> - <signal name="item_rect_changed"> - <description> - </description> - </signal> - <signal name="draw"> - <description> - </description> - </signal> - <signal name="visibility_changed"> - <description> - </description> - </signal> - <signal name="hide"> - <description> - </description> - </signal> - </signals> - <constants> - <constant name="BLEND_MODE_MIX" value="0"> - </constant> - <constant name="BLEND_MODE_ADD" value="1"> - </constant> - <constant name="BLEND_MODE_SUB" value="2"> - </constant> - <constant name="BLEND_MODE_MUL" value="3"> - </constant> - <constant name="NOTIFICATION_DRAW" value="30"> - </constant> - <constant name="NOTIFICATION_VISIBILITY_CHANGED" value="31"> - </constant> - <constant name="NOTIFICATION_ENTER_CANVAS" value="32"> - </constant> - <constant name="NOTIFICATION_EXIT_CANVAS" value="33"> - </constant> - <constant name="NOTIFICATION_TRANSFORM_CHANGED" value="34"> - </constant> - </constants> -</class> -<class name="CanvasLayer" inherits="Node" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_layer"> - <argument index="0" name="layer" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_layer" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="set_transform"> - <argument index="0" name="transform" type="Matrix32"> - </argument> - <description> - </description> - </method> - <method name="get_transform" qualifiers="const"> - <return type="Matrix32"> - </return> - <description> - </description> - </method> - <method name="set_offset"> - <argument index="0" name="offset" type="Vector2"> - </argument> - <description> - </description> - </method> - <method name="get_offset" qualifiers="const"> - <return type="Vector2"> - </return> - <description> - </description> - </method> - <method name="set_rotation"> - <argument index="0" name="rotation" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_rotation" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="set_scale"> - <argument index="0" name="scale" type="Vector2"> - </argument> - <description> - </description> - </method> - <method name="get_scale" qualifiers="const"> - <return type="Vector2"> - </return> - <description> - </description> - </method> - <method name="get_canvas" qualifiers="const"> - <return type="Canvas"> - </return> - <description> - </description> - </method> - <method name="get_viewport" qualifiers="const"> - <return type="RID"> - </return> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="CapsuleShape" inherits="Shape" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_radius"> - <argument index="0" name="radius" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_radius" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="set_height"> - <argument index="0" name="height" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_height" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="CapsuleShape2D" inherits="Shape2D" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_radius"> - <argument index="0" name="radius" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_radius" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="set_height"> - <argument index="0" name="height" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_height" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="CenterContainer" inherits="Container" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - </methods> - <constants> - </constants> -</class> -<class name="CheckButton" inherits="BaseButton" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_text"> - <argument index="0" name="text" type="String"> - </argument> - <description> - </description> - </method> - <method name="get_text" qualifiers="const"> - <return type="String"> - </return> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="CircleShape2D" inherits="Shape2D" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_radius"> - <argument index="0" name="radius" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_radius" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="CollisionObject2D" inherits="Node2D" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="add_shape"> - <argument index="0" name="shape" type="Shape2D"> - </argument> - <argument index="1" name="transform" type="Matrix32" default="1,0, 0,1, 0,0"> - </argument> - <description> - </description> - </method> - <method name="get_shape_count" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="set_shape"> - <argument index="0" name="shape_idx" type="int"> - </argument> - <argument index="1" name="shape" type="Shape"> - </argument> - <description> - </description> - </method> - <method name="set_shape_transform"> - <argument index="0" name="shape_idx" type="int"> - </argument> - <argument index="1" name="transform" type="Matrix32"> - </argument> - <description> - </description> - </method> - <method name="get_shape" qualifiers="const"> - <return type="Shape2D"> - </return> - <argument index="0" name="shape_idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_shape_transform" qualifiers="const"> - <return type="Matrix32"> - </return> - <argument index="0" name="shape_idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="remove_shape"> - <argument index="0" name="shape_idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="clear_shapes"> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="CollisionPolygon2D" inherits="Node2D" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - </methods> - <constants> - </constants> -</class> -<class name="CollisionShape2D" inherits="Node2D" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - </methods> - <constants> - </constants> -</class> -<class name="ColorPicker" inherits="Control" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_color"> - <argument index="0" name="color" type="Color"> - </argument> - <description> - </description> - </method> - <method name="get_color" qualifiers="const"> - <return type="Color"> - </return> - <description> - </description> - </method> - <method name="set_show_alpha"> - <argument index="0" name="show" type="bool"> - </argument> - <description> - </description> - </method> - <method name="is_showing_alpha" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - </methods> - <signals> - <signal name="color_changed"> - <argument index="0" name="color" type="Color"> - </argument> - <description> - </description> - </signal> - </signals> - <constants> - </constants> -</class> -<class name="ConcavePolygonShape" inherits="Shape" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_faces"> - <argument index="0" name="faces" type="Vector3Array"> - </argument> - <description> - </description> - </method> - <method name="get_faces" qualifiers="const"> - <return type="Vector3Array"> - </return> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="ConcavePolygonShape2D" inherits="Shape2D" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_segments"> - <argument index="0" name="segments" type="Vector2Array"> - </argument> - <description> - </description> - </method> - <method name="get_segments" qualifiers="const"> - <return type="Vector2Array"> - </return> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="ConfirmationDialog" inherits="AcceptDialog" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="get_cancel"> - <return type="Button"> - </return> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="Container" inherits="Control" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="queue_sort"> - <description> - </description> - </method> - <method name="fit_child_in_rect"> - <argument index="0" name="child" type="Control"> - </argument> - <argument index="1" name="rect" type="Rect2"> - </argument> - <description> - </description> - </method> - </methods> - <signals> - <signal name="sort_children"> - <description> - </description> - </signal> - </signals> - <constants> - <constant name="NOTIFICATION_SORT_CHILDREN" value="50"> - </constant> - </constants> -</class> -<class name="Control" inherits="CanvasItem" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="accept_event"> - <description> - </description> - </method> - <method name="get_minimum_size" qualifiers="const"> - <return type="Vector2"> - </return> - <description> - </description> - </method> - <method name="is_window" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="get_window" qualifiers="const"> - <return type="Object"> - </return> - <description> - </description> - </method> - <method name="set_anchor"> - <argument index="0" name="margin" type="int"> - </argument> - <argument index="1" name="anchor_mode" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_anchor" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="margin" type="int"> - </argument> - <description> - </description> - </method> - <method name="set_margin"> - <argument index="0" name="margin" type="int"> - </argument> - <argument index="1" name="offset" type="real"> - </argument> - <description> - </description> - </method> - <method name="set_anchor_and_margin"> - <argument index="0" name="margin" type="int"> - </argument> - <argument index="1" name="anchor_mode" type="int"> - </argument> - <argument index="2" name="offset" type="real"> - </argument> - <description> - </description> - </method> - <method name="set_begin"> - <argument index="0" name="pos" type="Vector2"> - </argument> - <description> - </description> - </method> - <method name="set_end"> - <argument index="0" name="pos" type="Vector2"> - </argument> - <description> - </description> - </method> - <method name="set_pos"> - <argument index="0" name="pos" type="Vector2"> - </argument> - <description> - </description> - </method> - <method name="set_size"> - <argument index="0" name="size" type="Vector2"> - </argument> - <description> - </description> - </method> - <method name="set_global_pos"> - <argument index="0" name="pos" type="Vector2"> - </argument> - <description> - </description> - </method> - <method name="get_margin" qualifiers="const"> - <return type="real"> - </return> - <argument index="0" name="margin" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_begin" qualifiers="const"> - <return type="Vector2"> - </return> - <description> - </description> - </method> - <method name="get_end" qualifiers="const"> - <return type="Vector2"> - </return> - <description> - </description> - </method> - <method name="get_pos" qualifiers="const"> - <return type="Vector2"> - </return> - <description> - </description> - </method> - <method name="get_size" qualifiers="const"> - <return type="Vector2"> - </return> - <description> - </description> - </method> - <method name="get_parent_area_size" qualifiers="const"> - <return type="Vector2"> - </return> - <description> - </description> - </method> - <method name="get_global_pos" qualifiers="const"> - <return type="Vector2"> - </return> - <description> - </description> - </method> - <method name="get_rect" qualifiers="const"> - <return type="Rect2"> - </return> - <description> - </description> - </method> - <method name="get_global_rect" qualifiers="const"> - <return type="Rect2"> - </return> - <description> - </description> - </method> - <method name="set_area_as_parent_rect"> - <argument index="0" name="margin" type="int" default="0"> - </argument> - <description> - </description> - </method> - <method name="show_modal"> - <argument index="0" name="exclusive" type="bool" default="false"> - </argument> - <description> - </description> - </method> - <method name="set_focus_mode"> - <argument index="0" name="mode" type="int"> - </argument> - <description> - </description> - </method> - <method name="has_focus" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="grab_focus"> - <description> - </description> - </method> - <method name="release_focus"> - <description> - </description> - </method> - <method name="get_focus_owner" qualifiers="const"> - <return type="Control"> - </return> - <description> - </description> - </method> - <method name="set_h_size_flags"> - <argument index="0" name="flags" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_h_size_flags" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="set_stretch_ratio"> - <argument index="0" name="ratio" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_stretch_ratio" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="set_v_size_flags"> - <argument index="0" name="flags" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_v_size_flags" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="set_theme"> - <argument index="0" name="theme" type="Theme"> - </argument> - <description> - </description> - </method> - <method name="get_theme" qualifiers="const"> - <return type="Theme"> - </return> - <description> - </description> - </method> - <method name="add_icon_override"> - <argument index="0" name="name" type="String"> - </argument> - <argument index="1" name="texture" type="Texture"> - </argument> - <description> - </description> - </method> - <method name="add_style_override"> - <argument index="0" name="name" type="String"> - </argument> - <argument index="1" name="stylebox" type="StyleBox"> - </argument> - <description> - </description> - </method> - <method name="add_font_override"> - <argument index="0" name="name" type="String"> - </argument> - <argument index="1" name="font" type="Font"> - </argument> - <description> - </description> - </method> - <method name="add_color_override"> - <argument index="0" name="name" type="String"> - </argument> - <argument index="1" name="color" type="Color"> - </argument> - <description> - </description> - </method> - <method name="add_constant_override"> - <argument index="0" name="name" type="String"> - </argument> - <argument index="1" name="constant" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_icon" qualifiers="const"> - <return type="Texture"> - </return> - <argument index="0" name="name" type="String"> - </argument> - <argument index="1" name="type" type="String" default=""""> - </argument> - <description> - </description> - </method> - <method name="get_stylebox" qualifiers="const"> - <return type="StyleBox"> - </return> - <argument index="0" name="name" type="String"> - </argument> - <argument index="1" name="type" type="String" default=""""> - </argument> - <description> - </description> - </method> - <method name="get_font" qualifiers="const"> - <return type="Font"> - </return> - <argument index="0" name="name" type="String"> - </argument> - <argument index="1" name="type" type="String" default=""""> - </argument> - <description> - </description> - </method> - <method name="get_color" qualifiers="const"> - <return type="Color"> - </return> - <argument index="0" name="name" type="String"> - </argument> - <argument index="1" name="type" type="String" default=""""> - </argument> - <description> - </description> - </method> - <method name="get_constant" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="name" type="String"> - </argument> - <argument index="1" name="type" type="String" default=""""> - </argument> - <description> - </description> - </method> - <method name="get_parent_control" qualifiers="const"> - <return type="Control"> - </return> - <description> - </description> - </method> - <method name="set_tooltip"> - <argument index="0" name="tooltip" type="String"> - </argument> - <description> - </description> - </method> - <method name="get_tooltip" qualifiers="const"> - <return type="String"> - </return> - <argument index="0" name="atpos" type="Vector2" default="Vector2(0,0)"> - </argument> - <description> - </description> - </method> - <method name="set_default_cursor_shape"> - <argument index="0" name="shape" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_default_cursor_shape" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="get_cursor_shape" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="pos" type="Vector2" default="Vector2(0,0)"> - </argument> - <description> - </description> - </method> - <method name="set_focus_neighbour"> - <argument index="0" name="margin" type="int"> - </argument> - <argument index="1" name="neighbour" type="NodePath"> - </argument> - <description> - </description> - </method> - <method name="get_focus_neighbour" qualifiers="const"> - <return type="NodePath"> - </return> - <argument index="0" name="margin" type="int"> - </argument> - <description> - </description> - </method> - <method name="set_ignore_mouse"> - <argument index="0" name="ignore" type="bool"> - </argument> - <description> - </description> - </method> - <method name="is_ignoring_mouse" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - </methods> - <signals> - <signal name="focus_enter"> - <description> - </description> - </signal> - <signal name="mouse_enter"> - <description> - </description> - </signal> - <signal name="resized"> - <description> - </description> - </signal> - <signal name="minimum_size_changed"> - <description> - </description> - </signal> - <signal name="size_flags_changed"> - <description> - </description> - </signal> - <signal name="focus_exit"> - <description> - </description> - </signal> - <signal name="input_event"> - <description> - </description> - </signal> - <signal name="mouse_exit"> - <description> - </description> - </signal> - </signals> - <constants> - <constant name="ANCHOR_BEGIN" value="0"> - </constant> - <constant name="ANCHOR_END" value="1"> - </constant> - <constant name="ANCHOR_RATIO" value="2"> - </constant> - <constant name="FOCUS_NONE" value="0"> - </constant> - <constant name="FOCUS_CLICK" value="1"> - </constant> - <constant name="FOCUS_ALL" value="2"> - </constant> - <constant name="NOTIFICATION_RESIZED" value="34"> - </constant> - <constant name="NOTIFICATION_MOUSE_ENTER" value="35"> - </constant> - <constant name="NOTIFICATION_MOUSE_EXIT" value="36"> - </constant> - <constant name="NOTIFICATION_FOCUS_ENTER" value="37"> - </constant> - <constant name="NOTIFICATION_FOCUS_EXIT" value="38"> - </constant> - <constant name="NOTIFICATION_THEME_CHANGED" value="39"> - </constant> - <constant name="NOTIFICATION_MODAL_CLOSE" value="40"> - </constant> - <constant name="CURSOR_ARROW" value="0"> - </constant> - <constant name="CURSOR_IBEAM" value="1"> - </constant> - <constant name="CURSOR_POINTING_HAND" value="2"> - </constant> - <constant name="CURSOR_CROSS" value="3"> - </constant> - <constant name="CURSOR_WAIT" value="4"> - </constant> - <constant name="CURSOR_BUSY" value="5"> - </constant> - <constant name="CURSOR_DRAG" value="6"> - </constant> - <constant name="CURSOR_CAN_DROP" value="7"> - </constant> - <constant name="CURSOR_FORBIDDEN" value="8"> - </constant> - <constant name="CURSOR_VSIZE" value="9"> - </constant> - <constant name="CURSOR_HSIZE" value="10"> - </constant> - <constant name="CURSOR_BDIAGSIZE" value="11"> - </constant> - <constant name="CURSOR_FDIAGSIZE" value="12"> - </constant> - <constant name="CURSOR_MOVE" value="13"> - </constant> - <constant name="CURSOR_VSPLIT" value="14"> - </constant> - <constant name="CURSOR_HSPLIT" value="15"> - </constant> - <constant name="CURSOR_HELP" value="16"> - </constant> - </constants> -</class> -<class name="ConvexPolygonShape" inherits="Shape" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_planes"> - <argument index="0" name="planes" type="Array"> - </argument> - <description> - </description> - </method> - <method name="get_planes" qualifiers="const"> - <return type="Array"> - </return> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="ConvexPolygonShape2D" inherits="Shape2D" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_points"> - <argument index="0" name="points" type="Vector2Array"> - </argument> - <description> - </description> - </method> - <method name="get_points" qualifiers="const"> - <return type="Vector2Array"> - </return> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="DOFBlurFX" inherits="ScenarioFX" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - </methods> - <constants> - </constants> -</class> -<class name="DampedSpringJoint2D" inherits="Joint2D" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_length"> - <argument index="0" name="length" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_length" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="set_rest_length"> - <argument index="0" name="rest_length" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_rest_length" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="set_stiffness"> - <argument index="0" name="stiffness" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_stiffness" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="set_damping"> - <argument index="0" name="damping" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_damping" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="DirectionalLight" inherits="Light" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - </methods> - <constants> - </constants> -</class> -<class name="DynamicBody" inherits="PhysicsBody" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_mass"> - <argument index="0" name="mass" type="real"> - </argument> - <description> - </description> - </method> - <method name="set_friction"> - <argument index="0" name="friction" type="real"> - </argument> - <description> - </description> - </method> - <method name="set_bounce"> - <argument index="0" name="bounce" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_mass" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="get_friction" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="get_bounce" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="set_linear_velocity"> - <argument index="0" name="linear_velocity" type="Vector3"> - </argument> - <description> - </description> - </method> - <method name="get_linear_velocity" qualifiers="const"> - <return type="Vector3"> - </return> - <description> - </description> - </method> - <method name="set_angular_velocity"> - <argument index="0" name="angular_velocity" type="Vector3"> - </argument> - <description> - </description> - </method> - <method name="get_angular_velocity" qualifiers="const"> - <return type="Vector3"> - </return> - <description> - </description> - </method> - <method name="set_sleeping"> - <argument index="0" name="sleeping" type="bool"> - </argument> - <description> - </description> - </method> - <method name="is_sleeping" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="set_applied_force"> - <argument index="0" name="applied_force" type="Vector3"> - </argument> - <description> - </description> - </method> - <method name="get_applied_force" qualifiers="const"> - <return type="Vector3"> - </return> - <description> - </description> - </method> - <method name="set_applied_torque"> - <argument index="0" name="applied_torque" type="Vector3"> - </argument> - <description> - </description> - </method> - <method name="get_applied_torque" qualifiers="const"> - <return type="Vector3"> - </return> - <description> - </description> - </method> - <method name="apply_local_impulse"> - <argument index="0" name="pos" type="Vector3"> - </argument> - <argument index="1" name="impulse" type="Vector3"> - </argument> - <description> - </description> - </method> - <method name="set_axis_velocity"> - <argument index="0" name="axis_velocity" type="Vector3"> - </argument> - <description> - </description> - </method> - <method name="set_direct_state_control"> - <argument index="0" name="enabled" type="bool"> - </argument> - <description> - </description> - </method> - <method name="is_direct_state_control_enabled" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="set_omit_force_integration"> - <argument index="0" name="enabled" type="bool"> - </argument> - <description> - </description> - </method> - <method name="is_omitting_force_integration" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="DynamicCharacterBody" inherits="DynamicBody" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - </methods> - <constants> - </constants> -</class> -<class name="DynamicCustomBody" inherits="DynamicBody" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_mode"> - <argument index="0" name="mode" type="int"> - </argument> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="DynamicRigidBody" inherits="DynamicBody" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - </methods> - <constants> - </constants> -</class> -<class name="EmptyControl" inherits="Control" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_minsize"> - <argument index="0" name="minsize" type="Vector2"> - </argument> - <description> - </description> - </method> - <method name="get_minsize" qualifiers="const"> - <return type="Vector2"> - </return> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="_File" inherits="Reference" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="open"> - <return type="int"> - </return> - <argument index="0" name="path" type="String"> - </argument> - <argument index="1" name="flags" type="int"> - </argument> - <description> - </description> - </method> - <method name="close"> - <description> - </description> - </method> - <method name="is_open" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="seek"> - <argument index="0" name="pos" type="int"> - </argument> - <description> - </description> - </method> - <method name="seek_end"> - <argument index="0" name="pos" type="int" default="0"> - </argument> - <description> - </description> - </method> - <method name="get_pos" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="get_len" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="eof_reached" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="get_8" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="get_16" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="get_32" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="get_64" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="get_float" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="get_double" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="get_real" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="get_buffer" qualifiers="const"> - <return type="RawArray"> - </return> - <argument index="0" name="len" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_line" qualifiers="const"> - <return type="String"> - </return> - <description> - </description> - </method> - <method name="get_endian_swap"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="set_endian_swap"> - <argument index="0" name="enable" type="bool"> - </argument> - <description> - </description> - </method> - <method name="get_error" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="get_var" qualifiers="const"> - <description> - </description> - </method> - <method name="store_8"> - <argument index="0" name="value" type="int"> - </argument> - <description> - </description> - </method> - <method name="store_16"> - <argument index="0" name="value" type="int"> - </argument> - <description> - </description> - </method> - <method name="store_32"> - <argument index="0" name="value" type="int"> - </argument> - <description> - </description> - </method> - <method name="store_64"> - <argument index="0" name="value" type="int"> - </argument> - <description> - </description> - </method> - <method name="store_float"> - <argument index="0" name="value" type="real"> - </argument> - <description> - </description> - </method> - <method name="store_double"> - <argument index="0" name="value" type="real"> - </argument> - <description> - </description> - </method> - <method name="store_real"> - <argument index="0" name="value" type="real"> - </argument> - <description> - </description> - </method> - <method name="store_buffer"> - <argument index="0" name="buffer" type="RawArray"> - </argument> - <description> - </description> - </method> - <method name="store_line"> - <argument index="0" name="line" type="String"> - </argument> - <description> - </description> - </method> - <method name="store_string"> - <argument index="0" name="string" type="String"> - </argument> - <description> - </description> - </method> - <method name="store_var"> - <argument index="0" name="value" type="var"> - </argument> - <description> - </description> - </method> - <method name="file_exists" qualifiers="const"> - <return type="bool"> - </return> - <argument index="0" name="path" type="String"> - </argument> - <description> - </description> - </method> - </methods> - <constants> - <constant name="READ" value="1"> - </constant> - <constant name="WRITE" value="2"> - </constant> - <constant name="READ_WRITE" value="3"> - </constant> - </constants> -</class> -<class name="FileDialog" inherits="ConfirmationDialog" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="clear_filters"> - <description> - </description> - </method> - <method name="add_filter"> - <argument index="0" name="filter" type="String"> - </argument> - <description> - </description> - </method> - <method name="get_current_dir" qualifiers="const"> - <return type="String"> - </return> - <description> - </description> - </method> - <method name="get_current_file" qualifiers="const"> - <return type="String"> - </return> - <description> - </description> - </method> - <method name="get_current_path" qualifiers="const"> - <return type="String"> - </return> - <description> - </description> - </method> - <method name="set_current_dir"> - <argument index="0" name="dir" type="String"> - </argument> - <description> - </description> - </method> - <method name="set_current_file"> - <argument index="0" name="file" type="String"> - </argument> - <description> - </description> - </method> - <method name="set_current_path"> - <argument index="0" name="path" type="String"> - </argument> - <description> - </description> - </method> - <method name="set_mode"> - <argument index="0" name="mode" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_mode" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="get_vbox"> - <return type="VBoxContainer"> - </return> - <description> - </description> - </method> - </methods> - <signals> - <signal name="dir_selected"> - <argument index="0" name="dir" type="String"> - </argument> - <description> - </description> - </signal> - <signal name="file_selected"> - <argument index="0" name="path" type="String"> - </argument> - <description> - </description> - </signal> - </signals> - <constants> - <constant name="MODE_OPEN_FILE" value="0"> - </constant> - <constant name="MODE_OPEN_DIR" value="1"> - </constant> - <constant name="MODE_SAVE_FILE" value="2"> - </constant> - </constants> -</class> -<class name="FixedMaterial" inherits="Material" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_shader"> - <argument index="0" name="shader" type="Shader"> - </argument> - <description> - </description> - </method> - <method name="get_shader" qualifiers="const"> - <return type="Shader"> - </return> - <description> - </description> - </method> - <method name="set_parameter"> - <argument index="0" name="param" type="int"> - </argument> - <argument index="1" name="value" type="var"> - </argument> - <description> - </description> - </method> - <method name="get_parameter" qualifiers="const"> - <argument index="0" name="param" type="int"> - </argument> - <description> - </description> - </method> - <method name="set_texture"> - <argument index="0" name="param" type="int"> - </argument> - <argument index="1" name="texture" type="Texture"> - </argument> - <description> - </description> - </method> - <method name="get_texture" qualifiers="const"> - <return type="Texture"> - </return> - <argument index="0" name="param" type="int"> - </argument> - <description> - </description> - </method> - <method name="set_texgen_mode"> - <argument index="0" name="mode" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_texgen_mode" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="set_texcoord_mode"> - <argument index="0" name="param" type="int"> - </argument> - <argument index="1" name="mode" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_texcoord_mode" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="param" type="int"> - </argument> - <description> - </description> - </method> - <method name="set_uv_transform"> - <argument index="0" name="transform" type="Transform"> - </argument> - <description> - </description> - </method> - <method name="get_uv_transform" qualifiers="const"> - <return type="Transform"> - </return> - <description> - </description> - </method> - <method name="set_detail_blend_mode"> - <argument index="0" name="mode" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_detail_blend_mode" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - </methods> - <constants> - <constant name="PARAM_DIFFUSE" value="0"> - </constant> - <constant name="PARAM_DETAIL" value="1"> - </constant> - <constant name="PARAM_SPECULAR" value="2"> - </constant> - <constant name="PARAM_EMISSION" value="3"> - </constant> - <constant name="PARAM_SPECULAR_EXP" value="4"> - </constant> - <constant name="PARAM_GLOW" value="5"> - </constant> - <constant name="PARAM_NORMAL" value="6"> - </constant> - <constant name="PARAM_SHADE_PARAM" value="7"> - </constant> - <constant name="PARAM_MAX" value="8"> - </constant> - <constant name="TEXGEN_SPHERE" value="1"> - </constant> - <constant name="TEXGEN_SCREEN" value="2"> - </constant> - <constant name="TEXGEN_SCREENZ" value="3"> - </constant> - <constant name="TEXGEN_LOCAL_XY" value="0"> - </constant> - <constant name="TEXCOORD_TEXGEN" value="3"> - </constant> - <constant name="TEXCOORD_UV" value="0"> - </constant> - <constant name="TEXCOORD_UV_TRANSFORM" value="1"> - </constant> - <constant name="TEXCOORD_UV2" value="2"> - </constant> - </constants> -</class> -<class name="FogFX" inherits="ScenarioFX" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - </methods> - <constants> - </constants> -</class> -<class name="FollowCamera" inherits="Camera" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_orbit"> - <argument index="0" name="orbit" type="Vector2"> - </argument> - <description> - </description> - </method> - <method name="get_orbit" qualifiers="const"> - <return type="Vector2"> - </return> - <description> - </description> - </method> - <method name="set_orbit_x"> - <argument index="0" name="x" type="real"> - </argument> - <description> - </description> - </method> - <method name="set_orbit_y"> - <argument index="0" name="y" type="real"> - </argument> - <description> - </description> - </method> - <method name="set_min_orbit_x"> - <argument index="0" name="x" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_min_orbit_x" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="set_max_orbit_x"> - <argument index="0" name="x" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_max_orbit_x" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="set_height"> - <argument index="0" name="height" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_height" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="set_inclination"> - <argument index="0" name="inclination" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_inclination" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="rotate_orbit"> - <argument index="0" name="arg0" type="Vector2"> - </argument> - <description> - </description> - </method> - <method name="set_distance"> - <argument index="0" name="distance" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_distance" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="set_max_distance"> - <argument index="0" name="max_distance" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_max_distance" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="set_min_distance"> - <argument index="0" name="min_distance" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_min_distance" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="set_clip"> - <argument index="0" name="enable" type="bool"> - </argument> - <description> - </description> - </method> - <method name="has_clip" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="set_autoturn"> - <argument index="0" name="enable" type="bool"> - </argument> - <description> - </description> - </method> - <method name="has_autoturn" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="set_autoturn_tolerance"> - <argument index="0" name="degrees" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_autoturn_tolerance" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="set_autoturn_speed"> - <argument index="0" name="speed" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_autoturn_speed" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="set_smoothing"> - <argument index="0" name="enable" type="bool"> - </argument> - <description> - </description> - </method> - <method name="has_smoothing" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="set_rotation_smoothing"> - <argument index="0" name="amount" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_rotation_smoothing" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="set_translation_smoothing"> - <argument index="0" name="amount" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_translation_smoothing" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="set_use_lookat_target"> - <argument index="0" name="use" type="bool"> - </argument> - <argument index="1" name="lookat" type="Vector3" default="Vector3(0, 0, 0)"> - </argument> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="Font" inherits="Resource" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_height"> - <argument index="0" name="px" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_height" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="set_ascent"> - <argument index="0" name="px" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_ascent" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="get_descent" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="add_kerning_pair"> - <argument index="0" name="char_a" type="int"> - </argument> - <argument index="1" name="char_b" type="int"> - </argument> - <argument index="2" name="kerning" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_kerning_pair" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="arg0" type="int"> - </argument> - <argument index="1" name="arg1" type="int"> - </argument> - <description> - </description> - </method> - <method name="add_texture"> - <argument index="0" name="texture" type="Texture"> - </argument> - <description> - </description> - </method> - <method name="add_char"> - <argument index="0" name="character" type="int"> - </argument> - <argument index="1" name="texture" type="int"> - </argument> - <argument index="2" name="rect" type="Rect2"> - </argument> - <argument index="3" name="align" type="Vector2" default="Vector2(0,0)"> - </argument> - <argument index="4" name="advance" type="real" default="-1"> - </argument> - <description> - </description> - </method> - <method name="get_char_size" qualifiers="const"> - <return type="Vector2"> - </return> - <argument index="0" name="char" type="int"> - </argument> - <argument index="1" name="next" type="int" default="0"> - </argument> - <description> - </description> - </method> - <method name="get_string_size" qualifiers="const"> - <return type="Vector2"> - </return> - <argument index="0" name="string" type="String"> - </argument> - <description> - </description> - </method> - <method name="clear"> - <description> - </description> - </method> - <method name="draw" qualifiers="const"> - <argument index="0" name="canvas_item" type="RID"> - </argument> - <argument index="1" name="pos" type="Vector2"> - </argument> - <argument index="2" name="string" type="String"> - </argument> - <argument index="3" name="modulate" type="Color" default="Color(1,1,1,1)"> - </argument> - <argument index="4" name="clip_w" type="int" default="-1"> - </argument> - <description> - </description> - </method> - <method name="draw_char" qualifiers="const"> - <return type="real"> - </return> - <argument index="0" name="canvas_item" type="RID"> - </argument> - <argument index="1" name="pos" type="Vector2"> - </argument> - <argument index="2" name="char" type="int"> - </argument> - <argument index="3" name="next" type="int" default="-1"> - </argument> - <argument index="4" name="modulate" type="Color" default="Color(1,1,1,1)"> - </argument> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="GDNativeClass" inherits="Reference" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="new"> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="GDScript" inherits="Script" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="new"> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="GammaFX" inherits="ScenarioFX" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - </methods> - <constants> - </constants> -</class> -<class name="_Geometry" inherits="Object" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="build_box_planes"> - <return type="Array"> - </return> - <argument index="0" name="extents" type="Vector3"> - </argument> - <description> - </description> - </method> - <method name="build_cylinder_planes"> - <return type="Array"> - </return> - <argument index="0" name="radius" type="real"> - </argument> - <argument index="1" name="height" type="real"> - </argument> - <argument index="2" name="sides" type="int"> - </argument> - <argument index="3" name="axis" type="int" default="2"> - </argument> - <description> - </description> - </method> - <method name="build_capsule_planes"> - <return type="Array"> - </return> - <argument index="0" name="radius" type="real"> - </argument> - <argument index="1" name="height" type="real"> - </argument> - <argument index="2" name="sides" type="int"> - </argument> - <argument index="3" name="lats" type="int"> - </argument> - <argument index="4" name="axis" type="int" default="2"> - </argument> - <description> - </description> - </method> - <method name="segment_intersects_circle"> - <return type="real"> - </return> - <argument index="0" name="segment_from" type="Vector2"> - </argument> - <argument index="1" name="segment_to" type="Vector2"> - </argument> - <argument index="2" name="circle_pos" type="Vector2"> - </argument> - <argument index="3" name="circle_radius" type="real"> - </argument> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="GeometryInstance" inherits="VisualInstance" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_visible"> - <argument index="0" name="visible" type="bool"> - </argument> - <description> - </description> - </method> - <method name="is_visible" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="set_material_override"> - <argument index="0" name="material" type="Object"> - </argument> - <description> - </description> - </method> - <method name="get_material_override" qualifiers="const"> - <return type="Object"> - </return> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="Globals" inherits="Object" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="has" qualifiers="const"> - <return type="bool"> - </return> - <argument index="0" name="name" type="String"> - </argument> - <description> - </description> - </method> - <method name="set_order"> - <argument index="0" name="name" type="String"> - </argument> - <argument index="1" name="pos" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_order" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="name" type="String"> - </argument> - <description> - </description> - </method> - <method name="set_persisting"> - <argument index="0" name="name" type="String"> - </argument> - <argument index="1" name="enable" type="bool"> - </argument> - <description> - </description> - </method> - <method name="is_persisting" qualifiers="const"> - <return type="bool"> - </return> - <argument index="0" name="name" type="String"> - </argument> - <description> - </description> - </method> - <method name="clear"> - <argument index="0" name="name" type="String"> - </argument> - <description> - </description> - </method> - <method name="localize_path" qualifiers="const"> - <return type="String"> - </return> - <argument index="0" name="path" type="String"> - </argument> - <description> - </description> - </method> - <method name="globalize_path" qualifiers="const"> - <return type="String"> - </return> - <argument index="0" name="path" type="String"> - </argument> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="GlowFX" inherits="ScenarioFX" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - </methods> - <constants> - </constants> -</class> -<class name="GridMap" inherits="Spatial" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_theme"> - <argument index="0" name="theme" type="MeshLibrary"> - </argument> - <description> - </description> - </method> - <method name="get_theme" qualifiers="const"> - <return type="MeshLibrary"> - </return> - <description> - </description> - </method> - <method name="set_cell_size"> - <argument index="0" name="size" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_cell_size" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="set_octant_size"> - <argument index="0" name="size" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_octant_size" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="set_width"> - <argument index="0" name="width" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_width" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="set_height"> - <argument index="0" name="height" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_height" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="set_depth"> - <argument index="0" name="depth" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_depth" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="set_cell_item"> - <argument index="0" name="x" type="int"> - </argument> - <argument index="1" name="y" type="int"> - </argument> - <argument index="2" name="z" type="int"> - </argument> - <argument index="3" name="item" type="int"> - </argument> - <argument index="4" name="orientation" type="int" default="0"> - </argument> - <description> - </description> - </method> - <method name="get_cell_item" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="x" type="int"> - </argument> - <argument index="1" name="y" type="int"> - </argument> - <argument index="2" name="z" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_cell_item_orientation" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="x" type="int"> - </argument> - <argument index="1" name="y" type="int"> - </argument> - <argument index="2" name="z" type="int"> - </argument> - <description> - </description> - </method> - <method name="resource_changed"> - <argument index="0" name="arg0" type="Object"> - </argument> - <description> - </description> - </method> - <method name="set_center_x"> - <argument index="0" name="enable" type="bool"> - </argument> - <description> - </description> - </method> - <method name="get_center_x" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="set_center_y"> - <argument index="0" name="enable" type="bool"> - </argument> - <description> - </description> - </method> - <method name="get_center_y" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="set_center_z"> - <argument index="0" name="enable" type="bool"> - </argument> - <description> - </description> - </method> - <method name="get_center_z" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="set_clip"> - <argument index="0" name="enabled" type="bool"> - </argument> - <argument index="1" name="clipabove" type="bool" default="true"> - </argument> - <argument index="2" name="floor" type="int" default="0"> - </argument> - <argument index="3" name="axis" type="int" default="0"> - </argument> - <description> - </description> - </method> - <method name="crate_area"> - <return type="int"> - </return> - <argument index="0" name="id" type="int"> - </argument> - <argument index="1" name="area" type="AABB"> - </argument> - <description> - </description> - </method> - <method name="area_get_bounds" qualifiers="const"> - <return type="AABB"> - </return> - <argument index="0" name="area" type="int"> - </argument> - <description> - </description> - </method> - <method name="area_set_exterior_portal"> - <argument index="0" name="area" type="int"> - </argument> - <argument index="1" name="enable" type="bool"> - </argument> - <description> - </description> - </method> - <method name="area_set_name"> - <argument index="0" name="area" type="int"> - </argument> - <argument index="1" name="name" type="String"> - </argument> - <description> - </description> - </method> - <method name="area_get_name" qualifiers="const"> - <return type="String"> - </return> - <argument index="0" name="area" type="int"> - </argument> - <description> - </description> - </method> - <method name="area_is_exterior_portal" qualifiers="const"> - <return type="bool"> - </return> - <argument index="0" name="area" type="int"> - </argument> - <description> - </description> - </method> - <method name="area_set_portal_disable_distance"> - <argument index="0" name="area" type="int"> - </argument> - <argument index="1" name="distance" type="real"> - </argument> - <description> - </description> - </method> - <method name="area_get_portal_disable_distance" qualifiers="const"> - <return type="real"> - </return> - <argument index="0" name="area" type="int"> - </argument> - <description> - </description> - </method> - <method name="area_set_portal_disable_color"> - <argument index="0" name="area" type="int"> - </argument> - <argument index="1" name="color" type="Color"> - </argument> - <description> - </description> - </method> - <method name="area_get_portal_disable_color" qualifiers="const"> - <return type="Color"> - </return> - <argument index="0" name="area" type="int"> - </argument> - <description> - </description> - </method> - <method name="erase_area"> - <argument index="0" name="area" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_unused_area_id" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - </methods> - <constants> - <constant name="INVALID_CELL_ITEM" value="-1"> - </constant> - </constants> -</class> -<class name="GrooveJoint2D" inherits="Joint2D" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_length"> - <argument index="0" name="length" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_length" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="set_initial_offset"> - <argument index="0" name="offset" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_initial_offset" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="HBoxContainer" inherits="BoxContainer" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - </methods> - <constants> - </constants> -</class> -<class name="HButtonArray" inherits="ButtonArray" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - </methods> - <constants> - </constants> -</class> -<class name="HDRFX" inherits="ScenarioFX" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - </methods> - <constants> - </constants> -</class> -<class name="HScrollBar" inherits="ScrollBar" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - </methods> - <constants> - </constants> -</class> -<class name="HSeparator" inherits="Separator" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - </methods> - <constants> - </constants> -</class> -<class name="HSlider" inherits="Slider" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - </methods> - <constants> - </constants> -</class> -<class name="IP" inherits="Object" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="resolve_hostname"> - <return type="String"> - </return> - <argument index="0" name="host" type="String"> - </argument> - <description> - </description> - </method> - <method name="resolve_hostname_queue_item"> - <return type="int"> - </return> - <argument index="0" name="host" type="String"> - </argument> - <description> - </description> - </method> - <method name="get_resolve_item_status" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="id" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_resolve_item_address" qualifiers="const"> - <return type="String"> - </return> - <argument index="0" name="id" type="int"> - </argument> - <description> - </description> - </method> - <method name="erase_resolve_item"> - <argument index="0" name="id" type="int"> - </argument> - <description> - </description> - </method> - </methods> - <constants> - <constant name="RESOLVER_STATUS_NONE" value="0"> - </constant> - <constant name="RESOLVER_STATUS_WAITING" value="1"> - </constant> - <constant name="RESOLVER_STATUS_DONE" value="2"> - </constant> - <constant name="RESOLVER_STATUS_ERROR" value="3"> - </constant> - <constant name="RESOLVER_MAX_QUERIES" value="32"> - </constant> - <constant name="RESOLVER_INVALID_ID" value="-1"> - </constant> - </constants> -</class> -<class name="IP_Unix" inherits="IP" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - </methods> - <constants> - </constants> -</class> -<class name="InputMap" inherits="Object" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - </methods> - <constants> - </constants> -</class> -<class name="InterpolatedCamera" inherits="Camera" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_target_path"> - <argument index="0" name="target_path" type="NodePath"> - </argument> - <description> - </description> - </method> - <method name="get_target_path" qualifiers="const"> - <return type="NodePath"> - </return> - <description> - </description> - </method> - <method name="set_target"> - <argument index="0" name="target" type="Object"> - </argument> - <description> - </description> - </method> - <method name="set_speed"> - <argument index="0" name="speed" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_speed" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="set_interpolation_enabled"> - <argument index="0" name="target_path" type="bool"> - </argument> - <description> - </description> - </method> - <method name="is_interpolation_enabled" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="Joint2D" inherits="Node2D" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_node_a"> - <argument index="0" name="node" type="NodePath"> - </argument> - <description> - </description> - </method> - <method name="get_node_a" qualifiers="const"> - <return type="NodePath"> - </return> - <description> - </description> - </method> - <method name="set_node_b"> - <argument index="0" name="node" type="NodePath"> - </argument> - <description> - </description> - </method> - <method name="get_node_b" qualifiers="const"> - <return type="NodePath"> - </return> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="Label" inherits="Range" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_align"> - <argument index="0" name="align" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_align" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="set_valign"> - <argument index="0" name="valign" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_valign" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="set_text"> - <argument index="0" name="text" type="String"> - </argument> - <description> - </description> - </method> - <method name="get_text" qualifiers="const"> - <return type="String"> - </return> - <description> - </description> - </method> - <method name="set_autowrap"> - <argument index="0" name="enable" type="bool"> - </argument> - <description> - </description> - </method> - <method name="has_autowrap" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="get_line_height" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="get_line_count" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - </methods> - <constants> - <constant name="ALIGN_LEFT" value="0"> - </constant> - <constant name="ALIGN_CENTER" value="1"> - </constant> - <constant name="ALIGN_RIGHT" value="2"> - </constant> - <constant name="ALIGN_FILL" value="3"> - </constant> - <constant name="VALIGN_TOP" value="0"> - </constant> - <constant name="VALIGN_CENTER" value="1"> - </constant> - <constant name="VALIGN_BOTTOM" value="2"> - </constant> - <constant name="VALIGN_FILL" value="3"> - </constant> - </constants> -</class> -<class name="Light" inherits="VisualInstance" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_parameter"> - <argument index="0" name="variable" type="int"> - </argument> - <argument index="1" name="value" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_parameter" qualifiers="const"> - <return type="real"> - </return> - <argument index="0" name="arg0" type="int"> - </argument> - <description> - </description> - </method> - <method name="set_color"> - <argument index="0" name="color" type="int"> - </argument> - <argument index="1" name="value" type="Color"> - </argument> - <description> - </description> - </method> - <method name="get_color" qualifiers="const"> - <return type="Color"> - </return> - <argument index="0" name="arg0" type="int"> - </argument> - <description> - </description> - </method> - <method name="set_project_shadows"> - <argument index="0" name="enable" type="bool"> - </argument> - <description> - </description> - </method> - <method name="has_project_shadows" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="set_projector"> - <argument index="0" name="projector" type="Texture"> - </argument> - <description> - </description> - </method> - <method name="get_projector" qualifiers="const"> - <return type="Texture"> - </return> - <description> - </description> - </method> - <method name="set_operator"> - <argument index="0" name="operator" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_operator" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - </methods> - <constants> - <constant name="PARAM_RADIUS" value="2"> - </constant> - <constant name="PARAM_ENERGY" value="3"> - </constant> - <constant name="PARAM_ATTENUATION" value="4"> - </constant> - <constant name="PARAM_SPOT_ANGLE" value="1"> - </constant> - <constant name="PARAM_SPOT_ATTENUATION" value="4"> - </constant> - <constant name="PARAM_SHADOW_DARKENING" value="5"> - </constant> - <constant name="COLOR_AMBIENT" value="0"> - </constant> - <constant name="COLOR_DIFFUSE" value="1"> - </constant> - <constant name="COLOR_SPECULAR" value="2"> - </constant> - </constants> -</class> -<class name="LineEdit" inherits="Control" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="clear"> - <description> - </description> - </method> - <method name="select_all"> - <description> - </description> - </method> - <method name="set_text"> - <argument index="0" name="text" type="String"> - </argument> - <description> - </description> - </method> - <method name="get_text" qualifiers="const"> - <return type="String"> - </return> - <description> - </description> - </method> - <method name="set_cursor_pos"> - <argument index="0" name="pos" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_cursor_pos" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="set_max_length"> - <argument index="0" name="chars" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_max_length" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="append_at_cursor"> - <argument index="0" name="text" type="String"> - </argument> - <description> - </description> - </method> - <method name="set_editable"> - <argument index="0" name="enabled" type="bool"> - </argument> - <description> - </description> - </method> - <method name="is_editable" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="set_secret"> - <argument index="0" name="enabled" type="bool"> - </argument> - <description> - </description> - </method> - <method name="is_secret" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="select" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - </methods> - <signals> - <signal name="text_entered"> - <argument index="0" name="text" type="String"> - </argument> - <description> - </description> - </signal> - <signal name="text_changed"> - <argument index="0" name="text" type="String"> - </argument> - <description> - </description> - </signal> - </signals> - <constants> - </constants> -</class> -<class name="LineShape2D" inherits="Shape2D" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_normal"> - <argument index="0" name="normal" type="Vector2"> - </argument> - <description> - </description> - </method> - <method name="get_normal" qualifiers="const"> - <return type="Vector2"> - </return> - <description> - </description> - </method> - <method name="set_d"> - <argument index="0" name="d" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_d" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="MainLoop" inherits="Object" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="input_event"> - <argument index="0" name="arg0" type="InputEvent"> - </argument> - <description> - </description> - </method> - </methods> - <constants> - <constant name="NOTIFICATION_WM_FOCUS_IN" value="5"> - </constant> - <constant name="NOTIFICATION_WM_FOCUS_OUT" value="6"> - </constant> - <constant name="NOTIFICATION_WM_QUIT_REQUEST" value="7"> - </constant> - </constants> -</class> -<class name="MarginContainer" inherits="Container" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - </methods> - <constants> - </constants> -</class> -<class name="Material" inherits="Resource" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_flag"> - <argument index="0" name="flag" type="int"> - </argument> - <argument index="1" name="enable" type="bool"> - </argument> - <description> - </description> - </method> - <method name="get_flag" qualifiers="const"> - <return type="bool"> - </return> - <argument index="0" name="flag" type="int"> - </argument> - <description> - </description> - </method> - <method name="set_hint"> - <argument index="0" name="hint" type="int"> - </argument> - <argument index="1" name="enable" type="bool"> - </argument> - <description> - </description> - </method> - <method name="get_hint" qualifiers="const"> - <return type="bool"> - </return> - <argument index="0" name="hint" type="int"> - </argument> - <description> - </description> - </method> - <method name="set_blend_mode"> - <argument index="0" name="mode" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_blend_mode" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="set_shade_model"> - <argument index="0" name="model" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_shade_model" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="set_line_width"> - <argument index="0" name="width" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_line_width" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="set_shader_param"> - <argument index="0" name="param" type="String"> - </argument> - <argument index="1" name="arg1" type="var"> - </argument> - <description> - </description> - </method> - <method name="get_shader_param" qualifiers="const"> - <argument index="0" name="arg0" type="String"> - </argument> - <description> - </description> - </method> - </methods> - <constants> - <constant name="FLAG_VISIBLE" value="0"> - </constant> - <constant name="FLAG_DOUBLE_SIDED" value="1"> - </constant> - <constant name="FLAG_INVERT_FACES" value="2"> - </constant> - <constant name="FLAG_UNSHADED" value="3"> - </constant> - <constant name="FLAG_ONTOP" value="4"> - </constant> - <constant name="FLAG_WIREFRAME" value="5"> - </constant> - <constant name="FLAG_BILLBOARD_TOGGLE" value="6"> - </constant> - <constant name="FLAG_MAX" value="7"> - </constant> - <constant name="HINT_DECAL" value="0"> - </constant> - <constant name="HINT_OPAQUE_PRE_PASS" value="1"> - </constant> - <constant name="HINT_NO_SHADOW" value="2"> - </constant> - <constant name="HINT_NO_DEPTH_DRAW" value="3"> - </constant> - <constant name="HINT_MAX" value="4"> - </constant> - <constant name="SHADE_MODEL_LAMBERT" value="0"> - </constant> - <constant name="SHADE_MODEL_LAMBERT_WRAP" value="1"> - </constant> - <constant name="SHADE_MODEL_FRESNEL" value="2"> - </constant> - <constant name="SHADE_MODEL_TOON" value="3"> - </constant> - <constant name="SHADE_MODEL_CUSTOM_0" value="4"> - </constant> - <constant name="SHADE_MODEL_CUSTOM_1" value="5"> - </constant> - <constant name="SHADE_MODEL_CUSTOM_2" value="6"> - </constant> - <constant name="SHADE_MODEL_CUSTOM_3" value="7"> - </constant> - <constant name="BLEND_MODE_MIX" value="0"> - </constant> - <constant name="BLEND_MODE_ADD" value="1"> - </constant> - <constant name="BLEND_MODE_SUB" value="2"> - </constant> - </constants> -</class> -<class name="MenuButton" inherits="Button" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="get_popup"> - <return type="Object"> - </return> - <description> - </description> - </method> - </methods> - <signals> - <signal name="about_to_show"> - <description> - </description> - </signal> - </signals> - <constants> - </constants> -</class> -<class name="Mesh" inherits="Resource" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="add_morph_target"> - <argument index="0" name="name" type="String"> - </argument> - <description> - </description> - </method> - <method name="get_morph_target_count" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="get_morph_target_name" qualifiers="const"> - <return type="String"> - </return> - <argument index="0" name="index" type="int"> - </argument> - <description> - </description> - </method> - <method name="clear_morph_targets"> - <description> - </description> - </method> - <method name="set_morph_target_mode"> - <argument index="0" name="mode" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_morph_target_mode" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="add_surface"> - <argument index="0" name="primitive" type="int"> - </argument> - <argument index="1" name="format" type="int"> - </argument> - <argument index="2" name="array_len" type="int"> - </argument> - <argument index="3" name="index_array_len" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_surface_count" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="surface_remove"> - <argument index="0" name="surf_idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="surface_set_array"> - <return type="int"> - </return> - <argument index="0" name="surf_idx" type="int"> - </argument> - <argument index="1" name="array" type="int"> - </argument> - <argument index="2" name="data" type="var"> - </argument> - <description> - </description> - </method> - <method name="surface_get_array" qualifiers="const"> - <argument index="0" name="surf_idx" type="int"> - </argument> - <argument index="1" name="array" type="int"> - </argument> - <description> - </description> - </method> - <method name="surface_get_array_len" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="surf_idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="surface_get_array_index_len" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="surf_idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="surface_get_format" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="surf_idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="surface_get_primitive_type" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="surf_idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="surface_set_material"> - <argument index="0" name="surf_idx:Material" type="int"> - </argument> - <argument index="1" name="arg1" type="Object"> - </argument> - <description> - </description> - </method> - <method name="surface_get_material" qualifiers="const"> - <return type="Material"> - </return> - <argument index="0" name="surf_idx" type="int"> - </argument> - <description> - </description> - </method> - </methods> - <constants> - <constant name="NO_INDEX_ARRAY" value="-1"> - </constant> - <constant name="ARRAY_WEIGHTS_SIZE" value="4"> - </constant> - <constant name="ARRAY_VERTEX" value="0"> - </constant> - <constant name="ARRAY_NORMAL" value="1"> - </constant> - <constant name="ARRAY_TANGENT" value="2"> - </constant> - <constant name="ARRAY_COLOR" value="3"> - </constant> - <constant name="ARRAY_TEX_UV" value="4"> - </constant> - <constant name="ARRAY_TEX_UV2" value="5"> - </constant> - <constant name="ARRAY_BONES" value="6"> - </constant> - <constant name="ARRAY_WEIGHTS" value="7"> - </constant> - <constant name="ARRAY_INDEX" value="8"> - </constant> - <constant name="ARRAY_FORMAT_VERTEX" value="1"> - </constant> - <constant name="ARRAY_FORMAT_NORMAL" value="2"> - </constant> - <constant name="ARRAY_FORMAT_TANGENT" value="4"> - </constant> - <constant name="ARRAY_FORMAT_COLOR" value="8"> - </constant> - <constant name="ARRAY_FORMAT_TEX_UV" value="16"> - </constant> - <constant name="ARRAY_FORMAT_TEX_UV2" value="32"> - </constant> - <constant name="ARRAY_FORMAT_BONES" value="64"> - </constant> - <constant name="ARRAY_FORMAT_WEIGHTS" value="128"> - </constant> - <constant name="ARRAY_FORMAT_INDEX" value="256"> - </constant> - <constant name="PRIMITIVE_POINTS" value="0"> - </constant> - <constant name="PRIMITIVE_LINES" value="1"> - </constant> - <constant name="PRIMITIVE_LINE_STRIP" value="2"> - </constant> - <constant name="PRIMITIVE_LINE_LOOP" value="3"> - </constant> - <constant name="PRIMITIVE_TRIANGLES" value="4"> - </constant> - <constant name="PRIMITIVE_TRIANGLE_STRIP" value="5"> - </constant> - <constant name="PRIMITIVE_TRIANGLE_FAN" value="6"> - </constant> - </constants> -</class> -<class name="MeshInstance" inherits="GeometryInstance" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_mesh"> - <argument index="0" name="mesh" type="Mesh"> - </argument> - <description> - </description> - </method> - <method name="get_mesh" qualifiers="const"> - <return type="Mesh"> - </return> - <description> - </description> - </method> - <method name="get_aabb" qualifiers="const"> - <return type="AABB"> - </return> - <description> - </description> - </method> - <method name="create_trimesh_collision"> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="MeshLibrary" inherits="Resource" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="create_item"> - <argument index="0" name="id" type="int"> - </argument> - <description> - </description> - </method> - <method name="set_item_name"> - <argument index="0" name="id" type="int"> - </argument> - <argument index="1" name="name" type="String"> - </argument> - <description> - </description> - </method> - <method name="set_item_mesh"> - <argument index="0" name="id" type="int"> - </argument> - <argument index="1" name="mesh" type="Mesh"> - </argument> - <description> - </description> - </method> - <method name="set_item_shape"> - <argument index="0" name="id" type="int"> - </argument> - <argument index="1" name="shape" type="Shape"> - </argument> - <description> - </description> - </method> - <method name="get_item_name" qualifiers="const"> - <return type="String"> - </return> - <argument index="0" name="id" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_item_mesh" qualifiers="const"> - <return type="Mesh"> - </return> - <argument index="0" name="id" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_item_shape" qualifiers="const"> - <return type="Shape"> - </return> - <argument index="0" name="id" type="int"> - </argument> - <description> - </description> - </method> - <method name="remove_item"> - <argument index="0" name="id" type="int"> - </argument> - <description> - </description> - </method> - <method name="clear"> - <description> - </description> - </method> - <method name="get_item_list" qualifiers="const"> - <return type="IntArray"> - </return> - <description> - </description> - </method> - <method name="get_last_unused_item_id" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="MultiMesh" inherits="Resource" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_mesh"> - <argument index="0" name="mesh" type="Mesh"> - </argument> - <description> - </description> - </method> - <method name="get_mesh" qualifiers="const"> - <return type="Mesh"> - </return> - <description> - </description> - </method> - <method name="set_instance_count"> - <argument index="0" name="arg0" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_instance_count" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="set_instance_transform"> - <argument index="0" name="arg0" type="int"> - </argument> - <argument index="1" name="arg1" type="Transform"> - </argument> - <description> - </description> - </method> - <method name="get_instance_transform" qualifiers="const"> - <return type="Transform"> - </return> - <argument index="0" name="arg0" type="int"> - </argument> - <description> - </description> - </method> - <method name="set_instance_color"> - <argument index="0" name="arg0" type="int"> - </argument> - <argument index="1" name="arg1" type="Color"> - </argument> - <description> - </description> - </method> - <method name="get_instance_color" qualifiers="const"> - <return type="Color"> - </return> - <argument index="0" name="arg0" type="int"> - </argument> - <description> - </description> - </method> - <method name="set_aabb"> - <argument index="0" name="arg0" type="AABB"> - </argument> - <description> - </description> - </method> - <method name="get_aabb" qualifiers="const"> - <return type="AABB"> - </return> - <description> - </description> - </method> - <method name="generate_aabb"> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="MultiMeshInstance" inherits="GeometryInstance" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_multimesh"> - <argument index="0" name="multimesh" type="Object"> - </argument> - <description> - </description> - </method> - <method name="get_multimesh" qualifiers="const"> - <return type="Object"> - </return> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="Node" inherits="Object" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_name"> - <argument index="0" name="name" type="String"> - </argument> - <description> - </description> - </method> - <method name="get_name" qualifiers="const"> - <return type="String"> - </return> - <description> - </description> - </method> - <method name="add_child"> - <argument index="0" name="node" type="Node"> - </argument> - <description> - </description> - </method> - <method name="remove_child"> - <argument index="0" name="node" type="Node"> - </argument> - <description> - </description> - </method> - <method name="remove_and_delete_child"> - <argument index="0" name="node" type="Node"> - </argument> - <description> - </description> - </method> - <method name="get_child_count" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="get_child" qualifiers="const"> - <return type="Node"> - </return> - <argument index="0" name="idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="has_node" qualifiers="const"> - <return type="bool"> - </return> - <argument index="0" name="path" type="NodePath"> - </argument> - <description> - </description> - </method> - <method name="get_node" qualifiers="const"> - <return type="Node"> - </return> - <argument index="0" name="path" type="NodePath"> - </argument> - <description> - </description> - </method> - <method name="get_parent" qualifiers="const"> - <return type="Parent"> - </return> - <description> - </description> - </method> - <method name="has_node_and_resource" qualifiers="const"> - <return type="bool"> - </return> - <argument index="0" name="path" type="NodePath"> - </argument> - <description> - </description> - </method> - <method name="get_node_and_resource"> - <return type="Array"> - </return> - <argument index="0" name="path" type="NodePath"> - </argument> - <description> - </description> - </method> - <method name="is_inside_scene" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="is_a_parent_of" qualifiers="const"> - <return type="bool"> - </return> - <argument index="0" name="node" type="Node"> - </argument> - <description> - </description> - </method> - <method name="is_greater_than" qualifiers="const"> - <return type="bool"> - </return> - <argument index="0" name="node" type="Node"> - </argument> - <description> - </description> - </method> - <method name="get_path" qualifiers="const"> - <return type="NodePath"> - </return> - <description> - </description> - </method> - <method name="get_path_to" qualifiers="const"> - <return type="NodePath"> - </return> - <argument index="0" name="node" type="Node"> - </argument> - <description> - </description> - </method> - <method name="add_to_group"> - <argument index="0" name="group" type="String"> - </argument> - <argument index="1" name="arg1" type="bool" default="false"> - </argument> - <description> - </description> - </method> - <method name="remove_from_group"> - <argument index="0" name="group" type="String"> - </argument> - <description> - </description> - </method> - <method name="is_in_group" qualifiers="const"> - <return type="bool"> - </return> - <argument index="0" name="group" type="String"> - </argument> - <description> - </description> - </method> - <method name="move_child"> - <argument index="0" name="child_node" type="Node"> - </argument> - <argument index="1" name="to_pos" type="int"> - </argument> - <description> - </description> - </method> - <method name="raise"> - <description> - </description> - </method> - <method name="set_owner"> - <argument index="0" name="owner" type="Node"> - </argument> - <description> - </description> - </method> - <method name="get_owner" qualifiers="const"> - <return type="Node"> - </return> - <description> - </description> - </method> - <method name="remove_and_skip"> - <description> - </description> - </method> - <method name="get_index" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="print_tree"> - <description> - </description> - </method> - <method name="set_filename"> - <argument index="0" name="filename" type="String"> - </argument> - <description> - </description> - </method> - <method name="get_filename" qualifiers="const"> - <return type="String"> - </return> - <description> - </description> - </method> - <method name="propagate_notification"> - <argument index="0" name="what" type="int"> - </argument> - <description> - </description> - </method> - <method name="set_process"> - <argument index="0" name="enable" type="bool"> - </argument> - <description> - </description> - </method> - <method name="get_process_time" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="is_processing" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="set_idle_process"> - <argument index="0" name="enable" type="bool"> - </argument> - <description> - </description> - </method> - <method name="get_idle_process_time" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="is_idle_processing" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="set_process_input"> - <argument index="0" name="enable" type="bool"> - </argument> - <description> - </description> - </method> - <method name="is_processing_input" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="set_process_unhandled_input"> - <argument index="0" name="enable" type="bool"> - </argument> - <description> - </description> - </method> - <method name="is_processing_unhandled_input" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="set_process_mode"> - <argument index="0" name="mode" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_process_mode" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="can_process" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="print_stray_nodes"> - <description> - </description> - </method> - <method name="set_world"> - <argument index="0" name="world" type="World"> - </argument> - <description> - </description> - </method> - <method name="get_world" qualifiers="const"> - <return type="World"> - </return> - <description> - </description> - </method> - <method name="get_current_world" qualifiers="const"> - <return type="World"> - </return> - <description> - </description> - </method> - <method name="get_scene" qualifiers="const"> - <return type="SceneMainLoop"> - </return> - <description> - </description> - </method> - <method name="duplicate" qualifiers="const"> - <return type="Node"> - </return> - <description> - </description> - </method> - <method name="replace_by"> - <argument index="0" name="node" type="Node"> - </argument> - <argument index="1" name="keep_data" type="bool" default="false"> - </argument> - <description> - </description> - </method> - </methods> - <signals> - <signal name="enter_scene"> - <description> - </description> - </signal> - <signal name="renamed"> - <description> - </description> - </signal> - <signal name="exit_scene"> - <description> - </description> - </signal> - </signals> - <constants> - <constant name="NOTIFICATION_ENTER_SCENE" value="10"> - </constant> - <constant name="NOTIFICATION_EXIT_SCENE" value="11"> - </constant> - <constant name="NOTIFICATION_MOVED_IN_PARENT" value="12"> - </constant> - <constant name="NOTIFICATION_CHILDREN_CONFIGURED" value="13"> - </constant> - <constant name="NOTIFICATION_PROCESS" value="16"> - </constant> - <constant name="NOTIFICATION_IDLE_PROCESS" value="17"> - </constant> - <constant name="NOTIFICATION_PARENTED" value="18"> - </constant> - <constant name="NOTIFICATION_UNPARENTED" value="19"> - </constant> - <constant name="NOTIFICATION_ENTER_WORLD" value="20"> - </constant> - <constant name="NOTIFICATION_EXIT_WORLD" value="21"> - </constant> - <constant name="NOTIFICATION_PAUSED" value="14"> - </constant> - <constant name="NOTIFICATION_UNPAUSED" value="15"> - </constant> - <constant name="PROCESS_NORMAL" value="0"> - </constant> - <constant name="PROCESS_PAUSE" value="1"> - </constant> - <constant name="PROCESS_ALWAYS" value="2"> - </constant> - </constants> -</class> -<class name="Node2D" inherits="CanvasItem" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_pos"> - <argument index="0" name="pos" type="Vector2"> - </argument> - <description> - </description> - </method> - <method name="set_rot"> - <argument index="0" name="rot" type="real"> - </argument> - <description> - </description> - </method> - <method name="set_scale"> - <argument index="0" name="scale" type="Vector2"> - </argument> - <description> - </description> - </method> - <method name="get_pos" qualifiers="const"> - <return type="Vector2"> - </return> - <description> - </description> - </method> - <method name="get_rot" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="get_scale" qualifiers="const"> - <return type="Vector2"> - </return> - <description> - </description> - </method> - <method name="get_global_pos" qualifiers="const"> - <return type="Vector2"> - </return> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="_OS" inherits="Object" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_mouse_show"> - <argument index="0" name="show" type="bool"> - </argument> - <description> - </description> - </method> - <method name="set_mouse_grab"> - <argument index="0" name="grab" type="bool"> - </argument> - <description> - </description> - </method> - <method name="is_mouse_grab_enabled" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="get_mouse_pos" qualifiers="const"> - <return type="Vector2"> - </return> - <description> - </description> - </method> - <method name="set_clipboard"> - <argument index="0" name="clipboard" type="String"> - </argument> - <description> - </description> - </method> - <method name="get_clipboard" qualifiers="const"> - <return type="String"> - </return> - <description> - </description> - </method> - <method name="set_video_mode"> - <argument index="0" name="size" type="Vector2"> - </argument> - <argument index="1" name="fullscreen" type="bool"> - </argument> - <argument index="2" name="resizable" type="bool"> - </argument> - <argument index="3" name="screen" type="int" default="0"> - </argument> - <description> - </description> - </method> - <method name="get_video_mode_size" qualifiers="const"> - <return type="Vector2"> - </return> - <argument index="0" name="screen" type="int" default="0"> - </argument> - <description> - </description> - </method> - <method name="is_video_mode_fullscreen" qualifiers="const"> - <return type="bool"> - </return> - <argument index="0" name="screen" type="int" default="0"> - </argument> - <description> - </description> - </method> - <method name="is_video_mode_resizable" qualifiers="const"> - <return type="bool"> - </return> - <argument index="0" name="screen" type="int" default="0"> - </argument> - <description> - </description> - </method> - <method name="get_fullscreen_mode_list" qualifiers="const"> - <return type="Array"> - </return> - <argument index="0" name="screen" type="int" default="0"> - </argument> - <description> - </description> - </method> - <method name="set_iterations_per_second"> - <argument index="0" name="iterations_per_second" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_iterations_per_second" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="set_low_processor_usage_mode"> - <argument index="0" name="enable" type="bool"> - </argument> - <description> - </description> - </method> - <method name="is_in_low_processor_usage_mode" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="get_executable_path" qualifiers="const"> - <return type="String"> - </return> - <description> - </description> - </method> - <method name="execute"> - <return type="int"> - </return> - <argument index="0" name="path" type="String"> - </argument> - <argument index="1" name="arguments" type="StringArray"> - </argument> - <argument index="2" name="blocking" type="bool"> - </argument> - <description> - </description> - </method> - <method name="kill"> - <return type="int"> - </return> - <argument index="0" name="pid" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_environment" qualifiers="const"> - <return type="String"> - </return> - <argument index="0" name="environment" type="String"> - </argument> - <description> - </description> - </method> - <method name="has_environment" qualifiers="const"> - <return type="bool"> - </return> - <argument index="0" name="environment" type="String"> - </argument> - <description> - </description> - </method> - <method name="get_name" qualifiers="const"> - <return type="String"> - </return> - <description> - </description> - </method> - <method name="get_cmdline_args"> - <return type="StringArray"> - </return> - <description> - </description> - </method> - <method name="get_main_loop" qualifiers="const"> - <return type="Object"> - </return> - <description> - </description> - </method> - <method name="get_date" qualifiers="const"> - <return type="Dictionary"> - </return> - <description> - </description> - </method> - <method name="get_time" qualifiers="const"> - <return type="Dictionary"> - </return> - <description> - </description> - </method> - <method name="delay_usec" qualifiers="const"> - <argument index="0" name="usec" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_ticks_msec" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="get_locale" qualifiers="const"> - <return type="String"> - </return> - <description> - </description> - </method> - <method name="can_draw" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="get_frames_drawn"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="is_stdout_verbose" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="get_mouse_button_state" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="dump_memory_to_file"> - <argument index="0" name="file" type="String"> - </argument> - <description> - </description> - </method> - <method name="dump_resources_to_file"> - <argument index="0" name="file" type="String"> - </argument> - <description> - </description> - </method> - <method name="print_resources_in_use"> - <argument index="0" name="short" type="bool" default="false"> - </argument> - <description> - </description> - </method> - <method name="print_all_resources"> - <argument index="0" name="tofile" type="String" default=""""> - </argument> - <description> - </description> - </method> - <method name="get_static_memory_usage" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="get_static_memory_peak_usage" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="get_dynamic_memory_usage" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - </methods> - <constants> - <constant name="DAY_SUNDAY" value="0"> - </constant> - <constant name="DAY_MONDAY" value="1"> - </constant> - <constant name="DAY_TUESDAY" value="2"> - </constant> - <constant name="DAY_WEDNESDAY" value="3"> - </constant> - <constant name="DAY_THURSDAY" value="4"> - </constant> - <constant name="DAY_FRIDAY" value="5"> - </constant> - <constant name="DAY_SATURDAY" value="6"> - </constant> - <constant name="MONTH_JANUARY" value="0"> - </constant> - <constant name="MONTH_FEBRUARY" value="1"> - </constant> - <constant name="MONTH_MARCH" value="2"> - </constant> - <constant name="MONTH_APRIL" value="3"> - </constant> - <constant name="MONTH_MAY" value="4"> - </constant> - <constant name="MONTH_JUNE" value="5"> - </constant> - <constant name="MONTH_JULY" value="6"> - </constant> - <constant name="MONTH_AUGUST" value="7"> - </constant> - <constant name="MONTH_SEPTEMBER" value="8"> - </constant> - <constant name="MONTH_OCTOBER" value="9"> - </constant> - <constant name="MONTH_NOVEMBER" value="10"> - </constant> - <constant name="MONTH_DECEMBER" value="11"> - </constant> - </constants> -</class> -<class name="Object" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="get_type" qualifiers="const"> - <return type="String"> - </return> - <description> - </description> - </method> - <method name="is_type" qualifiers="const"> - <return type="bool"> - </return> - <argument index="0" name="type" type="String"> - </argument> - <description> - </description> - </method> - <method name="set"> - <argument index="0" name="property" type="String"> - </argument> - <argument index="1" name="value" type="var"> - </argument> - <description> - </description> - </method> - <method name="get" qualifiers="const"> - <argument index="0" name="property" type="String"> - </argument> - <description> - </description> - </method> - <method name="get_property_list" qualifiers="const"> - <return type="Array"> - </return> - <description> - </description> - </method> - <method name="notification"> - <argument index="0" name="what" type="int"> - </argument> - <argument index="1" name="arg1" type="bool" default="false"> - </argument> - <description> - </description> - </method> - <method name="get_instance_ID" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="set_script"> - <argument index="0" name="script" type="Script"> - </argument> - <description> - </description> - </method> - <method name="get_script" qualifiers="const"> - <return type="Script"> - </return> - <description> - </description> - </method> - <method name="set_meta"> - <argument index="0" name="name" type="String"> - </argument> - <argument index="1" name="value" type="var"> - </argument> - <description> - </description> - </method> - <method name="get_meta" qualifiers="const"> - <argument index="0" name="name" type="String"> - </argument> - <description> - </description> - </method> - <method name="has_meta" qualifiers="const"> - <return type="bool"> - </return> - <argument index="0" name="name" type="String"> - </argument> - <description> - </description> - </method> - <method name="get_meta_list" qualifiers="const"> - <return type="StringArray"> - </return> - <description> - </description> - </method> - <method name="call"> - <argument index="0" name="method" type="String"> - </argument> - <argument index="1" name="arg1" type="var" default="NULL"> - </argument> - <argument index="2" name="arg2" type="var" default="NULL"> - </argument> - <argument index="3" name="arg3" type="var" default="NULL"> - </argument> - <argument index="4" name="arg4" type="var" default="NULL"> - </argument> - <description> - </description> - </method> - <method name="call_deferred"> - <argument index="0" name="method" type="String"> - </argument> - <argument index="1" name="arg1" type="var" default="NULL"> - </argument> - <argument index="2" name="arg2" type="var" default="NULL"> - </argument> - <argument index="3" name="arg3" type="var" default="NULL"> - </argument> - <argument index="4" name="arg4" type="var" default="NULL"> - </argument> - <description> - </description> - </method> - <method name="add_user_signal"> - <argument index="0" name="signal" type="String"> - </argument> - <argument index="1" name="arguments" type="Array" default="Array()"> - </argument> - <description> - </description> - </method> - <method name="emit_signal"> - <argument index="0" name="signal" type="String"> - </argument> - <argument index="1" name="arguments" type="Array" default="Array()"> - </argument> - <description> - </description> - </method> - <method name="get_signal_list" qualifiers="const"> - <return type="Array"> - </return> - <description> - </description> - </method> - <method name="connect"> - <argument index="0" name="signal" type="String"> - </argument> - <argument index="1" name="target" type="Object"> - </argument> - <argument index="2" name="method" type="String"> - </argument> - <argument index="3" name="binds" type="Array" default="Array()"> - </argument> - <argument index="4" name="flags" type="int" default="0"> - </argument> - <description> - </description> - </method> - <method name="disconnect"> - <argument index="0" name="signal" type="String"> - </argument> - <argument index="1" name="target" type="Object"> - </argument> - <argument index="2" name="method" type="String"> - </argument> - <description> - </description> - </method> - <method name="is_connected" qualifiers="const"> - <return type="bool"> - </return> - <argument index="0" name="signal" type="String"> - </argument> - <argument index="1" name="target" type="Object"> - </argument> - <argument index="2" name="method" type="String"> - </argument> - <description> - </description> - </method> - <method name="set_block_signals"> - <argument index="0" name="enable" type="bool"> - </argument> - <description> - </description> - </method> - <method name="is_blocking_signals" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="set_message_translation"> - <argument index="0" name="enable" type="bool"> - </argument> - <description> - </description> - </method> - <method name="can_translate_messages"> - <argument index="0" name="arg0" type="bool"> - </argument> - <description> - </description> - </method> - <method name="XL_MESSAGE" qualifiers="const"> - <return type="String"> - </return> - <argument index="0" name="message" type="String"> - </argument> - <description> - </description> - </method> - <method name="tr" qualifiers="const"> - <return type="String"> - </return> - <argument index="0" name="message" type="String"> - </argument> - <description> - </description> - </method> - </methods> - <constants> - <constant name="NOTIFICATION_POSTINITIALIZE" value="0"> - </constant> - <constant name="NOTIFICATION_PREDELETE" value="1"> - </constant> - <constant name="CONNECT_DEFERRED" value="1"> - </constant> - <constant name="CONNECT_PERSIST" value="2"> - </constant> - <constant name="CONNECT_ONESHOT" value="4"> - </constant> - </constants> -</class> -<class name="OmniLight" inherits="Light" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - </methods> - <constants> - </constants> -</class> -<class name="OptimizedSaver" inherits="Reference" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_target_platform"> - <argument index="0" name="name" type="String"> - </argument> - <description> - </description> - </method> - <method name="get_target_platform" qualifiers="const"> - <return type="String"> - </return> - <description> - </description> - </method> - <method name="set_target_name"> - <argument index="0" name="name" type="String"> - </argument> - <description> - </description> - </method> - <method name="add_property"> - <argument index="0" name="name" type="String"> - </argument> - <argument index="1" name="value" type="var"> - </argument> - <description> - </description> - </method> - <method name="optimize_object"> - <return type="bool"> - </return> - <argument index="0" name="obj" type="Object"> - </argument> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="OptionButton" inherits="Button" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="add_item"> - <argument index="0" name="label" type="String"> - </argument> - <argument index="1" name="id" type="int" default="-1"> - </argument> - <description> - </description> - </method> - <method name="add_icon_item"> - <argument index="0" name="texture" type="Texture"> - </argument> - <argument index="1" name="label" type="String"> - </argument> - <argument index="2" name="id" type="int"> - </argument> - <description> - </description> - </method> - <method name="set_item_text"> - <argument index="0" name="idx" type="int"> - </argument> - <argument index="1" name="text" type="String"> - </argument> - <description> - </description> - </method> - <method name="set_item_icon"> - <argument index="0" name="idx" type="int"> - </argument> - <argument index="1" name="texture" type="Texture"> - </argument> - <description> - </description> - </method> - <method name="set_item_disabled"> - <argument index="0" name="idx" type="int"> - </argument> - <argument index="1" name="disabled" type="bool"> - </argument> - <description> - </description> - </method> - <method name="set_item_ID"> - <argument index="0" name="idx" type="int"> - </argument> - <argument index="1" name="id" type="int"> - </argument> - <description> - </description> - </method> - <method name="set_item_metadata"> - <argument index="0" name="idx" type="int"> - </argument> - <argument index="1" name="metadata" type="var"> - </argument> - <description> - </description> - </method> - <method name="get_item_text" qualifiers="const"> - <return type="String"> - </return> - <argument index="0" name="idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_item_icon" qualifiers="const"> - <return type="Texture"> - </return> - <argument index="0" name="idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_item_ID" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_item_metadata" qualifiers="const"> - <argument index="0" name="idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="is_item_disabled" qualifiers="const"> - <return type="bool"> - </return> - <argument index="0" name="idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_item_count" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="add_separator"> - <description> - </description> - </method> - <method name="clear"> - <description> - </description> - </method> - <method name="select"> - <argument index="0" name="arg0" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_selected" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="get_selected_ID" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="get_selected_metadata" qualifiers="const"> - <description> - </description> - </method> - <method name="remove_item"> - <argument index="0" name="idx" type="int"> - </argument> - <description> - </description> - </method> - </methods> - <signals> - <signal name="item_selected"> - <argument index="0" name="ID" type="int"> - </argument> - <description> - </description> - </signal> - </signals> - <constants> - </constants> -</class> -<class name="PHashTranslation" inherits="Translation" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - </methods> - <constants> - </constants> -</class> -<class name="PacketPeer" inherits="Object" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - </methods> - <constants> - </constants> -</class> -<class name="PacketPeerStream" inherits="PacketPeer" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_stream_peer"> - <argument index="0" name="peer" type="StreamPeer"> - </argument> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="Panel" inherits="Control" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - </methods> - <constants> - </constants> -</class> -<class name="ParallaxBackground" inherits="CanvasLayer" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_scroll_offset"> - <argument index="0" name="ofs" type="Vector2"> - </argument> - <description> - </description> - </method> - <method name="get_scroll_offset" qualifiers="const"> - <return type="Vector2"> - </return> - <description> - </description> - </method> - <method name="set_scroll_base_offset"> - <argument index="0" name="ofs" type="Vector2"> - </argument> - <description> - </description> - </method> - <method name="get_scroll_base_offset" qualifiers="const"> - <return type="Vector2"> - </return> - <description> - </description> - </method> - <method name="set_scroll_base_scale"> - <argument index="0" name="scale" type="Vector2"> - </argument> - <description> - </description> - </method> - <method name="get_scroll_base_scale" qualifiers="const"> - <return type="Vector2"> - </return> - <description> - </description> - </method> - <method name="set_limit_begin"> - <argument index="0" name="ofs" type="Vector2"> - </argument> - <description> - </description> - </method> - <method name="get_limit_begin" qualifiers="const"> - <return type="Vector2"> - </return> - <description> - </description> - </method> - <method name="set_limit_end"> - <argument index="0" name="ofs" type="Vector2"> - </argument> - <description> - </description> - </method> - <method name="get_limit_end" qualifiers="const"> - <return type="Vector2"> - </return> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="ParallaxLayer" inherits="Node2D" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_motion_scale"> - <argument index="0" name="scale" type="Vector2"> - </argument> - <description> - </description> - </method> - <method name="get_motion_scale" qualifiers="const"> - <return type="Vector2"> - </return> - <description> - </description> - </method> - <method name="set_motion_wrap_begin"> - <argument index="0" name="wrap_begin" type="Vector2"> - </argument> - <description> - </description> - </method> - <method name="get_motion_wrap_begin" qualifiers="const"> - <return type="Vector2"> - </return> - <description> - </description> - </method> - <method name="set_motion_wrap_end"> - <argument index="0" name="wrap_end" type="Vector2"> - </argument> - <description> - </description> - </method> - <method name="get_motion_wrap_end" qualifiers="const"> - <return type="Vector2"> - </return> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="Particles" inherits="VisualInstance" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_amount"> - <argument index="0" name="amount" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_amount" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="set_emitting"> - <argument index="0" name="enabled" type="bool"> - </argument> - <description> - </description> - </method> - <method name="is_emitting" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="set_visibility_aabb"> - <argument index="0" name="aabb" type="AABB"> - </argument> - <description> - </description> - </method> - <method name="get_visibility_aabb" qualifiers="const"> - <return type="AABB"> - </return> - <description> - </description> - </method> - <method name="set_emission_half_extents"> - <argument index="0" name="half_extents" type="Vector3"> - </argument> - <description> - </description> - </method> - <method name="get_emission_half_extents" qualifiers="const"> - <return type="Vector3"> - </return> - <description> - </description> - </method> - <method name="set_emission_base_velocity"> - <argument index="0" name="base_velocity" type="Vector3"> - </argument> - <description> - </description> - </method> - <method name="get_emission_base_velocity" qualifiers="const"> - <return type="Vector3"> - </return> - <description> - </description> - </method> - <method name="set_emission_points"> - <argument index="0" name="points" type="Vector3Array"> - </argument> - <description> - </description> - </method> - <method name="get_emission_points" qualifiers="const"> - <return type="Vector3Array"> - </return> - <description> - </description> - </method> - <method name="set_gravity_normal"> - <argument index="0" name="normal" type="Vector3"> - </argument> - <description> - </description> - </method> - <method name="get_gravity_normal" qualifiers="const"> - <return type="Vector3"> - </return> - <description> - </description> - </method> - <method name="set_variable"> - <argument index="0" name="variable" type="int"> - </argument> - <argument index="1" name="value" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_variable" qualifiers="const"> - <return type="real"> - </return> - <argument index="0" name="variable" type="int"> - </argument> - <description> - </description> - </method> - <method name="set_randomness"> - <argument index="0" name="variable" type="int"> - </argument> - <argument index="1" name="randomness" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_randomness" qualifiers="const"> - <return type="real"> - </return> - <argument index="0" name="arg0" type="int"> - </argument> - <description> - </description> - </method> - <method name="set_color_phase_pos"> - <argument index="0" name="phase" type="int"> - </argument> - <argument index="1" name="pos" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_color_phase_pos" qualifiers="const"> - <return type="real"> - </return> - <argument index="0" name="phase" type="int"> - </argument> - <description> - </description> - </method> - <method name="set_color_phase_color"> - <argument index="0" name="phase" type="int"> - </argument> - <argument index="1" name="color" type="Color"> - </argument> - <description> - </description> - </method> - <method name="get_color_phase_color" qualifiers="const"> - <return type="Color"> - </return> - <argument index="0" name="phase" type="int"> - </argument> - <description> - </description> - </method> - <method name="set_material"> - <argument index="0" name="material" type="Material"> - </argument> - <description> - </description> - </method> - <method name="get_material" qualifiers="const"> - <return type="Material"> - </return> - <description> - </description> - </method> - <method name="set_emit_timeout"> - <argument index="0" name="arg0" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_emit_timeout" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="set_height_from_velocity"> - <argument index="0" name="enable" type="bool"> - </argument> - <description> - </description> - </method> - <method name="has_height_from_velocity" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="set_color_phases"> - <argument index="0" name="count" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_color_phases" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - </methods> - <constants> - <constant name="VAR_LIFETIME" value="0"> - </constant> - <constant name="VAR_SPREAD" value="1"> - </constant> - <constant name="VAR_GRAVITY" value="2"> - </constant> - <constant name="VAR_LINEAR_VELOCITY" value="3"> - </constant> - <constant name="VAR_ANGULAR_VELOCITY" value="4"> - </constant> - <constant name="VAR_LINEAR_ACCELERATION" value="5"> - </constant> - <constant name="VAR_DRAG" value="6"> - </constant> - <constant name="VAR_TANGENTIAL_ACCELERATION" value="7"> - </constant> - <constant name="VAR_INITIAL_SIZE" value="9"> - </constant> - <constant name="VAR_FINAL_SIZE" value="10"> - </constant> - <constant name="VAR_INITIAL_ANGLE" value="11"> - </constant> - <constant name="VAR_HEIGHT" value="12"> - </constant> - <constant name="VAR_HEIGHT_SPEED_SCALE" value="13"> - </constant> - <constant name="VAR_MAX" value="14"> - </constant> - </constants> -</class> -<class name="Particles2D" inherits="Node2D" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_emitting"> - <argument index="0" name="active" type="bool"> - </argument> - <description> - </description> - </method> - <method name="is_emitting" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="set_amount"> - <argument index="0" name="amount" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_amount" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="set_lifetime"> - <argument index="0" name="lifetime" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_lifetime" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="set_pre_process_time"> - <argument index="0" name="time" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_pre_process_time" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="set_emit_timeout"> - <argument index="0" name="value" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_emit_timeout" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="set_param"> - <argument index="0" name="param" type="int"> - </argument> - <argument index="1" name="value" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_param" qualifiers="const"> - <return type="real"> - </return> - <argument index="0" name="param" type="int"> - </argument> - <description> - </description> - </method> - <method name="set_randomness"> - <argument index="0" name="param" type="int"> - </argument> - <argument index="1" name="value" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_randomness" qualifiers="const"> - <return type="real"> - </return> - <argument index="0" name="param" type="int"> - </argument> - <description> - </description> - </method> - <method name="set_texture"> - <argument index="0" name="texture" type="Object"> - </argument> - <description> - </description> - </method> - <method name="get_texture" qualifiers="const"> - <return type="Texture"> - </return> - <description> - </description> - </method> - <method name="set_emissor_offset"> - <argument index="0" name="offset" type="Vector2"> - </argument> - <description> - </description> - </method> - <method name="get_emissor_offset" qualifiers="const"> - <return type="Vector2"> - </return> - <description> - </description> - </method> - <method name="set_emission_half_extents"> - <argument index="0" name="extents" type="Vector2"> - </argument> - <description> - </description> - </method> - <method name="get_emission_half_extents" qualifiers="const"> - <return type="Vector2"> - </return> - <description> - </description> - </method> - <method name="set_color_phases"> - <argument index="0" name="phases" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_color_phases" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="set_color_phase_color"> - <argument index="0" name="phase" type="int"> - </argument> - <argument index="1" name="color" type="Color"> - </argument> - <description> - </description> - </method> - <method name="get_color_phase_color" qualifiers="const"> - <return type="Color"> - </return> - <argument index="0" name="phase" type="int"> - </argument> - <description> - </description> - </method> - <method name="set_color_phase_pos"> - <argument index="0" name="phase" type="int"> - </argument> - <argument index="1" name="pos" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_color_phase_pos" qualifiers="const"> - <return type="real"> - </return> - <argument index="0" name="phase" type="int"> - </argument> - <description> - </description> - </method> - <method name="pre_process"> - <argument index="0" name="time" type="real"> - </argument> - <description> - </description> - </method> - <method name="set_use_local_space"> - <argument index="0" name="enable" type="bool"> - </argument> - <description> - </description> - </method> - <method name="is_using_local_space" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="set_initial_velocity"> - <argument index="0" name="velocity" type="Vector2"> - </argument> - <description> - </description> - </method> - <method name="get_initial_velocity" qualifiers="const"> - <return type="Vector2"> - </return> - <description> - </description> - </method> - <method name="testee"> - <argument index="0" name="arg0" type="int" default="0"> - </argument> - <argument index="1" name="arg1" type="int" default="1"> - </argument> - <argument index="2" name="arg2" type="int" default="2"> - </argument> - <argument index="3" name="arg3" type="int" default="3"> - </argument> - <argument index="4" name="arg4" type="int" default="4"> - </argument> - <description> - </description> - </method> - </methods> - <constants> - <constant name="PARAM_DIRECTION" value="0"> - </constant> - <constant name="PARAM_SPREAD" value="1"> - </constant> - <constant name="PARAM_LINEAR_VELOCITY" value="2"> - </constant> - <constant name="PARAM_SPIN_VELOCITY" value="3"> - </constant> - <constant name="PARAM_GRAVITY_DIRECTION" value="4"> - </constant> - <constant name="PARAM_GRAVITY_STRENGTH" value="5"> - </constant> - <constant name="PARAM_RADIAL_ACCEL" value="6"> - </constant> - <constant name="PARAM_TANGENTIAL_ACCEL" value="7"> - </constant> - <constant name="PARAM_INITIAL_SIZE" value="9"> - </constant> - <constant name="PARAM_FINAL_SIZE" value="10"> - </constant> - <constant name="PARAM_HUE_VARIATION" value="11"> - </constant> - <constant name="PARAM_MAX" value="12"> - </constant> - <constant name="MAX_COLOR_PHASES" value="4"> - </constant> - </constants> -</class> -<class name="PathRemap" inherits="Object" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="add_remap"> - <argument index="0" name="from" type="String"> - </argument> - <argument index="1" name="to" type="String"> - </argument> - <description> - </description> - </method> - <method name="has_remap"> - <argument index="0" name="path" type="String"> - </argument> - <argument index="1" name="arg1" type="String"> - </argument> - <description> - </description> - </method> - <method name="get_remap" qualifiers="const"> - <return type="String"> - </return> - <argument index="0" name="path" type="String"> - </argument> - <description> - </description> - </method> - <method name="erase_remap"> - <argument index="0" name="path" type="String"> - </argument> - <description> - </description> - </method> - <method name="clear_remaps"> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="Physics2DDirectBodyState" inherits="Object" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="get_total_gravity" qualifiers="const"> - <return type="Vector2"> - </return> - <description> - </description> - </method> - <method name="get_total_density" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="get_inverse_mass" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="get_inverse_inertia" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="set_linear_velocity"> - <argument index="0" name="velocity" type="Vector2"> - </argument> - <description> - </description> - </method> - <method name="get_linear_velocity" qualifiers="const"> - <return type="Vector2"> - </return> - <description> - </description> - </method> - <method name="set_angular_velocity"> - <argument index="0" name="velocity" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_angular_velocity" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="set_transform"> - <argument index="0" name="transform" type="Matrix32"> - </argument> - <description> - </description> - </method> - <method name="get_transform" qualifiers="const"> - <return type="Matrix32"> - </return> - <description> - </description> - </method> - <method name="set_sleep_state"> - <argument index="0" name="enabled" type="bool"> - </argument> - <description> - </description> - </method> - <method name="is_sleeping" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="get_contact_count" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="get_contact_local_pos" qualifiers="const"> - <return type="Vector2"> - </return> - <argument index="0" name="contact_idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_contact_local_normal" qualifiers="const"> - <return type="Vector2"> - </return> - <argument index="0" name="contact_idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_contact_local_shape" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="contact_idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_contact_collider" qualifiers="const"> - <return type="RID"> - </return> - <argument index="0" name="contact_idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_contact_collider_pos" qualifiers="const"> - <return type="Vector2"> - </return> - <argument index="0" name="contact_idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_contact_collider_id" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="contact_idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_contact_collider_object" qualifiers="const"> - <return type="Object"> - </return> - <argument index="0" name="contact_idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_contact_collider_shape" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="contact_idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_contact_collider_velocity_at_pos" qualifiers="const"> - <return type="Vector2"> - </return> - <argument index="0" name="contact_idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_step" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="integrate_forces"> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="Physics2DDirectBodyStateSW" inherits="Physics2DDirectBodyState" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - </methods> - <constants> - </constants> -</class> -<class name="Physics2DServer" inherits="Object" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="shape_create"> - <return type="RID"> - </return> - <argument index="0" name="type" type="int"> - </argument> - <description> - </description> - </method> - <method name="shape_set_data"> - <argument index="0" name="shape" type="RID"> - </argument> - <argument index="1" name="data" type="var"> - </argument> - <description> - </description> - </method> - <method name="shape_get_type" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="shape" type="RID"> - </argument> - <description> - </description> - </method> - <method name="shape_get_data" qualifiers="const"> - <argument index="0" name="shape" type="RID"> - </argument> - <description> - </description> - </method> - <method name="space_create"> - <return type="RID"> - </return> - <description> - </description> - </method> - <method name="space_set_active"> - <argument index="0" name="space" type="RID"> - </argument> - <argument index="1" name="active" type="bool"> - </argument> - <description> - </description> - </method> - <method name="space_is_active" qualifiers="const"> - <return type="bool"> - </return> - <argument index="0" name="space" type="RID"> - </argument> - <description> - </description> - </method> - <method name="space_set_param"> - <argument index="0" name="space" type="RID"> - </argument> - <argument index="1" name="param" type="int"> - </argument> - <argument index="2" name="value" type="real"> - </argument> - <description> - </description> - </method> - <method name="space_get_param" qualifiers="const"> - <return type="real"> - </return> - <argument index="0" name="space" type="RID"> - </argument> - <argument index="1" name="param" type="int"> - </argument> - <description> - </description> - </method> - <method name="area_create"> - <return type="RID"> - </return> - <description> - </description> - </method> - <method name="area_set_space"> - <argument index="0" name="area" type="RID"> - </argument> - <argument index="1" name="space" type="RID"> - </argument> - <description> - </description> - </method> - <method name="area_get_space" qualifiers="const"> - <return type="RID"> - </return> - <argument index="0" name="area" type="RID"> - </argument> - <description> - </description> - </method> - <method name="area_add_shape"> - <argument index="0" name="area" type="RID"> - </argument> - <argument index="1" name="shape" type="int"> - </argument> - <argument index="2" name="transform" type="RID" default="1,0, 0,1, 0,0"> - </argument> - <description> - </description> - </method> - <method name="area_set_shape" qualifiers="const"> - <return type="RID"> - </return> - <argument index="0" name="area" type="RID"> - </argument> - <argument index="1" name="shape_idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="area_set_shape_transform"> - <argument index="0" name="area" type="RID"> - </argument> - <argument index="1" name="shape_idx" type="int"> - </argument> - <argument index="2" name="transform" type="Matrix32"> - </argument> - <description> - </description> - </method> - <method name="area_get_shape_count" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="area" type="RID"> - </argument> - <description> - </description> - </method> - <method name="area_get_shape" qualifiers="const"> - <return type="RID"> - </return> - <argument index="0" name="area" type="RID"> - </argument> - <argument index="1" name="shape_idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="area_get_shape_transform" qualifiers="const"> - <return type="Matrix32"> - </return> - <argument index="0" name="area" type="RID"> - </argument> - <argument index="1" name="shape_idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="area_remove_shape"> - <argument index="0" name="area" type="RID"> - </argument> - <argument index="1" name="shape_idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="area_clear_shapes"> - <argument index="0" name="area" type="RID"> - </argument> - <description> - </description> - </method> - <method name="area_set_param" qualifiers="const"> - <argument index="0" name="area" type="RID"> - </argument> - <argument index="1" name="param" type="int"> - </argument> - <description> - </description> - </method> - <method name="area_set_transform" qualifiers="const"> - <return type="Matrix32"> - </return> - <argument index="0" name="area" type="RID"> - </argument> - <description> - </description> - </method> - <method name="area_get_param" qualifiers="const"> - <argument index="0" name="area" type="RID"> - </argument> - <argument index="1" name="param" type="int"> - </argument> - <description> - </description> - </method> - <method name="area_get_transform" qualifiers="const"> - <return type="Matrix32"> - </return> - <argument index="0" name="area" type="RID"> - </argument> - <description> - </description> - </method> - <method name="area_attach_object_instance_ID"> - <argument index="0" name="area" type="RID"> - </argument> - <argument index="1" name="id" type="int"> - </argument> - <description> - </description> - </method> - <method name="area_get_object_instance_ID" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="area" type="RID"> - </argument> - <description> - </description> - </method> - <method name="body_create"> - <return type="RID"> - </return> - <argument index="0" name="mode" type="int" default="1"> - </argument> - <argument index="1" name="init_sleeping" type="bool" default="false"> - </argument> - <description> - </description> - </method> - <method name="body_set_space"> - <argument index="0" name="body" type="RID"> - </argument> - <argument index="1" name="space" type="RID"> - </argument> - <description> - </description> - </method> - <method name="body_get_space" qualifiers="const"> - <return type="RID"> - </return> - <argument index="0" name="body" type="RID"> - </argument> - <description> - </description> - </method> - <method name="body_set_mode"> - <argument index="0" name="body" type="RID"> - </argument> - <argument index="1" name="mode" type="int"> - </argument> - <description> - </description> - </method> - <method name="body_get_mode" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="body" type="RID"> - </argument> - <argument index="1" name="arg1" type="int"> - </argument> - <description> - </description> - </method> - <method name="body_add_shape"> - <argument index="0" name="body" type="RID"> - </argument> - <argument index="1" name="shape" type="RID"> - </argument> - <argument index="2" name="transform" type="Matrix32" default="1,0, 0,1, 0,0"> - </argument> - <description> - </description> - </method> - <method name="body_set_shape"> - <argument index="0" name="body" type="RID"> - </argument> - <argument index="1" name="shape_idx" type="int"> - </argument> - <argument index="2" name="shape" type="RID"> - </argument> - <description> - </description> - </method> - <method name="body_set_shape_transform"> - <argument index="0" name="body" type="RID"> - </argument> - <argument index="1" name="shape_idx" type="int"> - </argument> - <argument index="2" name="transform" type="Matrix32"> - </argument> - <description> - </description> - </method> - <method name="body_get_shape_count" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="body" type="RID"> - </argument> - <description> - </description> - </method> - <method name="body_get_shape" qualifiers="const"> - <return type="RID"> - </return> - <argument index="0" name="body" type="RID"> - </argument> - <argument index="1" name="shape_idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="body_get_shape_transform" qualifiers="const"> - <return type="Matrix32"> - </return> - <argument index="0" name="body" type="RID"> - </argument> - <argument index="1" name="shape_idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="body_remove_shape"> - <argument index="0" name="body" type="RID"> - </argument> - <argument index="1" name="shape_idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="body_clear_shapes"> - <argument index="0" name="body" type="RID"> - </argument> - <description> - </description> - </method> - <method name="body_attach_object_instance_ID"> - <argument index="0" name="body" type="RID"> - </argument> - <argument index="1" name="id" type="int"> - </argument> - <description> - </description> - </method> - <method name="body_get_object_instance_ID" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="body" type="RID"> - </argument> - <description> - </description> - </method> - <method name="body_set_enable_continuous_collision_detection"> - <argument index="0" name="body" type="RID"> - </argument> - <argument index="1" name="enable" type="bool"> - </argument> - <description> - </description> - </method> - <method name="body_is_continuous_collision_detection_enabled" qualifiers="const"> - <return type="bool"> - </return> - <argument index="0" name="body" type="RID"> - </argument> - <description> - </description> - </method> - <method name="body_set_param"> - <argument index="0" name="body" type="RID"> - </argument> - <argument index="1" name="param" type="int"> - </argument> - <argument index="2" name="value" type="real"> - </argument> - <description> - </description> - </method> - <method name="body_get_param" qualifiers="const"> - <return type="real"> - </return> - <argument index="0" name="body" type="RID"> - </argument> - <argument index="1" name="param" type="int"> - </argument> - <description> - </description> - </method> - <method name="body_static_simulate_motion"> - <argument index="0" name="body" type="RID"> - </argument> - <argument index="1" name="new_xform" type="Matrix32"> - </argument> - <description> - </description> - </method> - <method name="body_set_state"> - <argument index="0" name="body" type="RID"> - </argument> - <argument index="1" name="state" type="int"> - </argument> - <argument index="2" name="value" type="var"> - </argument> - <description> - </description> - </method> - <method name="body_get_state" qualifiers="const"> - <argument index="0" name="body" type="RID"> - </argument> - <argument index="1" name="state" type="int"> - </argument> - <description> - </description> - </method> - <method name="body_apply_impulse"> - <argument index="0" name="body" type="RID"> - </argument> - <argument index="1" name="pos" type="Vector2"> - </argument> - <argument index="2" name="impulse" type="Vector2"> - </argument> - <description> - </description> - </method> - <method name="body_set_axis_velocity"> - <argument index="0" name="body" type="RID"> - </argument> - <argument index="1" name="axis_velocity" type="Vector2"> - </argument> - <description> - </description> - </method> - <method name="body_add_collision_exception"> - <argument index="0" name="body" type="RID"> - </argument> - <argument index="1" name="excepted_body" type="RID"> - </argument> - <description> - </description> - </method> - <method name="body_remove_collision_exception"> - <argument index="0" name="body" type="RID"> - </argument> - <argument index="1" name="excepted_body" type="RID"> - </argument> - <description> - </description> - </method> - <method name="body_set_max_contacts_reported"> - <argument index="0" name="body" type="RID"> - </argument> - <argument index="1" name="amount" type="int"> - </argument> - <description> - </description> - </method> - <method name="body_get_max_contacts_reported" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="body" type="RID"> - </argument> - <description> - </description> - </method> - <method name="body_set_omit_force_integration"> - <argument index="0" name="body" type="RID"> - </argument> - <argument index="1" name="enable" type="bool"> - </argument> - <description> - </description> - </method> - <method name="body_is_omitting_force_integration" qualifiers="const"> - <return type="bool"> - </return> - <argument index="0" name="body" type="RID"> - </argument> - <description> - </description> - </method> - <method name="pin_joint_create"> - <return type="RID"> - </return> - <argument index="0" name="anchor" type="Vector2"> - </argument> - <argument index="1" name="body_a" type="RID"> - </argument> - <argument index="2" name="body_b" type="RID" default="RID()"> - </argument> - <description> - </description> - </method> - <method name="groove_joint_create"> - <return type="RID"> - </return> - <argument index="0" name="groove1_a" type="Vector2"> - </argument> - <argument index="1" name="groove2_a" type="Vector2"> - </argument> - <argument index="2" name="anchor_b" type="Vector2"> - </argument> - <argument index="3" name="body_a" type="RID" default="RID()"> - </argument> - <argument index="4" name="body_b" type="RID" default="RID()"> - </argument> - <description> - </description> - </method> - <method name="damped_spring_joint_create"> - <return type="RID"> - </return> - <argument index="0" name="anchor_a" type="Vector2"> - </argument> - <argument index="1" name="anchor_b" type="Vector2"> - </argument> - <argument index="2" name="body_a" type="RID"> - </argument> - <argument index="3" name="body_b" type="RID" default="RID()"> - </argument> - <description> - </description> - </method> - <method name="damped_string_joint_set_param"> - <argument index="0" name="joint" type="RID"> - </argument> - <argument index="1" name="param" type="int"> - </argument> - <argument index="2" name="value" type="real" default="RID()"> - </argument> - <description> - </description> - </method> - <method name="damped_string_joint_get_param" qualifiers="const"> - <return type="real"> - </return> - <argument index="0" name="joint" type="RID"> - </argument> - <argument index="1" name="param" type="int"> - </argument> - <description> - </description> - </method> - <method name="joint_get_type" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="joint" type="RID"> - </argument> - <description> - </description> - </method> - <method name="query_create"> - <return type="RID"> - </return> - <argument index="0" name="receiver" type="Object"> - </argument> - <argument index="1" name="callback" type="String"> - </argument> - <argument index="2" name="userdata" type="var" default="NULL"> - </argument> - <argument index="3" name="persist" type="bool" default="true"> - </argument> - <description> - </description> - </method> - <method name="query_body_state"> - <argument index="0" name="query" type="RID"> - </argument> - <argument index="1" name="body" type="RID"> - </argument> - <description> - </description> - </method> - <method name="query_body_direct_state"> - <argument index="0" name="query" type="RID"> - </argument> - <argument index="1" name="body" type="RID"> - </argument> - <description> - </description> - </method> - <method name="query_area"> - <argument index="0" name="query" type="RID"> - </argument> - <argument index="1" name="area" type="RID"> - </argument> - <description> - </description> - </method> - <method name="query_intersection"> - <argument index="0" name="query" type="RID"> - </argument> - <argument index="1" name="space" type="RID"> - </argument> - <argument index="2" name="notify_hint_only" type="bool" default="false"> - </argument> - <argument index="3" name="exclude" type="Array" default="Array()"> - </argument> - <argument index="4" name="usermask" type="int" default="0"> - </argument> - <description> - </description> - </method> - <method name="query_intersection_ray"> - <argument index="0" name="query" type="RID"> - </argument> - <argument index="1" name="from" type="Vector2"> - </argument> - <argument index="2" name="dir" type="Vector2"> - </argument> - <description> - </description> - </method> - <method name="query_intersection_segment"> - <argument index="0" name="query" type="RID"> - </argument> - <argument index="1" name="from" type="Vector2"> - </argument> - <argument index="2" name="to" type="Vector2"> - </argument> - <description> - </description> - </method> - <method name="query_intersection_shape"> - <argument index="0" name="query" type="RID"> - </argument> - <argument index="1" name="shape" type="RID"> - </argument> - <argument index="2" name="transform" type="Matrix32"> - </argument> - <description> - </description> - </method> - <method name="query_clear"> - <argument index="0" name="query" type="RID"> - </argument> - <description> - </description> - </method> - <method name="query_get_type" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="query" type="RID"> - </argument> - <description> - </description> - </method> - <method name="query_get_target" qualifiers="const"> - <return type="RID"> - </return> - <argument index="0" name="query" type="RID"> - </argument> - <description> - </description> - </method> - <method name="free"> - <argument index="0" name="rid" type="RID"> - </argument> - <description> - </description> - </method> - <method name="set_active"> - <argument index="0" name="active" type="bool"> - </argument> - <description> - </description> - </method> - </methods> - <constants> - <constant name="SHAPE_LINE" value="0"> - </constant> - <constant name="SHAPE_SEGMENT" value="1"> - </constant> - <constant name="SHAPE_CIRCLE" value="2"> - </constant> - <constant name="SHAPE_RECTANGLE" value="3"> - </constant> - <constant name="SHAPE_CAPSULE" value="4"> - </constant> - <constant name="SHAPE_CONVEX_POLYGON" value="5"> - </constant> - <constant name="SHAPE_CONCAVE_POLYGON" value="6"> - </constant> - <constant name="SHAPE_CUSTOM" value="7"> - </constant> - <constant name="AREA_PARAM_OVERRIDE_PARAMS" value="0"> - </constant> - <constant name="AREA_PARAM_GRAVITY" value="1"> - </constant> - <constant name="AREA_PARAM_GRAVITY_VECTOR" value="2"> - </constant> - <constant name="AREA_PARAM_GRAVITY_IS_POINT" value="3"> - </constant> - <constant name="AREA_PARAM_GRAVITY_POINT_ATTENUATION" value="4"> - </constant> - <constant name="AREA_PARAM_DENSITY" value="5"> - </constant> - <constant name="AREA_PARAM_PRIORITY" value="6"> - </constant> - <constant name="BODY_MODE_STATIC" value="0"> - </constant> - <constant name="BODY_MODE_RIGID" value="1"> - </constant> - <constant name="BODY_MODE_CHARACTER" value="2"> - </constant> - <constant name="BODY_PARAM_BOUNCE" value="0"> - </constant> - <constant name="BODY_PARAM_FRICTION" value="1"> - </constant> - <constant name="BODY_PARAM_MASS" value="2"> - </constant> - <constant name="BODY_PARAM_MAX" value="3"> - </constant> - <constant name="BODY_STATE_TRANSFORM" value="0"> - </constant> - <constant name="BODY_STATE_LINEAR_VELOCITY" value="1"> - </constant> - <constant name="BODY_STATE_ANGULAR_VELOCITY" value="2"> - </constant> - <constant name="BODY_STATE_SLEEPING" value="3"> - </constant> - <constant name="JOINT_PIN" value="0"> - </constant> - <constant name="JOINT_GROOVE" value="1"> - </constant> - <constant name="JOINT_DAMPED_SPRING" value="2"> - </constant> - <constant name="DAMPED_STRING_REST_LENGTH" value="0"> - </constant> - <constant name="DAMPED_STRING_STIFFNESS" value="1"> - </constant> - <constant name="DAMPED_STRING_DAMPING" value="2"> - </constant> - <constant name="TYPE_BODY" value="0"> - </constant> - <constant name="TYPE_AREA" value="1"> - </constant> - <constant name="AREA_BODY_ADDED" value="0"> - </constant> - <constant name="AREA_BODY_REMOVED" value="1"> - </constant> - <constant name="QUERY_NONE" value="0"> - </constant> - <constant name="QUERY_BODY_STATE" value="1"> - </constant> - <constant name="QUERY_BODY_DIRECT_STATE" value="2"> - </constant> - <constant name="QUERY_AREA_MONITOR" value="3"> - </constant> - <constant name="QUERY_INTERSECTION" value="4"> - </constant> - </constants> -</class> -<class name="Physics2DServerSW" inherits="Physics2DServer" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - </methods> - <constants> - </constants> -</class> -<class name="PhysicsBody" inherits="Spatial" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="add_shape"> - <argument index="0" name="shape" type="Shape"> - </argument> - <argument index="1" name="transform" type="Transform" default="Transform()"> - </argument> - <description> - </description> - </method> - <method name="get_shape_count" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="set_shape"> - <argument index="0" name="shape_idx" type="int"> - </argument> - <argument index="1" name="shape" type="Shape"> - </argument> - <description> - </description> - </method> - <method name="set_shape_transform"> - <argument index="0" name="shape_idx" type="int"> - </argument> - <argument index="1" name="transform" type="Transform"> - </argument> - <description> - </description> - </method> - <method name="get_shape" qualifiers="const"> - <return type="Shape"> - </return> - <argument index="0" name="shape_idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_shape_transform" qualifiers="const"> - <return type="Transform"> - </return> - <argument index="0" name="shape_idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="remove_shape"> - <argument index="0" name="shape_idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="clear_shapes"> - <description> - </description> - </method> - <method name="get_body" qualifiers="const"> - <return type="RID"> - </return> - <description> - </description> - </method> - <method name="set_max_contacts_reported"> - <argument index="0" name="contacts" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_max_contacts_reported" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="set_contacts_reported_depth_treshold"> - <argument index="0" name="depth" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_contacts_reported_depth_treshold" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="PhysicsBody2D" inherits="CollisionObject2D" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - </methods> - <constants> - </constants> -</class> -<class name="PhysicsDirectBodyState" inherits="Object" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="get_total_gravity" qualifiers="const"> - <return type="Vector3"> - </return> - <description> - </description> - </method> - <method name="get_total_density" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="get_inverse_mass" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="get_inverse_inertia_tensor" qualifiers="const"> - <return type="Matrix3"> - </return> - <description> - </description> - </method> - <method name="set_linear_velocity"> - <argument index="0" name="velocity" type="Vector3"> - </argument> - <description> - </description> - </method> - <method name="get_linear_velocity" qualifiers="const"> - <return type="Vector3"> - </return> - <description> - </description> - </method> - <method name="set_angular_velocity"> - <argument index="0" name="velocity" type="Vector3"> - </argument> - <description> - </description> - </method> - <method name="get_angular_velocity" qualifiers="const"> - <return type="Vector3"> - </return> - <description> - </description> - </method> - <method name="set_transform"> - <argument index="0" name="transform" type="Transform"> - </argument> - <description> - </description> - </method> - <method name="get_transform" qualifiers="const"> - <return type="Transform"> - </return> - <description> - </description> - </method> - <method name="set_sleep_state"> - <argument index="0" name="enabled" type="bool"> - </argument> - <description> - </description> - </method> - <method name="is_sleeping" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="get_contact_count" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="get_contact_local_pos" qualifiers="const"> - <return type="Vector3"> - </return> - <argument index="0" name="contact_idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_contact_local_normal" qualifiers="const"> - <return type="Vector3"> - </return> - <argument index="0" name="contact_idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_contact_local_shape" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="contact_idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_contact_collider" qualifiers="const"> - <return type="RID"> - </return> - <argument index="0" name="contact_idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_contact_collider_pos" qualifiers="const"> - <return type="Vector3"> - </return> - <argument index="0" name="contact_idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_contact_collider_id" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="contact_idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_contact_collider_shape" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="contact_idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_contact_collider_velocity_at_pos" qualifiers="const"> - <return type="Vector3"> - </return> - <argument index="0" name="contact_idx" type="int"> - </argument> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="PhysicsDirectBodyStateSW" inherits="PhysicsDirectBodyState" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - </methods> - <constants> - </constants> -</class> -<class name="PhysicsServer" inherits="Object" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="shape_create"> - <return type="RID"> - </return> - <argument index="0" name="shape_type" type="int"> - </argument> - <description> - </description> - </method> - <method name="shape_set_data"> - <argument index="0" name="shape" type="RID"> - </argument> - <argument index="1" name="data" type="var" default="-1"> - </argument> - <description> - </description> - </method> - <method name="shape_get_type" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="shape" type="RID"> - </argument> - <description> - </description> - </method> - <method name="shape_get_data" qualifiers="const"> - <argument index="0" name="shape" type="RID"> - </argument> - <description> - </description> - </method> - <method name="space_create"> - <return type="RID"> - </return> - <description> - </description> - </method> - <method name="area_create"> - <return type="RID"> - </return> - <argument index="0" name="space" type="int"> - </argument> - <argument index="1" name="arg1" type="bool" default="RID()"> - </argument> - <description> - </description> - </method> - <method name="area_set_param"> - <argument index="0" name="area" type="RID"> - </argument> - <argument index="1" name="param" type="int"> - </argument> - <argument index="2" name="value" type="var"> - </argument> - <description> - </description> - </method> - <method name="area_set_shape"> - <argument index="0" name="area" type="RID"> - </argument> - <argument index="1" name="shape" type="RID"> - </argument> - <description> - </description> - </method> - <method name="area_set_bounds"> - <argument index="0" name="area" type="RID"> - </argument> - <argument index="1" name="bounds" type="Dictionary"> - </argument> - <description> - </description> - </method> - <method name="area_set_transform"> - <argument index="0" name="area" type="RID"> - </argument> - <argument index="1" name="transform" type="Transform"> - </argument> - <description> - </description> - </method> - <method name="area_get_param" qualifiers="const"> - <argument index="0" name="area" type="RID"> - </argument> - <argument index="1" name="param" type="int"> - </argument> - <description> - </description> - </method> - <method name="area_get_shape" qualifiers="const"> - <return type="RID"> - </return> - <argument index="0" name="area" type="RID"> - </argument> - <description> - </description> - </method> - <method name="area_get_bounds" qualifiers="const"> - <return type="Dictionary"> - </return> - <argument index="0" name="area" type="RID"> - </argument> - <description> - </description> - </method> - <method name="area_get_transform" qualifiers="const"> - <return type="Transform"> - </return> - <argument index="0" name="area" type="RID"> - </argument> - <description> - </description> - </method> - <method name="body_create"> - <return type="RID"> - </return> - <argument index="0" name="space" type="int"> - </argument> - <argument index="1" name="arg1" type="bool" default="RID()"> - </argument> - <description> - </description> - </method> - <method name="body_set_mode"> - <argument index="0" name="body" type="RID"> - </argument> - <argument index="1" name="mode" type="int"> - </argument> - <description> - </description> - </method> - <method name="body_get_mode" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="body" type="RID"> - </argument> - <argument index="1" name="arg1" type="int"> - </argument> - <description> - </description> - </method> - <method name="body_add_shape"> - <argument index="0" name="body" type="RID"> - </argument> - <argument index="1" name="shape" type="RID"> - </argument> - <argument index="2" name="transform" type="Transform" default="Transform()"> - </argument> - <description> - </description> - </method> - <method name="body_set_shape"> - <argument index="0" name="body" type="RID"> - </argument> - <argument index="1" name="shape_idx" type="int"> - </argument> - <argument index="2" name="shape" type="RID"> - </argument> - <description> - </description> - </method> - <method name="body_set_shape_transform"> - <argument index="0" name="body" type="RID"> - </argument> - <argument index="1" name="shape_idx" type="int"> - </argument> - <argument index="2" name="transform" type="Transform"> - </argument> - <description> - </description> - </method> - <method name="body_get_shape_count" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="body" type="RID"> - </argument> - <description> - </description> - </method> - <method name="body_get_shape" qualifiers="const"> - <return type="RID"> - </return> - <argument index="0" name="body" type="RID"> - </argument> - <argument index="1" name="shape_idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="body_get_shape_transform" qualifiers="const"> - <return type="Transform"> - </return> - <argument index="0" name="body" type="RID"> - </argument> - <argument index="1" name="shape_idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="body_attach_object_instance_ID"> - <argument index="0" name="body" type="RID"> - </argument> - <argument index="1" name="ID" type="int"> - </argument> - <description> - </description> - </method> - <method name="body_get_object_instance_ID" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="body" type="RID"> - </argument> - <description> - </description> - </method> - <method name="body_set_user_flags"> - <argument index="0" name="body" type="RID"> - </argument> - <argument index="1" name="user_flags" type="int"> - </argument> - <description> - </description> - </method> - <method name="body_get_user_flags" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="body" type="RID"> - </argument> - <argument index="1" name="arg1" type="int"> - </argument> - <description> - </description> - </method> - <method name="body_set_param"> - <argument index="0" name="body" type="RID"> - </argument> - <argument index="1" name="param" type="int"> - </argument> - <argument index="2" name="value" type="real"> - </argument> - <description> - </description> - </method> - <method name="body_get_param" qualifiers="const"> - <return type="real"> - </return> - <argument index="0" name="body" type="RID"> - </argument> - <argument index="1" name="param" type="int"> - </argument> - <description> - </description> - </method> - <method name="body_static_simulate_motion"> - <argument index="0" name="body" type="RID"> - </argument> - <argument index="1" name="motion" type="Transform"> - </argument> - <description> - </description> - </method> - <method name="body_set_state"> - <argument index="0" name="body" type="RID"> - </argument> - <argument index="1" name="state" type="int"> - </argument> - <argument index="2" name="value" type="var"> - </argument> - <description> - </description> - </method> - <method name="body_get_state" qualifiers="const"> - <argument index="0" name="body" type="RID"> - </argument> - <argument index="1" name="state" type="int"> - </argument> - <description> - </description> - </method> - <method name="body_set_applied_force"> - <argument index="0" name="body" type="RID"> - </argument> - <argument index="1" name="applied_force" type="Vector3"> - </argument> - <description> - </description> - </method> - <method name="body_get_applied_force" qualifiers="const"> - <return type="Vector3"> - </return> - <argument index="0" name="body" type="RID"> - </argument> - <description> - </description> - </method> - <method name="body_set_applied_torque"> - <argument index="0" name="body" type="RID"> - </argument> - <argument index="1" name="applied_torque" type="Vector3"> - </argument> - <description> - </description> - </method> - <method name="body_get_applied_torque" qualifiers="const"> - <return type="Vector3"> - </return> - <argument index="0" name="body" type="RID"> - </argument> - <description> - </description> - </method> - <method name="body_set_axis_velocity"> - <argument index="0" name="body" type="RID"> - </argument> - <argument index="1" name="axis_velocity" type="Vector3"> - </argument> - <description> - </description> - </method> - <method name="body_apply_impulse"> - <argument index="0" name="body" type="RID"> - </argument> - <argument index="1" name="pos" type="Vector3"> - </argument> - <argument index="2" name="impulse" type="Vector3"> - </argument> - <description> - </description> - </method> - <method name="body_add_collision_exception"> - <argument index="0" name="body" type="RID"> - </argument> - <argument index="1" name="against_body" type="RID"> - </argument> - <description> - </description> - </method> - <method name="body_remove_collision_exception"> - <argument index="0" name="body" type="RID"> - </argument> - <argument index="1" name="against_body" type="RID"> - </argument> - <description> - </description> - </method> - <method name="query_create"> - <return type="RID"> - </return> - <argument index="0" name="receiver" type="Object"> - </argument> - <argument index="1" name="callback" type="String"> - </argument> - <argument index="2" name="userdata" type="var"> - </argument> - <argument index="3" name="persist" type="bool" default="true"> - </argument> - <description> - </description> - </method> - <method name="query_body_state"> - <argument index="0" name="query" type="RID"> - </argument> - <argument index="1" name="body" type="RID"> - </argument> - <description> - </description> - </method> - <method name="query_body_direct_state"> - <argument index="0" name="query" type="RID"> - </argument> - <argument index="1" name="body" type="RID"> - </argument> - <description> - </description> - </method> - <method name="query_area"> - <argument index="0" name="query" type="RID"> - </argument> - <argument index="1" name="area" type="RID"> - </argument> - <description> - </description> - </method> - <method name="query_intersection"> - <argument index="0" name="query" type="RID"> - </argument> - <argument index="1" name="space" type="RID"> - </argument> - <argument index="2" name="exclude" type="Array" default="Array()"> - </argument> - <argument index="3" name="usermask" type="int" default="0"> - </argument> - <description> - </description> - </method> - <method name="query_intersection_ray"> - <argument index="0" name="query" type="RID"> - </argument> - <argument index="1" name="origin" type="Vector3"> - </argument> - <argument index="2" name="dir" type="Vector3"> - </argument> - <description> - </description> - </method> - <method name="query_intersection_segment"> - <argument index="0" name="query" type="RID"> - </argument> - <argument index="1" name="from" type="Vector3"> - </argument> - <argument index="2" name="to" type="Vector3"> - </argument> - <description> - </description> - </method> - <method name="query_intersection_shape"> - <argument index="0" name="query" type="RID"> - </argument> - <argument index="1" name="shape" type="RID"> - </argument> - <argument index="2" name="arg2" type="Transform"> - </argument> - <description> - </description> - </method> - <method name="query_intersection_bounds"> - <argument index="0" name="query" type="RID"> - </argument> - <argument index="1" name="bounds" type="Dictionary"> - </argument> - <argument index="2" name="arg2" type="Transform"> - </argument> - <description> - </description> - </method> - <method name="query_clear"> - <argument index="0" name="query" type="RID"> - </argument> - <description> - </description> - </method> - <method name="query_get_type" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="query" type="RID"> - </argument> - <description> - </description> - </method> - <method name="query_get_target" qualifiers="const"> - <return type="RID"> - </return> - <argument index="0" name="query" type="RID"> - </argument> - <description> - </description> - </method> - <method name="free"> - <argument index="0" name="rid" type="RID"> - </argument> - <description> - </description> - </method> - <method name="set_active"> - <argument index="0" name="active" type="bool"> - </argument> - <description> - </description> - </method> - </methods> - <constants> - <constant name="SHAPE_PLANE" value="0"> - </constant> - <constant name="SHAPE_SPHERE" value="2"> - </constant> - <constant name="SHAPE_BOX" value="3"> - </constant> - <constant name="SHAPE_CAPSULE" value="4"> - </constant> - <constant name="SHAPE_CONVEX_POLYGON" value="5"> - </constant> - <constant name="SHAPE_CONCAVE_POLYGON" value="6"> - </constant> - <constant name="SHAPE_HEIGHTMAP" value="7"> - </constant> - <constant name="SHAPE_CUSTOM" value="8"> - </constant> - <constant name="AREA_PARAM_OVERRIDE_PARAMS" value="0"> - </constant> - <constant name="AREA_PARAM_GRAVITY" value="1"> - </constant> - <constant name="AREA_PARAM_GRAVITY_VECTOR" value="2"> - </constant> - <constant name="AREA_PARAM_GRAVITY_IS_POINT" value="3"> - </constant> - <constant name="AREA_PARAM_GRAVITY_POINT_ATTENUATION" value="4"> - </constant> - <constant name="AREA_PARAM_DENSITY" value="5"> - </constant> - <constant name="AREA_PARAM_PRIORITY" value="6"> - </constant> - <constant name="BODY_MODE_STATIC" value="0"> - </constant> - <constant name="BODY_MODE_RIGID" value="1"> - </constant> - <constant name="BODY_MODE_CHARACTER" value="2"> - </constant> - <constant name="BODY_PARAM_BOUNCE" value="0"> - </constant> - <constant name="BODY_PARAM_FRICTION" value="1"> - </constant> - <constant name="BODY_PARAM_MASS" value="2"> - </constant> - <constant name="BODY_STATE_TRANSFORM" value="0"> - </constant> - <constant name="BODY_STATE_LINEAR_VELOCITY" value="1"> - </constant> - <constant name="BODY_STATE_ANGULAR_VELOCITY" value="2"> - </constant> - <constant name="BODY_STATE_SLEEPING" value="3"> - </constant> - <constant name="HINGE_VAR_ANGULAR_ONLY" value="0"> - </constant> - <constant name="HINGE_VAR_LOWER_LIMIT" value="1"> - </constant> - <constant name="HINGE_VAR_HIGHER_LIMIT" value="2"> - </constant> - <constant name="HINGE_VAR_LIMIT_SOFTNESS" value="3"> - </constant> - <constant name="HINGE_VAR_RELAXATION" value="4"> - </constant> - <constant name="HINGE_VAR_MOTOR_ENABLED" value="5"> - </constant> - <constant name="HINGE_VAR_MOTOR_TARGET_VELOCITY" value="6"> - </constant> - <constant name="HINGE_VAR_MOTOR_IMPULSE" value="7"> - </constant> - <constant name="CONE_TWIST_VAR_SWING_SPAN_LIMIT_1" value="0"> - </constant> - <constant name="CONE_TWIST_VAR_SWING_SPAN_LIMIT_2" value="1"> - </constant> - <constant name="CONE_TWIST_VAR_TWIST_SPAN_LIMIT" value="2"> - </constant> - <constant name="CONE_TWIST_VAR_BIAS" value="3"> - </constant> - <constant name="CONE_TWIST_VAR_RELAXATION" value="4"> - </constant> - <constant name="TYPE_BODY" value="0"> - </constant> - <constant name="TYPE_AREA" value="1"> - </constant> - <constant name="QUERY_NONE" value="0"> - </constant> - <constant name="QUERY_BODY_STATE" value="1"> - </constant> - <constant name="QUERY_BODY_DIRECT_STATE" value="2"> - </constant> - <constant name="QUERY_AREA_MONITOR" value="3"> - </constant> - <constant name="QUERY_INTERSECTION" value="4"> - </constant> - </constants> -</class> -<class name="PhysicsServerSW" inherits="PhysicsServer" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - </methods> - <constants> - </constants> -</class> -<class name="PinJoint2D" inherits="Joint2D" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - </methods> - <constants> - </constants> -</class> -<class name="PlaneShape" inherits="Shape" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_plane"> - <argument index="0" name="plane" type="Plane"> - </argument> - <description> - </description> - </method> - <method name="get_plane" qualifiers="const"> - <return type="Plane"> - </return> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="Popup" inherits="Control" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="popup_centered"> - <argument index="0" name="size" type="Vector2" default="Vector2(0,0)"> - </argument> - <description> - </description> - </method> - <method name="popup_centered_ratio"> - <argument index="0" name="ratio" type="real" default="0.75"> - </argument> - <description> - </description> - </method> - <method name="popup_centered_minsize"> - <argument index="0" name="minsize" type="Vector2" default="Vector2(0,0)"> - </argument> - <description> - </description> - </method> - <method name="popup"> - <description> - </description> - </method> - <method name="set_exclusive"> - <argument index="0" name="enable" type="bool"> - </argument> - <description> - </description> - </method> - <method name="is_exclusive" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - </methods> - <signals> - <signal name="about_to_show"> - <description> - </description> - </signal> - </signals> - <constants> - <constant name="NOTIFICATION_POST_POPUP" value="80"> - </constant> - </constants> -</class> -<class name="PopupDialog" inherits="Popup" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - </methods> - <constants> - </constants> -</class> -<class name="PopupMenu" inherits="Popup" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="add_icon_item"> - <argument index="0" name="texture" type="Object"> - </argument> - <argument index="1" name="label" type="String"> - </argument> - <argument index="2" name="id" type="int" default="-1"> - </argument> - <argument index="3" name="accel" type="int" default="0"> - </argument> - <description> - </description> - </method> - <method name="add_item"> - <argument index="0" name="label" type="String"> - </argument> - <argument index="1" name="id" type="int" default="-1"> - </argument> - <argument index="2" name="accel" type="int" default="0"> - </argument> - <description> - </description> - </method> - <method name="add_icon_check_item"> - <argument index="0" name="texture" type="Object"> - </argument> - <argument index="1" name="label" type="String"> - </argument> - <argument index="2" name="id" type="int" default="-1"> - </argument> - <argument index="3" name="accel" type="int" default="0"> - </argument> - <description> - </description> - </method> - <method name="add_check_item"> - <argument index="0" name="label" type="String"> - </argument> - <argument index="1" name="id" type="int" default="-1"> - </argument> - <argument index="2" name="accel" type="int" default="0"> - </argument> - <description> - </description> - </method> - <method name="add_submenu_item"> - <argument index="0" name="label" type="String"> - </argument> - <argument index="1" name="submenu" type="int"> - </argument> - <argument index="2" name="id" type="int" default="-1"> - </argument> - <description> - </description> - </method> - <method name="set_item_text"> - <argument index="0" name="idx" type="int"> - </argument> - <argument index="1" name="text" type="String"> - </argument> - <description> - </description> - </method> - <method name="set_item_icon"> - <argument index="0" name="idx" type="int"> - </argument> - <argument index="1" name="icon" type="Object"> - </argument> - <description> - </description> - </method> - <method name="set_item_accelerator"> - <argument index="0" name="idx" type="int"> - </argument> - <argument index="1" name="accel" type="int"> - </argument> - <description> - </description> - </method> - <method name="set_item_metadata"> - <argument index="0" name="idx" type="int"> - </argument> - <argument index="1" name="metadata" type="var"> - </argument> - <description> - </description> - </method> - <method name="set_item_checked"> - <argument index="0" name="idx" type="int"> - </argument> - <argument index="1" name="arg1" type="bool"> - </argument> - <description> - </description> - </method> - <method name="set_item_disabled"> - <argument index="0" name="idx" type="int"> - </argument> - <argument index="1" name="disabled" type="bool"> - </argument> - <description> - </description> - </method> - <method name="set_item_submenu"> - <argument index="0" name="idx" type="int"> - </argument> - <argument index="1" name="submenu" type="String"> - </argument> - <description> - </description> - </method> - <method name="set_item_as_separator"> - <argument index="0" name="idx" type="int"> - </argument> - <argument index="1" name="enable" type="bool"> - </argument> - <description> - </description> - </method> - <method name="set_item_as_checkable"> - <argument index="0" name="idx" type="int"> - </argument> - <argument index="1" name="enable" type="bool"> - </argument> - <description> - </description> - </method> - <method name="set_item_ID"> - <argument index="0" name="idx" type="int"> - </argument> - <argument index="1" name="id" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_item_text" qualifiers="const"> - <return type="String"> - </return> - <argument index="0" name="idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_item_icon" qualifiers="const"> - <return type="Object"> - </return> - <argument index="0" name="idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_item_metadata" qualifiers="const"> - <argument index="0" name="idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_item_accelerator" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_item_submenu" qualifiers="const"> - <return type="String"> - </return> - <argument index="0" name="idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="is_item_separator" qualifiers="const"> - <return type="bool"> - </return> - <argument index="0" name="idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="is_item_checkable" qualifiers="const"> - <return type="bool"> - </return> - <argument index="0" name="idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="is_item_checked" qualifiers="const"> - <return type="bool"> - </return> - <argument index="0" name="idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="is_item_disabled" qualifiers="const"> - <return type="bool"> - </return> - <argument index="0" name="idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_item_ID" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_item_index" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="id" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_item_count" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="add_separator"> - <description> - </description> - </method> - <method name="remove_item"> - <argument index="0" name="idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="clear"> - <description> - </description> - </method> - </methods> - <signals> - <signal name="item_pressed"> - <argument index="0" name="ID" type="int"> - </argument> - <description> - </description> - </signal> - </signals> - <constants> - </constants> -</class> -<class name="PopupPanel" inherits="Popup" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - </methods> - <constants> - </constants> -</class> -<class name="Portal" inherits="VisualInstance" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_shape"> - <argument index="0" name="points" type="Vector2Array"> - </argument> - <description> - </description> - </method> - <method name="get_shape" qualifiers="const"> - <return type="Vector2Array"> - </return> - <description> - </description> - </method> - <method name="set_enabled"> - <argument index="0" name="enable" type="bool"> - </argument> - <description> - </description> - </method> - <method name="is_enabled" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="set_disable_distance"> - <argument index="0" name="distance" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_disable_distance" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="set_disabled_color"> - <argument index="0" name="color" type="Color"> - </argument> - <description> - </description> - </method> - <method name="get_disabled_color" qualifiers="const"> - <return type="Color"> - </return> - <description> - </description> - </method> - <method name="set_connect_range"> - <argument index="0" name="range" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_connect_range" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="Position2D" inherits="Node2D" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - </methods> - <constants> - </constants> -</class> -<class name="Position3D" inherits="Spatial" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - </methods> - <constants> - </constants> -</class> -<class name="ProximityGroup" inherits="Spatial" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_group_name"> - <argument index="0" name="name" type="String"> - </argument> - <description> - </description> - </method> - <method name="broadcast"> - <argument index="0" name="name" type="String"> - </argument> - <argument index="1" name="parameters" type="var"> - </argument> - <description> - </description> - </method> - <method name="set_dispatch_mode"> - <argument index="0" name="mode" type="int"> - </argument> - <description> - </description> - </method> - <method name="set_grid_radius"> - <argument index="0" name="radius" type="Vector3"> - </argument> - <description> - </description> - </method> - <method name="get_grid_radius" qualifiers="const"> - <return type="Vector3"> - </return> - <description> - </description> - </method> - </methods> - <signals> - <signal name="broadcast"> - <argument index="0" name="name" type="String"> - </argument> - <argument index="1" name="parameters" type="Array"> - </argument> - <description> - </description> - </signal> - </signals> - <constants> - </constants> -</class> -<class name="ProximityGroup2D" inherits="Node2D" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_group_size"> - <argument index="0" name="size" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_group_size" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="set_group_notifym"> - <argument index="0" name="notify" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_group_notify" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - </methods> - <signals> - <signal name="grouped"> - <argument index="0" name="pgroup" type="Object"> - </argument> - <description> - </description> - </signal> - <signal name="ungrouped"> - <argument index="0" name="pgroup" type="Object"> - </argument> - <description> - </description> - </signal> - </signals> - <constants> - </constants> -</class> -<class name="Range" inherits="Control" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="get_val" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="get_value" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="get_min" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="get_max" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="get_step" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="get_page" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="get_unit_value" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="get_rounded_values" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="set_val"> - <argument index="0" name="value" type="real"> - </argument> - <description> - </description> - </method> - <method name="set_value"> - <argument index="0" name="value" type="real"> - </argument> - <description> - </description> - </method> - <method name="set_min"> - <argument index="0" name="minimum" type="real"> - </argument> - <description> - </description> - </method> - <method name="set_max"> - <argument index="0" name="maximum" type="real"> - </argument> - <description> - </description> - </method> - <method name="set_step"> - <argument index="0" name="step" type="real"> - </argument> - <description> - </description> - </method> - <method name="set_page"> - <argument index="0" name="pagesize" type="real"> - </argument> - <description> - </description> - </method> - <method name="set_unit_value"> - <argument index="0" name="value" type="real"> - </argument> - <description> - </description> - </method> - <method name="set_rounded_values"> - <argument index="0" name="arg0" type="bool"> - </argument> - <description> - </description> - </method> - <method name="set_exp_unit_value"> - <argument index="0" name="enabled" type="bool"> - </argument> - <description> - </description> - </method> - <method name="is_unit_value_exp" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="share"> - <argument index="0" name="with" type="Object"> - </argument> - <description> - </description> - </method> - <method name="unshare"> - <description> - </description> - </method> - </methods> - <signals> - <signal name="value_changed"> - <argument index="0" name="value" type="real"> - </argument> - <description> - </description> - </signal> - <signal name="changed"> - <description> - </description> - </signal> - </signals> - <constants> - </constants> -</class> -<class name="RayShape" inherits="Shape" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_length"> - <argument index="0" name="length" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_length" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="RectangleShape2D" inherits="Shape2D" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_extents"> - <argument index="0" name="extents" type="Vector2"> - </argument> - <description> - </description> - </method> - <method name="get_extents" qualifiers="const"> - <return type="Vector2"> - </return> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="Reference" inherits="Object" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="init_ref"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="reference"> - <description> - </description> - </method> - <method name="unreference"> - <return type="bool"> - </return> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="ReferenceFrame" inherits="Control" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - </methods> - <constants> - </constants> -</class> -<class name="Resource" inherits="Reference" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_path"> - <argument index="0" name="path" type="String"> - </argument> - <description> - </description> - </method> - <method name="get_path" qualifiers="const"> - <return type="String"> - </return> - <description> - </description> - </method> - <method name="set_name"> - <argument index="0" name="name" type="String"> - </argument> - <description> - </description> - </method> - <method name="get_name" qualifiers="const"> - <return type="String"> - </return> - <description> - </description> - </method> - <method name="get_rid" qualifiers="const"> - <return type="RID"> - </return> - <description> - </description> - </method> - </methods> - <signals> - <signal name="changed"> - <description> - </description> - </signal> - </signals> - <constants> - </constants> -</class> -<class name="_ResourceLoader" inherits="Object" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="load"> - <return type="Resource"> - </return> - <argument index="0" name="path" type="String"> - </argument> - <argument index="1" name="type_hint" type="String" default=""""> - </argument> - <description> - </description> - </method> - <method name="get_recognized_extensions_for_type"> - <return type="StringArray"> - </return> - <argument index="0" name="type" type="String"> - </argument> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="ResourcePreloader" inherits="Node" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="add_resource"> - <argument index="0" name="name" type="String"> - </argument> - <argument index="1" name="resource" type="Object"> - </argument> - <description> - </description> - </method> - <method name="remove_resource"> - <argument index="0" name="name" type="String"> - </argument> - <description> - </description> - </method> - <method name="rename_resource"> - <argument index="0" name="name" type="String"> - </argument> - <argument index="1" name="newname" type="String"> - </argument> - <description> - </description> - </method> - <method name="has_resource" qualifiers="const"> - <return type="bool"> - </return> - <argument index="0" name="name" type="String"> - </argument> - <description> - </description> - </method> - <method name="get_resource" qualifiers="const"> - <return type="Object"> - </return> - <argument index="0" name="name" type="String"> - </argument> - <description> - </description> - </method> - <method name="get_resource_list" qualifiers="const"> - <return type="StringArray"> - </return> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="_ResourceSaver" inherits="Object" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="save"> - <return type="int"> - </return> - <argument index="0" name="path" type="String"> - </argument> - <argument index="1" name="resource" type="Resource"> - </argument> - <description> - </description> - </method> - <method name="get_recognized_extensions"> - <return type="StringArray"> - </return> - <argument index="0" name="type" type="Object"> - </argument> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="RichTextLabel" inherits="Control" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="add_text"> - <argument index="0" name="text" type="String"> - </argument> - <description> - </description> - </method> - <method name="add_image"> - <argument index="0" name="image" type="Texture"> - </argument> - <description> - </description> - </method> - <method name="newline"> - <description> - </description> - </method> - <method name="push_font"> - <argument index="0" name="font" type="Object"> - </argument> - <description> - </description> - </method> - <method name="push_color"> - <argument index="0" name="color" type="Color"> - </argument> - <description> - </description> - </method> - <method name="push_align"> - <argument index="0" name="align" type="int"> - </argument> - <description> - </description> - </method> - <method name="push_indent"> - <argument index="0" name="level" type="int"> - </argument> - <description> - </description> - </method> - <method name="push_list"> - <argument index="0" name="type" type="int"> - </argument> - <description> - </description> - </method> - <method name="push_meta"> - <argument index="0" name="data" type="var"> - </argument> - <description> - </description> - </method> - <method name="push_underline"> - <description> - </description> - </method> - <method name="pop"> - <description> - </description> - </method> - <method name="clear"> - <description> - </description> - </method> - <method name="set_meta_underline"> - <argument index="0" name="enable" type="bool"> - </argument> - <description> - </description> - </method> - <method name="is_meta_underlined" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="set_scroll_active"> - <argument index="0" name="active" type="bool"> - </argument> - <description> - </description> - </method> - <method name="is_scroll_active" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="set_scroll_follow"> - <argument index="0" name="follow" type="bool"> - </argument> - <description> - </description> - </method> - <method name="is_scroll_following" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="set_tab_size"> - <argument index="0" name="spaces" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_tab_size" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - </methods> - <signals> - <signal name="meta_clicked"> - <argument index="0" name="meta" type="Nil"> - </argument> - <description> - </description> - </signal> - </signals> - <constants> - <constant name="ALIGN_LEFT" value="0"> - </constant> - <constant name="ALIGN_CENTER" value="1"> - </constant> - <constant name="ALIGN_RIGHT" value="2"> - </constant> - <constant name="ALIGN_FILL" value="3"> - </constant> - <constant name="LIST_NUMBERS" value="0"> - </constant> - <constant name="LIST_LETTERS" value="1"> - </constant> - <constant name="LIST_DOTS" value="2"> - </constant> - <constant name="ITEM_MAIN" value="0"> - </constant> - <constant name="ITEM_TEXT" value="1"> - </constant> - <constant name="ITEM_IMAGE" value="2"> - </constant> - <constant name="ITEM_NEWLINE" value="3"> - </constant> - <constant name="ITEM_FONT" value="4"> - </constant> - <constant name="ITEM_COLOR" value="5"> - </constant> - <constant name="ITEM_UNDERLINE" value="6"> - </constant> - <constant name="ITEM_ALIGN" value="7"> - </constant> - <constant name="ITEM_INDENT" value="8"> - </constant> - <constant name="ITEM_LIST" value="9"> - </constant> - <constant name="ITEM_META" value="10"> - </constant> - </constants> -</class> -<class name="RigidBody2D" inherits="PhysicsBody2D" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_mode"> - <argument index="0" name="mode" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_mode" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="set_mass"> - <argument index="0" name="mass" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_mass" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="set_weight"> - <argument index="0" name="weight" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_weight" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="set_friction"> - <argument index="0" name="friction" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_friction" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="set_bounce"> - <argument index="0" name="bounce" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_bounce" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="set_linear_velocity"> - <argument index="0" name="linear_velocity" type="Vector2"> - </argument> - <description> - </description> - </method> - <method name="get_linear_velocity" qualifiers="const"> - <return type="Vector2"> - </return> - <description> - </description> - </method> - <method name="set_angular_velocity"> - <argument index="0" name="angular_velocity" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_angular_velocity" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="set_max_contacts_reported"> - <argument index="0" name="amount" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_max_contacts_reported" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="set_use_custom_integrator"> - <argument index="0" name="enable" type="bool"> - </argument> - <description> - </description> - </method> - <method name="is_using_custom_integrator"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="set_contact_monitor"> - <argument index="0" name="enabled" type="bool"> - </argument> - <description> - </description> - </method> - <method name="is_contact_monitor_enabled" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="set_use_continuous_collision_detection"> - <argument index="0" name="enable" type="bool"> - </argument> - <description> - </description> - </method> - <method name="is_using_continuous_collision_detection" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="set_axis_velocity"> - <argument index="0" name="axis_velocity" type="Vector2"> - </argument> - <description> - </description> - </method> - <method name="apply_impulse"> - <argument index="0" name="pos" type="Vector2"> - </argument> - <argument index="1" name="impulse" type="Vector2"> - </argument> - <description> - </description> - </method> - <method name="set_active"> - <argument index="0" name="active" type="bool"> - </argument> - <description> - </description> - </method> - <method name="is_active" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - </methods> - <signals> - <signal name="body_enter"> - <argument index="0" name="body_id" type="int"> - </argument> - <argument index="1" name="body" type="Object"> - </argument> - <description> - </description> - </signal> - <signal name="body_enter_shape"> - <argument index="0" name="body_id" type="int"> - </argument> - <argument index="1" name="body" type="Object"> - </argument> - <argument index="2" name="body_shape" type="int"> - </argument> - <argument index="3" name="local_shape" type="int"> - </argument> - <description> - </description> - </signal> - <signal name="body_exit"> - <argument index="0" name="body_id" type="int"> - </argument> - <argument index="1" name="body" type="Object"> - </argument> - <description> - </description> - </signal> - <signal name="body_exit_shape"> - <argument index="0" name="body_id" type="int"> - </argument> - <argument index="1" name="body" type="Object"> - </argument> - <argument index="2" name="body_shape" type="int"> - </argument> - <argument index="3" name="local_shape" type="int"> - </argument> - <description> - </description> - </signal> - </signals> - <constants> - <constant name="MODE_STATIC" value="1"> - </constant> - <constant name="MODE_RIGID" value="0"> - </constant> - <constant name="MODE_CHARACTER" value="2"> - </constant> - </constants> -</class> -<class name="Room" inherits="Resource" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_bounds"> - <argument index="0" name="bsp_tree" type="Dictionary"> - </argument> - <description> - </description> - </method> - <method name="get_bounds" qualifiers="const"> - <return type="Dictionary"> - </return> - <description> - </description> - </method> - <method name="set_geometry_hint"> - <argument index="0" name="triangles" type="Vector3Array"> - </argument> - <description> - </description> - </method> - <method name="get_geometry_hint" qualifiers="const"> - <return type="Vector3Array"> - </return> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="RoomInstance" inherits="VisualInstance" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_room"> - <argument index="0" name="room" type="Room"> - </argument> - <description> - </description> - </method> - <method name="get_room" qualifiers="const"> - <return type="Room"> - </return> - <description> - </description> - </method> - <method name="compute_room_from_subtree"> - <description> - </description> - </method> - <method name="set_simulate_acoustics"> - <argument index="0" name="enable" type="bool"> - </argument> - <description> - </description> - </method> - <method name="is_simulating_acoustics" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="SSAOFX" inherits="ScenarioFX" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - </methods> - <constants> - </constants> -</class> -<class name="Sample" inherits="Resource" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="create"> - <argument index="0" name="format" type="int"> - </argument> - <argument index="1" name="stereo" type="bool"> - </argument> - <argument index="2" name="length" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_format" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="is_stereo" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="get_length" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="set_data"> - <argument index="0" name="data" type="RawArray"> - </argument> - <description> - </description> - </method> - <method name="get_data" qualifiers="const"> - <return type="RawArray"> - </return> - <description> - </description> - </method> - <method name="set_mix_rate"> - <argument index="0" name="hz" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_mix_rate" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="set_loop_format"> - <argument index="0" name="format" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_loop_format" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="set_loop_begin"> - <argument index="0" name="pos" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_loop_begin" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="set_loop_end"> - <argument index="0" name="pos" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_loop_end" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - </methods> - <constants> - <constant name="FORMAT_PCM8" value="0"> - </constant> - <constant name="FORMAT_PCM16" value="1"> - </constant> - <constant name="FORMAT_IMA_ADPCM" value="2"> - </constant> - <constant name="LOOP_NONE" value="0"> - </constant> - <constant name="LOOP_FORWARD" value="1"> - </constant> - <constant name="LOOP_PING_PONG" value="2"> - </constant> - </constants> -</class> -<class name="SampleLibrary" inherits="Resource" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="add_sample"> - <argument index="0" name="name" type="String"> - </argument> - <argument index="1" name="sample" type="Sample"> - </argument> - <description> - </description> - </method> - <method name="get_sample" qualifiers="const"> - <return type="Sample"> - </return> - <argument index="0" name="name" type="String"> - </argument> - <description> - </description> - </method> - <method name="has_sample" qualifiers="const"> - <return type="bool"> - </return> - <argument index="0" name="name" type="String"> - </argument> - <description> - </description> - </method> - <method name="remove_sample"> - <argument index="0" name="name" type="String"> - </argument> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="SamplePlayer" inherits="Node" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_sample_library"> - <argument index="0" name="library" type="SampleLibrary"> - </argument> - <description> - </description> - </method> - <method name="get_sample_library" qualifiers="const"> - <return type="SampleLibrary"> - </return> - <description> - </description> - </method> - <method name="set_voice_count"> - <argument index="0" name="max_voices" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_voice_count" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="play"> - <return type="int"> - </return> - <argument index="0" name="name" type="String"> - </argument> - <argument index="1" name="unique" type="bool" default="false"> - </argument> - <description> - </description> - </method> - <method name="stop"> - <argument index="0" name="voice" type="int"> - </argument> - <description> - </description> - </method> - <method name="stop_all"> - <description> - </description> - </method> - <method name="set_mix_rate"> - <argument index="0" name="voice" type="int"> - </argument> - <argument index="1" name="hz" type="int"> - </argument> - <description> - </description> - </method> - <method name="set_pitch_scale"> - <argument index="0" name="voice" type="int"> - </argument> - <argument index="1" name="ratio" type="real"> - </argument> - <description> - </description> - </method> - <method name="set_volume"> - <argument index="0" name="voice" type="int"> - </argument> - <argument index="1" name="nrg" type="real"> - </argument> - <description> - </description> - </method> - <method name="set_volume_db"> - <argument index="0" name="voice" type="int"> - </argument> - <argument index="1" name="nrg" type="real"> - </argument> - <description> - </description> - </method> - <method name="set_pan"> - <argument index="0" name="voice" type="int"> - </argument> - <argument index="1" name="pan" type="real"> - </argument> - <argument index="2" name="depth" type="real" default="0"> - </argument> - <argument index="3" name="height" type="real" default="0"> - </argument> - <description> - </description> - </method> - <method name="set_filter"> - <argument index="0" name="voice" type="int"> - </argument> - <argument index="1" name="type" type="int"> - </argument> - <argument index="2" name="cutoff_hz" type="real"> - </argument> - <argument index="3" name="resonance" type="real"> - </argument> - <argument index="4" name="gain" type="real" default="0"> - </argument> - <description> - </description> - </method> - <method name="set_chorus"> - <argument index="0" name="voice" type="int"> - </argument> - <argument index="1" name="send" type="real"> - </argument> - <description> - </description> - </method> - <method name="set_reverb"> - <argument index="0" name="voice" type="int"> - </argument> - <argument index="1" name="room_type" type="int"> - </argument> - <argument index="2" name="send" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_mix_rate" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="voice" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_pitch_scale" qualifiers="const"> - <return type="real"> - </return> - <argument index="0" name="voice" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_volume" qualifiers="const"> - <return type="real"> - </return> - <argument index="0" name="voice" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_volume_db" qualifiers="const"> - <return type="real"> - </return> - <argument index="0" name="voice" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_pan" qualifiers="const"> - <return type="real"> - </return> - <argument index="0" name="voice" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_pan_depth" qualifiers="const"> - <return type="real"> - </return> - <argument index="0" name="voice" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_pan_height" qualifiers="const"> - <return type="real"> - </return> - <argument index="0" name="voice" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_filter_type" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="voice" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_filter_cutoff" qualifiers="const"> - <return type="real"> - </return> - <argument index="0" name="voice" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_filter_resonance" qualifiers="const"> - <return type="real"> - </return> - <argument index="0" name="voice" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_filter_gain" qualifiers="const"> - <return type="real"> - </return> - <argument index="0" name="voice" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_chorus" qualifiers="const"> - <return type="real"> - </return> - <argument index="0" name="voice" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_reverb_room" qualifiers="const"> - <return type="real"> - </return> - <argument index="0" name="voice" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_reverb" qualifiers="const"> - <return type="real"> - </return> - <argument index="0" name="voice" type="int"> - </argument> - <description> - </description> - </method> - <method name="set_default_pitch_scale"> - <argument index="0" name="ratio" type="real"> - </argument> - <description> - </description> - </method> - <method name="set_default_volume"> - <argument index="0" name="nrg" type="real"> - </argument> - <description> - </description> - </method> - <method name="set_default_volume_db"> - <argument index="0" name="db" type="real"> - </argument> - <description> - </description> - </method> - <method name="set_default_pan"> - <argument index="0" name="pan" type="real"> - </argument> - <argument index="1" name="depth" type="real" default="0"> - </argument> - <argument index="2" name="height" type="real" default="0"> - </argument> - <description> - </description> - </method> - <method name="set_default_filter"> - <argument index="0" name="type" type="int"> - </argument> - <argument index="1" name="cutoff_hz" type="real"> - </argument> - <argument index="2" name="resonance" type="real"> - </argument> - <argument index="3" name="gain" type="real" default="0"> - </argument> - <description> - </description> - </method> - <method name="set_default_chorus"> - <argument index="0" name="send" type="real"> - </argument> - <description> - </description> - </method> - <method name="set_default_reverb"> - <argument index="0" name="room_type" type="int"> - </argument> - <argument index="1" name="send" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_default_pitch_scale" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="get_default_volume" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="get_default_volume_db" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="get_default_pan" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="get_default_pan_depth" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="get_default_pan_height" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="get_default_filter_type" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="get_default_filter_cutoff" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="get_default_filter_resonance" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="get_default_filter_gain" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="get_default_chorus" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="get_default_reverb_room" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="get_default_reverb" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="is_active" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="is_voice_active" qualifiers="const"> - <return type="bool"> - </return> - <argument index="0" name="voice" type="int"> - </argument> - <description> - </description> - </method> - </methods> - <constants> - <constant name="FILTER_NONE" value="0"> - </constant> - <constant name="FILTER_LOWPASS" value="1"> - </constant> - <constant name="FILTER_BANDPASS" value="2"> - </constant> - <constant name="FILTER_HIPASS" value="3"> - </constant> - <constant name="FILTER_NOTCH" value="4"> - </constant> - <constant name="FILTER_PEAK" value="5"> - </constant> - <constant name="FILTER_BANDLIMIT" value="6"> - </constant> - <constant name="FILTER_LOW_SHELF" value="7"> - </constant> - <constant name="FILTER_HIGH_SHELF" value="8"> - </constant> - <constant name="REVERB_SMALL" value="0"> - </constant> - <constant name="REVERB_MEDIUM" value="1"> - </constant> - <constant name="REVERB_LARGE" value="2"> - </constant> - <constant name="REVERB_HALL" value="3"> - </constant> - </constants> -</class> -<class name="ScenarioFX" inherits="Node" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - </methods> - <constants> - </constants> -</class> -<class name="SceneIO" inherits="Object" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="load"> - <return type="Object"> - </return> - <argument index="0" name="path" type="String"> - </argument> - <description> - </description> - </method> - <method name="save"> - <return type="int"> - </return> - <argument index="0" name="path" type="String"> - </argument> - <argument index="1" name="scene" type="Object"> - </argument> - <argument index="2" name="flags" type="int" default="0"> - </argument> - <argument index="3" name="optimizer" type="Object" default="Object()"> - </argument> - <description> - </description> - </method> - <method name="load_interactive"> - <return type="SceneInteractiveLoader"> - </return> - <argument index="0" name="path" type="String"> - </argument> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="SceneMainLoop" inherits="MainLoop" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="get_default_world" qualifiers="const"> - <return type="World"> - </return> - <description> - </description> - </method> - <method name="get_default_viewport" qualifiers="const"> - <return type="RID"> - </return> - <description> - </description> - </method> - <method name="get_default_viewport_size" qualifiers="const"> - <return type="Vector2"> - </return> - <description> - </description> - </method> - <method name="get_default_canvas" qualifiers="const"> - <return type="Canvas"> - </return> - <description> - </description> - </method> - <method name="get_default_space_2d" qualifiers="const"> - <return type="Space2D"> - </return> - <description> - </description> - </method> - <method name="notify_group"> - <argument index="0" name="call_flags" type="int"> - </argument> - <argument index="1" name="group" type="String"> - </argument> - <argument index="2" name="notification" type="int"> - </argument> - <description> - </description> - </method> - <method name="set_group"> - <argument index="0" name="call_flags" type="int"> - </argument> - <argument index="1" name="group" type="String"> - </argument> - <argument index="2" name="property" type="String"> - </argument> - <argument index="3" name="value" type="var"> - </argument> - <description> - </description> - </method> - <method name="get_root_node"> - <return type="Node"> - </return> - <description> - </description> - </method> - <method name="set_root_node"> - <argument index="0" name="node" type="Node"> - </argument> - <description> - </description> - </method> - <method name="set_auto_accept_quit"> - <argument index="0" name="enabled" type="bool"> - </argument> - <description> - </description> - </method> - <method name="set_editor_hint"> - <argument index="0" name="enable" type="bool"> - </argument> - <description> - </description> - </method> - <method name="is_editor_hint" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="set_pause"> - <argument index="0" name="enable" type="bool"> - </argument> - <description> - </description> - </method> - <method name="is_paused" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="set_input_as_handled"> - <description> - </description> - </method> - <method name="get_frame" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="quit"> - <description> - </description> - </method> - <method name="call_group"> - <argument index="0" name="flags" type="int"> - </argument> - <argument index="1" name="group" type="String"> - </argument> - <argument index="2" name="method" type="String"> - </argument> - <argument index="3" name="arg0" type="var" default="NULL"> - </argument> - <argument index="4" name="arg1" type="var" default="NULL"> - </argument> - <argument index="5" name="arg2" type="var" default="NULL"> - </argument> - <argument index="6" name="arg3" type="var" default="NULL"> - </argument> - <argument index="7" name="arg4" type="var" default="NULL"> - </argument> - <description> - </description> - </method> - </methods> - <signals> - <signal name="screen_resized"> - <description> - </description> - </signal> - <signal name="node_removed"> - <argument index="0" name="node" type="Object"> - </argument> - <description> - </description> - </signal> - <signal name="tree_changed"> - <description> - </description> - </signal> - </signals> - <constants> - <constant name="GROUP_CALL_DEFAULT" value="0"> - </constant> - <constant name="GROUP_CALL_REVERSE" value="1"> - </constant> - <constant name="GROUP_CALL_REALTIME" value="2"> - </constant> - <constant name="GROUP_CALL_UNIQUE" value="4"> - </constant> - </constants> -</class> -<class name="ScenePreloader" inherits="Resource" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="load_scene"> - <return type="int"> - </return> - <argument index="0" name="path" type="String"> - </argument> - <description> - </description> - </method> - <method name="get_scene_path" qualifiers="const"> - <return type="String"> - </return> - <description> - </description> - </method> - <method name="instance" qualifiers="const"> - <return type="Node"> - </return> - <description> - </description> - </method> - <method name="can_instance" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="ScreenProximity2D" inherits="ProximityGroup2D" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="enter_screen"> - <description> - </description> - </method> - <method name="exit_screen"> - <description> - </description> - </method> - </methods> - <signals> - <signal name="enter_screen"> - <description> - </description> - </signal> - <signal name="exit_screen"> - <description> - </description> - </signal> - </signals> - <constants> - </constants> -</class> -<class name="Script" inherits="Resource" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="can_instance" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="instance_has" qualifiers="const"> - <return type="bool"> - </return> - <argument index="0" name="base_object" type="Object"> - </argument> - <description> - </description> - </method> - <method name="has_source_code" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="get_source_code" qualifiers="const"> - <return type="String"> - </return> - <description> - </description> - </method> - <method name="set_source_code"> - <argument index="0" name="source" type="String"> - </argument> - <description> - </description> - </method> - <method name="reload"> - <return type="int"> - </return> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="ScrollBar" inherits="Range" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_custom_step"> - <argument index="0" name="step" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_custom_step" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="SegmentShape2D" inherits="Shape2D" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_a"> - <argument index="0" name="a" type="Vector2"> - </argument> - <description> - </description> - </method> - <method name="get_a" qualifiers="const"> - <return type="Vector2"> - </return> - <description> - </description> - </method> - <method name="set_b"> - <argument index="0" name="b" type="Vector2"> - </argument> - <description> - </description> - </method> - <method name="get_b" qualifiers="const"> - <return type="Vector2"> - </return> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="Separator" inherits="Control" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - </methods> - <constants> - </constants> -</class> -<class name="Shader" inherits="Resource" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_mode"> - <argument index="0" name="mode" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_mode" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="set_vertex_code"> - <argument index="0" name="code" type="String"> - </argument> - <description> - </description> - </method> - <method name="get_vertex_code" qualifiers="const"> - <return type="String"> - </return> - <description> - </description> - </method> - <method name="set_fragment_code"> - <argument index="0" name="code" type="String"> - </argument> - <description> - </description> - </method> - <method name="get_fragment_code" qualifiers="const"> - <return type="String"> - </return> - <description> - </description> - </method> - <method name="set_use_world_transform"> - <argument index="0" name="enable" type="bool"> - </argument> - <description> - </description> - </method> - <method name="is_using_world_transform" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="set_param"> - <argument index="0" name="param" type="String"> - </argument> - <argument index="1" name="value" type="var"> - </argument> - <description> - </description> - </method> - <method name="get_param" qualifiers="const"> - <argument index="0" name="param" type="String"> - </argument> - <description> - </description> - </method> - <method name="get_param_list" qualifiers="const"> - <return type="StringArray"> - </return> - <description> - </description> - </method> - </methods> - <constants> - <constant name="MODE_MATERIAL" value="0"> - </constant> - <constant name="MODE_POST_PROCESS" value="1"> - </constant> - </constants> -</class> -<class name="ShaderMaterial" inherits="Material" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_shader"> - <argument index="0" name="shader" type="Shader"> - </argument> - <description> - </description> - </method> - <method name="get_shader" qualifiers="const"> - <return type="Shader"> - </return> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="Shape" inherits="Resource" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - </methods> - <constants> - </constants> -</class> -<class name="Shape2D" inherits="Resource" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - </methods> - <constants> - </constants> -</class> -<class name="Skeleton" inherits="Spatial" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="add_bone"> - <argument index="0" name="name" type="String"> - </argument> - <description> - </description> - </method> - <method name="find_bone" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="name" type="String"> - </argument> - <description> - </description> - </method> - <method name="get_bone_name" qualifiers="const"> - <return type="String"> - </return> - <argument index="0" name="bone_idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_bone_parent" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="bone_idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="set_bone_parent"> - <argument index="0" name="bone_idx" type="int"> - </argument> - <argument index="1" name="parent_idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_bone_count" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="get_bone_rest" qualifiers="const"> - <return type="Transform"> - </return> - <argument index="0" name="bone_idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="set_bone_rest"> - <argument index="0" name="bone_idx" type="int"> - </argument> - <argument index="1" name="rest" type="Transform"> - </argument> - <description> - </description> - </method> - <method name="bind_child_node_to_bone"> - <argument index="0" name="bone_idx" type="int"> - </argument> - <argument index="1" name="node" type="Node"> - </argument> - <description> - </description> - </method> - <method name="unbind_child_node_from_bone"> - <argument index="0" name="bone_idx" type="int"> - </argument> - <argument index="1" name="node" type="Node"> - </argument> - <description> - </description> - </method> - <method name="get_bound_child_nodes_to_bone" qualifiers="const"> - <return type="Array"> - </return> - <argument index="0" name="bone_idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="clear_bones"> - <description> - </description> - </method> - <method name="get_bone_pose" qualifiers="const"> - <return type="Transform"> - </return> - <argument index="0" name="bone_idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="set_bone_pose"> - <argument index="0" name="bone_idx" type="int"> - </argument> - <argument index="1" name="pose" type="Transform"> - </argument> - <description> - </description> - </method> - <method name="get_bone_custom_pose" qualifiers="const"> - <return type="Transform"> - </return> - <argument index="0" name="bone_idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="set_bone_custom_pose"> - <argument index="0" name="bone_idx" type="int"> - </argument> - <argument index="1" name="custom_pose" type="Transform"> - </argument> - <description> - </description> - </method> - <method name="get_bone_transform" qualifiers="const"> - <return type="Transform"> - </return> - <argument index="0" name="bone_idx" type="int"> - </argument> - <description> - </description> - </method> - </methods> - <constants> - <constant name="NOTIFICATION_UPDATE_SKELETON" value="50"> - </constant> - </constants> -</class> -<class name="SkyBoxFX" inherits="ScenarioFX" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - </methods> - <constants> - </constants> -</class> -<class name="Slider" inherits="Range" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_ticks"> - <argument index="0" name="count" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_ticks" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="get_ticks_on_borders" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="set_ticks_on_borders"> - <argument index="0" name="ticks_on_border" type="bool"> - </argument> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="SoundRoomParams" inherits="Node" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_param"> - <argument index="0" name="param" type="int"> - </argument> - <argument index="1" name="value" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_param" qualifiers="const"> - <return type="real"> - </return> - <argument index="0" name="param" type="int"> - </argument> - <description> - </description> - </method> - <method name="set_reverb_mode"> - <argument index="0" name="reverb_mode" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_reverb_mode" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="set_force_params_to_all_sources"> - <argument index="0" name="enabled" type="bool"> - </argument> - <description> - </description> - </method> - <method name="is_forcing_params_to_all_sources"> - <return type="bool"> - </return> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="Spatial" inherits="Node" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_transform"> - <argument index="0" name="local" type="Transform"> - </argument> - <description> - </description> - </method> - <method name="get_transform" qualifiers="const"> - <return type="Transform"> - </return> - <description> - </description> - </method> - <method name="set_global_transform"> - <argument index="0" name="global" type="Transform"> - </argument> - <description> - </description> - </method> - <method name="get_global_transform" qualifiers="const"> - <return type="Transform"> - </return> - <description> - </description> - </method> - <method name="get_parent_spatial" qualifiers="const"> - <return type="Object"> - </return> - <description> - </description> - </method> - <method name="update_gizmo"> - <description> - </description> - </method> - </methods> - <constants> - <constant name="NOTIFICATION_UPDATE_GIZMO" value="43"> - </constant> - <constant name="NOTIFICATION_TRANSFORM_CHANGED" value="40"> - </constant> - <constant name="NOTIFICATION_SCENARIO_CHANGED" value="41"> - </constant> - </constants> -</class> -<class name="SpatialPlayer" inherits="Spatial" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_param"> - <argument index="0" name="param" type="int"> - </argument> - <argument index="1" name="value" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_param" qualifiers="const"> - <return type="real"> - </return> - <argument index="0" name="param" type="int"> - </argument> - <description> - </description> - </method> - </methods> - <constants> - <constant name="PARAM_VOLUME_DB" value="0"> - </constant> - <constant name="PARAM_PITCH_SCALE" value="1"> - </constant> - <constant name="PARAM_ATTENUATION_MIN_DISTANCE" value="2"> - </constant> - <constant name="PARAM_ATTENUATION_MAX_DISTANCE" value="3"> - </constant> - <constant name="PARAM_ATTENUATION_DISTANCE_EXP" value="4"> - </constant> - <constant name="PARAM_EMISSION_CONE_DEGREES" value="5"> - </constant> - <constant name="PARAM_EMISSION_CONE_ATTENUATION_DB" value="6"> - </constant> - <constant name="PARAM_MAX" value="7"> - </constant> - </constants> -</class> -<class name="SpatialSamplePlayer" inherits="SpatialPlayer" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_sample_library"> - <argument index="0" name="library" type="SampleLibrary"> - </argument> - <description> - </description> - </method> - <method name="get_sample_library" qualifiers="const"> - <return type="SampleLibrary"> - </return> - <description> - </description> - </method> - <method name="set_polyphony"> - <argument index="0" name="voices" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_polyphony" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="play"> - <return type="int"> - </return> - <argument index="0" name="sample" type="String"> - </argument> - <argument index="1" name="voice" type="int" default="-2"> - </argument> - <description> - </description> - </method> - <method name="voice_set_pitch_scale"> - <argument index="0" name="voice" type="int"> - </argument> - <argument index="1" name="ratio" type="real"> - </argument> - <description> - </description> - </method> - <method name="voice_set_volume_scale_db"> - <argument index="0" name="voice" type="int"> - </argument> - <argument index="1" name="db" type="real"> - </argument> - <description> - </description> - </method> - <method name="is_voice_active" qualifiers="const"> - <return type="bool"> - </return> - <argument index="0" name="voice" type="int"> - </argument> - <description> - </description> - </method> - <method name="stop_voice"> - <argument index="0" name="voice" type="int"> - </argument> - <description> - </description> - </method> - <method name="stop_all"> - <description> - </description> - </method> - </methods> - <constants> - <constant name="INVALID_VOICE" value="-1"> - </constant> - <constant name="NEXT_VOICE" value="-2"> - </constant> - </constants> -</class> -<class name="SpatialSoundServer" inherits="Object" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - </methods> - <constants> - </constants> -</class> -<class name="SpatialSoundServerSW" inherits="SpatialSoundServer" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - </methods> - <constants> - </constants> -</class> -<class name="SpatialStreamPlayer" inherits="SpatialPlayer" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_stream"> - <argument index="0" name="stream" type="Stream"> - </argument> - <description> - </description> - </method> - <method name="get_stream" qualifiers="const"> - <return type="Stream"> - </return> - <description> - </description> - </method> - <method name="play"> - <description> - </description> - </method> - <method name="stop"> - <description> - </description> - </method> - <method name="is_playing" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="set_loop"> - <argument index="0" name="enabled" type="bool"> - </argument> - <description> - </description> - </method> - <method name="has_loop" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="get_stream_name" qualifiers="const"> - <return type="String"> - </return> - <description> - </description> - </method> - <method name="get_loop_count" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="get_pos" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="seek_pos"> - <argument index="0" name="time" type="real"> - </argument> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="SphereShape" inherits="Shape" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_radius"> - <argument index="0" name="radius" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_radius" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="SpinBox" inherits="Range" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_suffix"> - <argument index="0" name="suffix" type="String"> - </argument> - <description> - </description> - </method> - <method name="get_suffix" qualifiers="const"> - <return type="String"> - </return> - <description> - </description> - </method> - <method name="set_prefix"> - <argument index="0" name="prefix" type="String"> - </argument> - <description> - </description> - </method> - <method name="get_prefix" qualifiers="const"> - <return type="String"> - </return> - <description> - </description> - </method> - <method name="set_editable"> - <argument index="0" name="editable" type="bool"> - </argument> - <description> - </description> - </method> - <method name="is_editable" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="SpotLight" inherits="Light" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - </methods> - <constants> - </constants> -</class> -<class name="Sprite" inherits="Node2D" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_texture"> - <argument index="0" name="texture" type="Texture"> - </argument> - <description> - </description> - </method> - <method name="get_texture" qualifiers="const"> - <return type="Texture"> - </return> - <description> - </description> - </method> - <method name="set_centered"> - <argument index="0" name="centered" type="bool"> - </argument> - <description> - </description> - </method> - <method name="is_centered" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="set_flip_h"> - <argument index="0" name="flip_h" type="bool"> - </argument> - <description> - </description> - </method> - <method name="is_flipped_h" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="set_flip_v"> - <argument index="0" name="flip_v" type="bool"> - </argument> - <description> - </description> - </method> - <method name="is_flipped_v" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="set_region"> - <argument index="0" name="enabled" type="bool"> - </argument> - <description> - </description> - </method> - <method name="is_region" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="set_region_rect"> - <argument index="0" name="rect" type="Rect2"> - </argument> - <description> - </description> - </method> - <method name="get_region_rect" qualifiers="const"> - <return type="Rect2"> - </return> - <description> - </description> - </method> - <method name="set_frame"> - <argument index="0" name="frame" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_frame" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="set_vframes"> - <argument index="0" name="vframes" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_vframes" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="set_hframes"> - <argument index="0" name="hframes" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_hframes" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="set_modulate"> - <argument index="0" name="modulate" type="Color"> - </argument> - <description> - </description> - </method> - <method name="get_modulate" qualifiers="const"> - <return type="Color"> - </return> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="SquirrelScript" inherits="Script" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - </methods> - <constants> - </constants> -</class> -<class name="StaticBody" inherits="PhysicsBody" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_simulated_motion"> - <argument index="0" name="enabled" type="bool"> - </argument> - <description> - </description> - </method> - <method name="is_simulating_motion" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="simulate_motion"> - <argument index="0" name="new_transform" type="Transform"> - </argument> - <description> - </description> - </method> - <method name="create_shapes_from_child_meshes"> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="StaticBody2D" inherits="PhysicsBody2D" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_simulate_motion"> - <argument index="0" name="enabled" type="bool"> - </argument> - <description> - </description> - </method> - <method name="is_simulating_motion" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="set_constant_linear_velocity"> - <argument index="0" name="vel" type="Vector2"> - </argument> - <description> - </description> - </method> - <method name="set_constant_angular_velocity"> - <argument index="0" name="vel" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_constant_linear_velocity" qualifiers="const"> - <return type="Vector2"> - </return> - <description> - </description> - </method> - <method name="get_constant_angular_velocity" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="StreamPeer" inherits="Object" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="put_data"> - <return type="int"> - </return> - <argument index="0" name="data" type="RawArray"> - </argument> - <description> - </description> - </method> - <method name="put_partial_data"> - <return type="Array"> - </return> - <argument index="0" name="data" type="RawArray"> - </argument> - <description> - </description> - </method> - <method name="get_data"> - <return type="Array"> - </return> - <argument index="0" name="bytes" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_partial_data"> - <return type="Array"> - </return> - <argument index="0" name="bytes" type="int"> - </argument> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="StreamPeerTCP" inherits="StreamPeer" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="connect"> - <return type="int"> - </return> - <argument index="0" name="host" type="String"> - </argument> - <argument index="1" name="ip" type="int"> - </argument> - <description> - </description> - </method> - <method name="is_connected" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="get_connected_host" qualifiers="const"> - <return type="String"> - </return> - <description> - </description> - </method> - <method name="get_connected_port" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="disconnect"> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="StreamPlayer" inherits="Node" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_stream"> - <argument index="0" name="stream" type="Stream"> - </argument> - <description> - </description> - </method> - <method name="get_stream" qualifiers="const"> - <return type="Stream"> - </return> - <description> - </description> - </method> - <method name="play"> - <description> - </description> - </method> - <method name="stop"> - <description> - </description> - </method> - <method name="is_playing" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="set_paused"> - <argument index="0" name="paused" type="bool"> - </argument> - <description> - </description> - </method> - <method name="is_paused" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="set_loop"> - <argument index="0" name="enabled" type="bool"> - </argument> - <description> - </description> - </method> - <method name="has_loop" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="set_volume"> - <argument index="0" name="volume" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_volume" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="set_volume_db"> - <argument index="0" name="db" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_volume_db" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="get_stream_name" qualifiers="const"> - <return type="String"> - </return> - <description> - </description> - </method> - <method name="get_loop_count" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="get_pos" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="seek_pos"> - <argument index="0" name="time" type="real"> - </argument> - <description> - </description> - </method> - <method name="set_autoplay"> - <argument index="0" name="enabled" type="bool"> - </argument> - <description> - </description> - </method> - <method name="has_autoplay" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="get_length" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="StyleBox" inherits="Resource" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="test_mask" qualifiers="const"> - <return type="bool"> - </return> - <argument index="0" name="point" type="Vector2"> - </argument> - <argument index="1" name="rect" type="Rect2"> - </argument> - <description> - </description> - </method> - <method name="set_default_margin"> - <argument index="0" name="margin" type="int"> - </argument> - <argument index="1" name="offset" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_default_margin" qualifiers="const"> - <return type="real"> - </return> - <argument index="0" name="margin" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_margin" qualifiers="const"> - <return type="real"> - </return> - <argument index="0" name="margin" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_minimum_size" qualifiers="const"> - <return type="Vector2"> - </return> - <description> - </description> - </method> - <method name="get_center_size" qualifiers="const"> - <return type="Vector2"> - </return> - <description> - </description> - </method> - <method name="get_offset" qualifiers="const"> - <return type="Vector2"> - </return> - <description> - </description> - </method> - <method name="draw" qualifiers="const"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="Rect2"> - </argument> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="StyleBoxEmpty" inherits="StyleBox" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - </methods> - <constants> - </constants> -</class> -<class name="StyleBoxFlat" inherits="StyleBox" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_bg_color"> - <argument index="0" name="color" type="Color"> - </argument> - <description> - </description> - </method> - <method name="get_bg_color" qualifiers="const"> - <return type="Color"> - </return> - <description> - </description> - </method> - <method name="set_light_color"> - <argument index="0" name="color" type="Color"> - </argument> - <description> - </description> - </method> - <method name="get_light_color" qualifiers="const"> - <return type="Color"> - </return> - <description> - </description> - </method> - <method name="set_dark_color"> - <argument index="0" name="color" type="Color"> - </argument> - <description> - </description> - </method> - <method name="get_dark_color" qualifiers="const"> - <return type="Color"> - </return> - <description> - </description> - </method> - <method name="set_border_size"> - <argument index="0" name="size" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_border_size" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="set_border_blend"> - <argument index="0" name="blend" type="bool"> - </argument> - <description> - </description> - </method> - <method name="get_border_blend" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="set_draw_center"> - <argument index="0" name="size" type="bool"> - </argument> - <description> - </description> - </method> - <method name="get_draw_center" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="StyleBoxImageMask" inherits="StyleBox" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_image"> - <argument index="0" name="image" type="Image"> - </argument> - <description> - </description> - </method> - <method name="get_image" qualifiers="const"> - <return type="Image"> - </return> - <description> - </description> - </method> - <method name="set_expand"> - <argument index="0" name="expand" type="bool"> - </argument> - <description> - </description> - </method> - <method name="get_expand" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="set_expand_margin_size"> - <argument index="0" name="margin" type="int"> - </argument> - <argument index="1" name="size" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_expand_margin_size" qualifiers="const"> - <return type="real"> - </return> - <argument index="0" name="arg0" type="int"> - </argument> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="StyleBoxTexture" inherits="StyleBox" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_texture"> - <argument index="0" name="texture" type="Texture"> - </argument> - <description> - </description> - </method> - <method name="get_texture" qualifiers="const"> - <return type="Texture"> - </return> - <description> - </description> - </method> - <method name="set_margin_size"> - <argument index="0" name="margin" type="int"> - </argument> - <argument index="1" name="size" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_margin_size" qualifiers="const"> - <return type="real"> - </return> - <argument index="0" name="arg0" type="int"> - </argument> - <description> - </description> - </method> - <method name="set_expand_margin_size"> - <argument index="0" name="margin" type="int"> - </argument> - <argument index="1" name="size" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_expand_margin_size" qualifiers="const"> - <return type="real"> - </return> - <argument index="0" name="arg0" type="int"> - </argument> - <description> - </description> - </method> - <method name="set_draw_center"> - <argument index="0" name="enable" type="bool"> - </argument> - <description> - </description> - </method> - <method name="get_draw_center" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="SurfaceTool" inherits="Reference" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="begin"> - <argument index="0" name="primitive" type="int"> - </argument> - <description> - </description> - </method> - <method name="add_vertex"> - <argument index="0" name="vertex" type="Vector3"> - </argument> - <description> - </description> - </method> - <method name="add_color"> - <argument index="0" name="color" type="Color"> - </argument> - <description> - </description> - </method> - <method name="add_normal"> - <argument index="0" name="normal" type="Vector3"> - </argument> - <description> - </description> - </method> - <method name="add_tangent"> - <argument index="0" name="tangent" type="Plane"> - </argument> - <description> - </description> - </method> - <method name="add_uv"> - <argument index="0" name="uv" type="Vector3"> - </argument> - <description> - </description> - </method> - <method name="add_uv2"> - <argument index="0" name="uv2" type="Vector3"> - </argument> - <description> - </description> - </method> - <method name="add_bones"> - <argument index="0" name="bones" type="IntArray"> - </argument> - <description> - </description> - </method> - <method name="add_weights"> - <argument index="0" name="weights" type="RealArray"> - </argument> - <description> - </description> - </method> - <method name="set_material"> - <argument index="0" name="material" type="Material"> - </argument> - <description> - </description> - </method> - <method name="index"> - <description> - </description> - </method> - <method name="deindex"> - <description> - </description> - </method> - <method name="generate_flat_normals"> - <description> - </description> - </method> - <method name="generate_smooth_normals"> - <description> - </description> - </method> - <method name="generate_tangents"> - <description> - </description> - </method> - <method name="commit"> - <return type="Mesh"> - </return> - <argument index="0" name="existing" type="Mesh" default="Object()"> - </argument> - <description> - </description> - </method> - <method name="clear"> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="TCP_Server" inherits="Object" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="listen"> - <return type="int"> - </return> - <argument index="0" name="port" type="int"> - </argument> - <argument index="1" name="accepted_hosts" type="StringArray" default="StringArray()"> - </argument> - <description> - </description> - </method> - <method name="is_connection_available" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="take_connection"> - <return type="Object"> - </return> - <description> - </description> - </method> - <method name="stop"> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="TabContainer" inherits="Control" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="get_tab_count" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="set_current_tab"> - <argument index="0" name="tab_idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_current_tab" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="set_tab_align"> - <argument index="0" name="align" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_tab_align" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="set_tabs_visible"> - <argument index="0" name="visible" type="bool"> - </argument> - <description> - </description> - </method> - <method name="are_tabs_visible" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="set_tab_title"> - <argument index="0" name="tab_idx" type="int"> - </argument> - <argument index="1" name="title" type="String"> - </argument> - <description> - </description> - </method> - <method name="get_tab_title" qualifiers="const"> - <return type="String"> - </return> - <argument index="0" name="tab_idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="set_tab_icon"> - <argument index="0" name="tab_idx" type="int"> - </argument> - <argument index="1" name="icon" type="Texture"> - </argument> - <description> - </description> - </method> - <method name="get_tab_icon" qualifiers="const"> - <return type="Texture"> - </return> - <argument index="0" name="tab_idx" type="int"> - </argument> - <description> - </description> - </method> - </methods> - <signals> - <signal name="tab_changed"> - <argument index="0" name="tab" type="int"> - </argument> - <description> - </description> - </signal> - </signals> - <constants> - </constants> -</class> -<class name="TestCube" inherits="GeometryInstance" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - </methods> - <constants> - </constants> -</class> -<class name="TextEdit" inherits="Control" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_text"> - <argument index="0" name="text" type="String"> - </argument> - <description> - </description> - </method> - <method name="insert_text_at_cursor"> - <argument index="0" name="text" type="String"> - </argument> - <description> - </description> - </method> - <method name="get_line_count" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="get_text"> - <return type="String"> - </return> - <description> - </description> - </method> - <method name="get_line"> - <return type="String"> - </return> - <argument index="0" name="arg0" type="int"> - </argument> - <description> - </description> - </method> - <method name="cursor_set_column"> - <argument index="0" name="column" type="int"> - </argument> - <description> - </description> - </method> - <method name="cursor_set_line"> - <argument index="0" name="line" type="int"> - </argument> - <description> - </description> - </method> - <method name="cursor_get_column" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="cursor_get_line" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="set_readonly"> - <argument index="0" name="enable" type="bool"> - </argument> - <description> - </description> - </method> - <method name="set_wrap"> - <argument index="0" name="enable" type="bool"> - </argument> - <description> - </description> - </method> - <method name="set_max_chars"> - <argument index="0" name="amount" type="int"> - </argument> - <description> - </description> - </method> - <method name="cut"> - <description> - </description> - </method> - <method name="copy"> - <description> - </description> - </method> - <method name="paste"> - <description> - </description> - </method> - <method name="select_all"> - <description> - </description> - </method> - <method name="select"> - <argument index="0" name="from_line" type="int"> - </argument> - <argument index="1" name="from_column" type="int"> - </argument> - <argument index="2" name="to_line" type="int"> - </argument> - <argument index="3" name="to_column" type="int"> - </argument> - <description> - </description> - </method> - <method name="is_selection_active" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="get_selection_from_line" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="get_selection_from_column" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="get_selection_to_line" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="get_selection_to_column" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="get_selection_text" qualifiers="const"> - <return type="String"> - </return> - <description> - </description> - </method> - <method name="search" qualifiers="const"> - <return type="IntArray"> - </return> - <argument index="0" name="flags" type="String"> - </argument> - <argument index="1" name="from_line" type="int"> - </argument> - <argument index="2" name="from_column" type="int"> - </argument> - <argument index="3" name="to_line" type="int"> - </argument> - <description> - </description> - </method> - <method name="undo"> - <description> - </description> - </method> - <method name="redo"> - <description> - </description> - </method> - <method name="clear_undo_history"> - <description> - </description> - </method> - <method name="set_syntax_coloring"> - <argument index="0" name="enable" type="bool"> - </argument> - <description> - </description> - </method> - <method name="is_syntax_coloring_enabled" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="add_keyword_color"> - <argument index="0" name="keyword" type="String"> - </argument> - <argument index="1" name="color" type="Color"> - </argument> - <description> - </description> - </method> - <method name="add_color_region"> - <argument index="0" name="begin_key" type="String"> - </argument> - <argument index="1" name="end_key" type="String"> - </argument> - <argument index="2" name="color" type="Color"> - </argument> - <argument index="3" name="line_only" type="bool" default="false"> - </argument> - <description> - </description> - </method> - <method name="set_symbol_color"> - <argument index="0" name="color" type="Color"> - </argument> - <description> - </description> - </method> - <method name="set_custom_bg_color"> - <argument index="0" name="color" type="Color"> - </argument> - <description> - </description> - </method> - <method name="clear_colors"> - <description> - </description> - </method> - </methods> - <signals> - <signal name="text_changed"> - <description> - </description> - </signal> - <signal name="cursor_changed"> - <description> - </description> - </signal> - </signals> - <constants> - <constant name="SEARCH_MATCH_CASE" value="1"> - </constant> - <constant name="SEARCH_WHOLE_WORDS" value="2"> - </constant> - <constant name="SEARCH_BACKWARDS" value="4"> - </constant> - </constants> -</class> -<class name="Texture" inherits="Resource" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="create"> - <argument index="0" name="width" type="int"> - </argument> - <argument index="1" name="height" type="int"> - </argument> - <argument index="2" name="format" type="int"> - </argument> - <argument index="3" name="flags" type="int"> - </argument> - <argument index="4" name="arg4" type="int" default="7"> - </argument> - <description> - </description> - </method> - <method name="create_from_image"> - <argument index="0" name="image" type="Image"> - </argument> - <argument index="1" name="flags" type="int" default="7"> - </argument> - <description> - </description> - </method> - <method name="set_flags"> - <argument index="0" name="flags" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_flags" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="get_format" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="load"> - <argument index="0" name="path" type="String"> - </argument> - <description> - </description> - </method> - <method name="set_data"> - <argument index="0" name="image" type="Image"> - </argument> - <argument index="1" name="cube_side" type="int" default="0"> - </argument> - <description> - </description> - </method> - <method name="get_data" qualifiers="const"> - <return type="Image"> - </return> - <argument index="0" name="cube_side" type="int" default="0"> - </argument> - <description> - </description> - </method> - <method name="get_width" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="get_height" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="get_size" qualifiers="const"> - <return type="Vector2"> - </return> - <description> - </description> - </method> - <method name="get_rid" qualifiers="const"> - <return type="RID"> - </return> - <description> - </description> - </method> - <method name="has_alpha" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="draw" qualifiers="const"> - <argument index="0" name="canvas_item" type="RID"> - </argument> - <argument index="1" name="pos" type="Vector2"> - </argument> - <argument index="2" name="modulate" type="Color" default="Color(1,1,1,1)"> - </argument> - <description> - </description> - </method> - </methods> - <constants> - <constant name="FLAG_MIPMAPS" value="1"> - </constant> - <constant name="FLAG_REPEAT" value="2"> - </constant> - <constant name="FLAG_FILTER" value="4"> - </constant> - <constant name="FLAG_CUBEMAP" value="8"> - </constant> - <constant name="FLAG_VIDEO_SURFACE" value="16"> - </constant> - <constant name="FLAGS_DEFAULT" value="7"> - </constant> - <constant name="CUBEMAP_LEFT" value="0"> - </constant> - <constant name="CUBEMAP_RIGHT" value="1"> - </constant> - <constant name="CUBEMAP_BOTTOM" value="2"> - </constant> - <constant name="CUBEMAP_TOP" value="3"> - </constant> - <constant name="CUBEMAP_FRONT" value="4"> - </constant> - <constant name="CUBEMAP_BACK" value="5"> - </constant> - </constants> -</class> -<class name="TextureButton" inherits="BaseButton" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_normal_texture"> - <argument index="0" name="texture" type="Texture"> - </argument> - <description> - </description> - </method> - <method name="set_pressed_texture"> - <argument index="0" name="texture" type="Texture"> - </argument> - <description> - </description> - </method> - <method name="set_hover_texture"> - <argument index="0" name="texture" type="Texture"> - </argument> - <description> - </description> - </method> - <method name="set_disabled_texture"> - <argument index="0" name="texture" type="Texture"> - </argument> - <description> - </description> - </method> - <method name="set_focused_texture"> - <argument index="0" name="texture" type="Texture"> - </argument> - <description> - </description> - </method> - <method name="set_click_mask"> - <argument index="0" name="texture:Image" type="Image"> - </argument> - <description> - </description> - </method> - <method name="get_normal_texture" qualifiers="const"> - <return type="Texture"> - </return> - <description> - </description> - </method> - <method name="get_pressed_texture" qualifiers="const"> - <return type="Texture"> - </return> - <description> - </description> - </method> - <method name="get_hover_texture" qualifiers="const"> - <return type="Texture"> - </return> - <description> - </description> - </method> - <method name="get_disabled_texture" qualifiers="const"> - <return type="Texture"> - </return> - <description> - </description> - </method> - <method name="get_focused_texture" qualifiers="const"> - <return type="Texture"> - </return> - <description> - </description> - </method> - <method name="get_click_mask" qualifiers="const"> - <return type="Image"> - </return> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="TextureFrame" inherits="Control" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_texture"> - <argument index="0" name="texture" type="Object"> - </argument> - <description> - </description> - </method> - <method name="get_texture" qualifiers="const"> - <return type="Object"> - </return> - <description> - </description> - </method> - <method name="set_expand"> - <argument index="0" name="enable" type="bool"> - </argument> - <description> - </description> - </method> - <method name="has_expand" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="TextureProgress" inherits="Range" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_under_texture"> - <argument index="0" name="tex" type="Object"> - </argument> - <description> - </description> - </method> - <method name="get_under_texture" qualifiers="const"> - <return type="Object"> - </return> - <description> - </description> - </method> - <method name="set_progress_texture"> - <argument index="0" name="tex" type="Object"> - </argument> - <description> - </description> - </method> - <method name="get_progress_texture" qualifiers="const"> - <return type="Object"> - </return> - <description> - </description> - </method> - <method name="set_over_texture"> - <argument index="0" name="tex" type="Object"> - </argument> - <description> - </description> - </method> - <method name="get_over_texture" qualifiers="const"> - <return type="Object"> - </return> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="Theme" inherits="Resource" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_icon"> - <argument index="0" name="name" type="String"> - </argument> - <argument index="1" name="type" type="String"> - </argument> - <argument index="2" name="texture" type="Texture"> - </argument> - <description> - </description> - </method> - <method name="get_icon" qualifiers="const"> - <return type="Texture"> - </return> - <argument index="0" name="name" type="String"> - </argument> - <argument index="1" name="type" type="String"> - </argument> - <description> - </description> - </method> - <method name="has_icon" qualifiers="const"> - <return type="bool"> - </return> - <argument index="0" name="name" type="String"> - </argument> - <argument index="1" name="type" type="String"> - </argument> - <description> - </description> - </method> - <method name="clear_icon"> - <argument index="0" name="name" type="String"> - </argument> - <argument index="1" name="type" type="String"> - </argument> - <description> - </description> - </method> - <method name="get_icon_list" qualifiers="const"> - <return type="StringArray"> - </return> - <argument index="0" name="arg0" type="String"> - </argument> - <description> - </description> - </method> - <method name="set_stylebox"> - <argument index="0" name="name" type="String"> - </argument> - <argument index="1" name="type" type="String"> - </argument> - <argument index="2" name="texture" type="StyleBox"> - </argument> - <description> - </description> - </method> - <method name="get_stylebox" qualifiers="const"> - <return type="StyleBox"> - </return> - <argument index="0" name="name" type="String"> - </argument> - <argument index="1" name="type" type="String"> - </argument> - <description> - </description> - </method> - <method name="has_stylebox" qualifiers="const"> - <return type="bool"> - </return> - <argument index="0" name="name" type="String"> - </argument> - <argument index="1" name="type" type="String"> - </argument> - <description> - </description> - </method> - <method name="clear_stylebox"> - <argument index="0" name="name" type="String"> - </argument> - <argument index="1" name="type" type="String"> - </argument> - <description> - </description> - </method> - <method name="get_stylebox_list" qualifiers="const"> - <return type="StringArray"> - </return> - <argument index="0" name="arg0" type="String"> - </argument> - <description> - </description> - </method> - <method name="set_font"> - <argument index="0" name="name" type="String"> - </argument> - <argument index="1" name="type" type="String"> - </argument> - <argument index="2" name="font" type="Font"> - </argument> - <description> - </description> - </method> - <method name="get_font" qualifiers="const"> - <return type="Font"> - </return> - <argument index="0" name="name" type="String"> - </argument> - <argument index="1" name="type" type="String"> - </argument> - <description> - </description> - </method> - <method name="has_font" qualifiers="const"> - <return type="bool"> - </return> - <argument index="0" name="name" type="String"> - </argument> - <argument index="1" name="type" type="String"> - </argument> - <description> - </description> - </method> - <method name="clear_font"> - <argument index="0" name="name" type="String"> - </argument> - <argument index="1" name="type" type="String"> - </argument> - <description> - </description> - </method> - <method name="get_font_list" qualifiers="const"> - <return type="StringArray"> - </return> - <argument index="0" name="arg0" type="String"> - </argument> - <description> - </description> - </method> - <method name="set_color"> - <argument index="0" name="name" type="String"> - </argument> - <argument index="1" name="type" type="String"> - </argument> - <argument index="2" name="color" type="Color"> - </argument> - <description> - </description> - </method> - <method name="get_color" qualifiers="const"> - <return type="Color"> - </return> - <argument index="0" name="name" type="String"> - </argument> - <argument index="1" name="type" type="String"> - </argument> - <description> - </description> - </method> - <method name="has_color" qualifiers="const"> - <return type="bool"> - </return> - <argument index="0" name="name" type="String"> - </argument> - <argument index="1" name="type" type="String"> - </argument> - <description> - </description> - </method> - <method name="clear_color"> - <argument index="0" name="name" type="String"> - </argument> - <argument index="1" name="type" type="String"> - </argument> - <description> - </description> - </method> - <method name="get_color_list" qualifiers="const"> - <return type="StringArray"> - </return> - <argument index="0" name="arg0" type="String"> - </argument> - <description> - </description> - </method> - <method name="set_constant"> - <argument index="0" name="name" type="String"> - </argument> - <argument index="1" name="type" type="String"> - </argument> - <argument index="2" name="constant" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_constant" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="name" type="String"> - </argument> - <argument index="1" name="type" type="String"> - </argument> - <description> - </description> - </method> - <method name="has_constant" qualifiers="const"> - <return type="bool"> - </return> - <argument index="0" name="name" type="String"> - </argument> - <argument index="1" name="type" type="String"> - </argument> - <description> - </description> - </method> - <method name="clear_constant"> - <argument index="0" name="name" type="String"> - </argument> - <argument index="1" name="type" type="String"> - </argument> - <description> - </description> - </method> - <method name="get_constant_list" qualifiers="const"> - <return type="StringArray"> - </return> - <argument index="0" name="arg0" type="String"> - </argument> - <description> - </description> - </method> - <method name="get_type_list" qualifiers="const"> - <return type="StringArray"> - </return> - <argument index="0" name="arg0" type="String"> - </argument> - <description> - </description> - </method> - <method name="copy_default_theme"> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="TileMap" inherits="Node2D" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_tileset"> - <argument index="0" name="tileset" type="TileSet"> - </argument> - <description> - </description> - </method> - <method name="get_tileset" qualifiers="const"> - <return type="TileSet"> - </return> - <description> - </description> - </method> - <method name="set_cell_size"> - <argument index="0" name="size" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_cell_size" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="set_quadrant_size"> - <argument index="0" name="size" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_quadrant_size" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="set_center_x"> - <argument index="0" name="enable" type="bool"> - </argument> - <description> - </description> - </method> - <method name="get_center_x" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="set_center_y"> - <argument index="0" name="enable" type="bool"> - </argument> - <description> - </description> - </method> - <method name="get_center_y" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="set_cell"> - <argument index="0" name="x" type="int"> - </argument> - <argument index="1" name="y" type="int"> - </argument> - <argument index="2" name="tile" type="int"> - </argument> - <argument index="3" name="flip_x" type="bool" default="false"> - </argument> - <argument index="4" name="flip_y" type="bool" default="false"> - </argument> - <description> - </description> - </method> - <method name="get_cell" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="x" type="int"> - </argument> - <argument index="1" name="y" type="int"> - </argument> - <description> - </description> - </method> - <method name="is_cell_x_flipped" qualifiers="const"> - <return type="bool"> - </return> - <argument index="0" name="x" type="int"> - </argument> - <argument index="1" name="y" type="int"> - </argument> - <description> - </description> - </method> - <method name="is_cell_y_flipped" qualifiers="const"> - <return type="bool"> - </return> - <argument index="0" name="x" type="int"> - </argument> - <argument index="1" name="y" type="int"> - </argument> - <description> - </description> - </method> - <method name="clear"> - <description> - </description> - </method> - </methods> - <constants> - <constant name="INVALID_CELL" value="-1"> - </constant> - </constants> -</class> -<class name="TileSet" inherits="Resource" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="create_tile"> - <argument index="0" name="id" type="int"> - </argument> - <description> - </description> - </method> - <method name="tile_set_name"> - <argument index="0" name="id" type="int"> - </argument> - <argument index="1" name="name" type="String"> - </argument> - <description> - </description> - </method> - <method name="tile_get_name" qualifiers="const"> - <return type="String"> - </return> - <argument index="0" name="id" type="int"> - </argument> - <description> - </description> - </method> - <method name="tile_set_texture"> - <argument index="0" name="id" type="int"> - </argument> - <argument index="1" name="texture" type="Texture"> - </argument> - <description> - </description> - </method> - <method name="tile_get_texture" qualifiers="const"> - <return type="Texture"> - </return> - <argument index="0" name="id" type="int"> - </argument> - <description> - </description> - </method> - <method name="tile_set_offset"> - <argument index="0" name="id" type="int"> - </argument> - <argument index="1" name="offset" type="Vector2"> - </argument> - <description> - </description> - </method> - <method name="tile_get_offset" qualifiers="const"> - <return type="Vector2"> - </return> - <argument index="0" name="id" type="int"> - </argument> - <description> - </description> - </method> - <method name="tile_set_region"> - <argument index="0" name="id" type="int"> - </argument> - <argument index="1" name="region" type="Rect2"> - </argument> - <description> - </description> - </method> - <method name="tile_get_region" qualifiers="const"> - <return type="Rect2"> - </return> - <argument index="0" name="id" type="int"> - </argument> - <description> - </description> - </method> - <method name="tile_set_shape"> - <argument index="0" name="id" type="int"> - </argument> - <argument index="1" name="shape" type="Shape2D"> - </argument> - <description> - </description> - </method> - <method name="tile_get_shape" qualifiers="const"> - <return type="Shape2D"> - </return> - <argument index="0" name="id" type="int"> - </argument> - <description> - </description> - </method> - <method name="remove_tile"> - <argument index="0" name="id" type="int"> - </argument> - <description> - </description> - </method> - <method name="clear"> - <description> - </description> - </method> - <method name="get_last_unused_tile_id" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="find_tile_by_name" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="name" type="String"> - </argument> - <description> - </description> - </method> - <method name="get_tiles_ids" qualifiers="const"> - <return type="Array"> - </return> - <description> - - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="Timer" inherits="Node" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_wait_time"> - <argument index="0" name="time_sec" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_wait_time" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="set_one_shot"> - <argument index="0" name="enable" type="bool"> - </argument> - <description> - </description> - </method> - <method name="is_one_shot" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="set_autostart"> - <argument index="0" name="enable" type="bool"> - </argument> - <description> - </description> - </method> - <method name="has_autostart" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="start"> - <description> - </description> - </method> - <method name="stop"> - <description> - </description> - </method> - <method name="get_time_left" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - </methods> - <signals> - <signal name="timeout"> - <description> - </description> - </signal> - </signals> - <constants> - </constants> -</class> -<class name="Translation" inherits="Resource" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_locale"> - <argument index="0" name="locale" type="String"> - </argument> - <description> - </description> - </method> - <method name="get_locale" qualifiers="const"> - <return type="String"> - </return> - <description> - </description> - </method> - <method name="add_message"> - <argument index="0" name="src_message" type="String"> - </argument> - <argument index="1" name="xlated_message" type="String"> - </argument> - <description> - </description> - </method> - <method name="get_message" qualifiers="const"> - <return type="String"> - </return> - <argument index="0" name="src_message" type="String"> - </argument> - <description> - </description> - </method> - <method name="erase_message"> - <argument index="0" name="src_message" type="String"> - </argument> - <description> - </description> - </method> - <method name="get_message_list" qualifiers="const"> - <return type="StringArray"> - </return> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="TranslationServer" inherits="Object" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - </methods> - <constants> - </constants> -</class> -<class name="Tree" inherits="Control" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="clear"> - <description> - </description> - </method> - <method name="create_item"> - <return type="TreeItem"> - </return> - <argument index="0" name="parent" type="TreeItem" default="Object()"> - </argument> - <description> - </description> - </method> - <method name="get_root"> - <return type="TreeItem"> - </return> - <description> - </description> - </method> - <method name="set_column_min_width"> - <argument index="0" name="arg0" type="int"> - </argument> - <argument index="1" name="arg1" type="int"> - </argument> - <description> - </description> - </method> - <method name="set_column_expand"> - <argument index="0" name="arg0" type="int"> - </argument> - <argument index="1" name="arg1" type="bool"> - </argument> - <description> - </description> - </method> - <method name="get_column_width" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="arg0" type="int"> - </argument> - <description> - </description> - </method> - <method name="set_hide_root"> - <argument index="0" name="arg0" type="bool"> - </argument> - <description> - </description> - </method> - <method name="get_next_selected"> - <return type="TreeItem"> - </return> - <argument index="0" name="from" type="TreeItem"> - </argument> - <description> - </description> - </method> - <method name="get_selected" qualifiers="const"> - <return type="TreeItem"> - </return> - <description> - </description> - </method> - <method name="get_selected_column" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="get_pressed_button" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="set_select_mode"> - <argument index="0" name="mode" type="int"> - </argument> - <description> - </description> - </method> - <method name="set_columns"> - <argument index="0" name="amount" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_columns" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="get_edited" qualifiers="const"> - <return type="TreeItem"> - </return> - <description> - </description> - </method> - <method name="get_edited_column" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="get_custom_popup_rect" qualifiers="const"> - <return type="Rect2"> - </return> - <description> - </description> - </method> - <method name="get_item_area_rect" qualifiers="const"> - <return type="Rect2"> - </return> - <argument index="0" name="item" type="TreeItem"> - </argument> - <argument index="1" name="column" type="int" default="-1"> - </argument> - <description> - </description> - </method> - <method name="ensure_cursor_is_visible"> - <description> - </description> - </method> - <method name="set_column_titles_visible"> - <argument index="0" name="visible" type="bool"> - </argument> - <description> - </description> - </method> - <method name="are_column_titles_visible" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="set_column_title"> - <argument index="0" name="column" type="int"> - </argument> - <argument index="1" name="title" type="String"> - </argument> - <description> - </description> - </method> - <method name="get_column_title" qualifiers="const"> - <return type="String"> - </return> - <argument index="0" name="column" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_scroll" qualifiers="const"> - <return type="Vector2"> - </return> - <description> - </description> - </method> - </methods> - <signals> - <signal name="item_activated"> - <description> - </description> - </signal> - <signal name="multi_selected"> - <argument index="0" name="item" type="Object"> - </argument> - <argument index="1" name="column" type="int"> - </argument> - <argument index="2" name="selected" type="bool"> - </argument> - <description> - </description> - </signal> - <signal name="custom_popup_edited"> - <argument index="0" name="arrow_clicked" type="bool"> - </argument> - <description> - </description> - </signal> - <signal name="item_edited"> - <description> - </description> - </signal> - <signal name="item_selected"> - <description> - </description> - </signal> - <signal name="cell_selected"> - <description> - </description> - </signal> - <signal name="button_pressed"> - <argument index="0" name="item" type="Object"> - </argument> - <argument index="1" name="column" type="int"> - </argument> - <argument index="2" name="id" type="int"> - </argument> - <description> - </description> - </signal> - </signals> - <constants> - <constant name="SELECT_SINGLE" value="0"> - </constant> - <constant name="SELECT_ROW" value="1"> - </constant> - <constant name="SELECT_MULTI" value="2"> - </constant> - </constants> -</class> -<class name="TreeItem" inherits="Object" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_cell_mode"> - <argument index="0" name="column" type="int"> - </argument> - <argument index="1" name="mode" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_cell_mode" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="column" type="int"> - </argument> - <description> - </description> - </method> - <method name="set_checked"> - <argument index="0" name="column" type="int"> - </argument> - <argument index="1" name="checked" type="bool"> - </argument> - <description> - </description> - </method> - <method name="is_checked" qualifiers="const"> - <return type="bool"> - </return> - <argument index="0" name="column" type="int"> - </argument> - <description> - </description> - </method> - <method name="set_text"> - <argument index="0" name="column" type="int"> - </argument> - <argument index="1" name="text" type="String"> - </argument> - <description> - </description> - </method> - <method name="get_text" qualifiers="const"> - <return type="String"> - </return> - <argument index="0" name="column" type="int"> - </argument> - <description> - </description> - </method> - <method name="set_icon"> - <argument index="0" name="column" type="int"> - </argument> - <argument index="1" name="texture" type="Texture"> - </argument> - <description> - </description> - </method> - <method name="get_icon" qualifiers="const"> - <return type="Texture"> - </return> - <argument index="0" name="column" type="int"> - </argument> - <description> - </description> - </method> - <method name="set_icon_region"> - <argument index="0" name="column" type="int"> - </argument> - <argument index="1" name="region" type="Rect2"> - </argument> - <description> - </description> - </method> - <method name="get_icon_region" qualifiers="const"> - <return type="Rect2"> - </return> - <argument index="0" name="column" type="int"> - </argument> - <description> - </description> - </method> - <method name="set_icon_max_width"> - <argument index="0" name="column" type="int"> - </argument> - <argument index="1" name="width" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_icon_max_width" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="column" type="int"> - </argument> - <description> - </description> - </method> - <method name="set_range"> - <argument index="0" name="column" type="int"> - </argument> - <argument index="1" name="value" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_range" qualifiers="const"> - <return type="real"> - </return> - <argument index="0" name="column" type="int"> - </argument> - <description> - </description> - </method> - <method name="set_range_config"> - <argument index="0" name="column" type="int"> - </argument> - <argument index="1" name="min" type="real"> - </argument> - <argument index="2" name="max" type="real"> - </argument> - <argument index="3" name="step" type="real"> - </argument> - <argument index="4" name="expr" type="bool" default="false"> - </argument> - <description> - </description> - </method> - <method name="get_range_config"> - <return type="Dictionary"> - </return> - <argument index="0" name="column" type="int"> - </argument> - <description> - </description> - </method> - <method name="set_metadata"> - <argument index="0" name="column" type="int"> - </argument> - <argument index="1" name="meta" type="var"> - </argument> - <description> - </description> - </method> - <method name="get_metadata" qualifiers="const"> - <argument index="0" name="column" type="int"> - </argument> - <description> - </description> - </method> - <method name="set_collapsed"> - <argument index="0" name="enable" type="bool"> - </argument> - <description> - </description> - </method> - <method name="is_collapsed"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="get_next"> - <return type="TreeItem"> - </return> - <description> - </description> - </method> - <method name="get_prev"> - <return type="TreeItem"> - </return> - <description> - </description> - </method> - <method name="get_parent"> - <return type="TreeItem"> - </return> - <description> - </description> - </method> - <method name="get_children"> - <return type="TreeItem"> - </return> - <description> - </description> - </method> - <method name="get_next_visible"> - <return type="TreeItem"> - </return> - <description> - </description> - </method> - <method name="get_prev_visible"> - <return type="TreeItem"> - </return> - <description> - </description> - </method> - <method name="remove_child"> - <argument index="0" name="child" type="Object"> - </argument> - <description> - </description> - </method> - <method name="set_selectable"> - <argument index="0" name="column" type="int"> - </argument> - <argument index="1" name="selectable" type="bool"> - </argument> - <description> - </description> - </method> - <method name="is_selectable" qualifiers="const"> - <return type="bool"> - </return> - <argument index="0" name="column" type="int"> - </argument> - <description> - </description> - </method> - <method name="is_selected"> - <return type="bool"> - </return> - <argument index="0" name="column" type="int"> - </argument> - <description> - </description> - </method> - <method name="select"> - <argument index="0" name="column" type="int"> - </argument> - <description> - </description> - </method> - <method name="deselect"> - <argument index="0" name="column" type="int"> - </argument> - <description> - </description> - </method> - <method name="set_editable"> - <argument index="0" name="column" type="int"> - </argument> - <argument index="1" name="enabled" type="bool"> - </argument> - <description> - </description> - </method> - <method name="is_editable"> - <return type="bool"> - </return> - <argument index="0" name="column" type="int"> - </argument> - <description> - </description> - </method> - <method name="set_custom_color"> - <argument index="0" name="column" type="int"> - </argument> - <argument index="1" name="color" type="Color"> - </argument> - <description> - </description> - </method> - <method name="clear_custom_color"> - <argument index="0" name="column" type="int"> - </argument> - <description> - </description> - </method> - <method name="set_custom_bg_color"> - <argument index="0" name="column" type="int"> - </argument> - <argument index="1" name="color" type="Color"> - </argument> - <description> - </description> - </method> - <method name="clear_custom_bg_color"> - <argument index="0" name="column" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_custom_bg_color" qualifiers="const"> - <return type="Color"> - </return> - <argument index="0" name="column" type="int"> - </argument> - <description> - </description> - </method> - <method name="add_button"> - <argument index="0" name="column" type="int"> - </argument> - <argument index="1" name="button" type="Texture"> - </argument> - <argument index="2" name="arg2" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_button_count" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="column" type="int"> - </argument> - <description> - </description> - </method> - <method name="get_button" qualifiers="const"> - <return type="Texture"> - </return> - <argument index="0" name="column" type="int"> - </argument> - <argument index="1" name="button_idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="erase_button"> - <argument index="0" name="column" type="int"> - </argument> - <argument index="1" name="button_idx" type="int"> - </argument> - <description> - </description> - </method> - <method name="set_tooltip"> - <argument index="0" name="column" type="int"> - </argument> - <argument index="1" name="tooltip" type="String"> - </argument> - <description> - </description> - </method> - <method name="get_tooltip" qualifiers="const"> - <return type="String"> - </return> - <argument index="0" name="column" type="int"> - </argument> - <description> - </description> - </method> - </methods> - <constants> - <constant name="CELL_MODE_STRING" value="0"> - </constant> - <constant name="CELL_MODE_CHECK" value="1"> - </constant> - <constant name="CELL_MODE_RANGE" value="2"> - </constant> - <constant name="CELL_MODE_ICON" value="3"> - </constant> - <constant name="CELL_MODE_CUSTOM" value="4"> - </constant> - </constants> -</class> -<class name="VBoxContainer" inherits="BoxContainer" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - </methods> - <constants> - </constants> -</class> -<class name="VButtonArray" inherits="ButtonArray" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - </methods> - <constants> - </constants> -</class> -<class name="VScrollBar" inherits="ScrollBar" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - </methods> - <constants> - </constants> -</class> -<class name="VSeparator" inherits="Separator" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - </methods> - <constants> - </constants> -</class> -<class name="VSlider" inherits="Slider" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - </methods> - <constants> - </constants> -</class> -<class name="VideoPlayer" inherits="Control" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_stream"> - <argument index="0" name="stream" type="Stream"> - </argument> - <description> - </description> - </method> - <method name="get_stream" qualifiers="const"> - <return type="Stream"> - </return> - <description> - </description> - </method> - <method name="play"> - <description> - </description> - </method> - <method name="stop"> - <description> - </description> - </method> - <method name="is_playing" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="set_paused"> - <argument index="0" name="paused" type="bool"> - </argument> - <description> - </description> - </method> - <method name="is_paused" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="set_volume"> - <argument index="0" name="volume" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_volume" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="set_volume_db"> - <argument index="0" name="db" type="real"> - </argument> - <description> - </description> - </method> - <method name="get_volume_db" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="get_stream_name" qualifiers="const"> - <return type="String"> - </return> - <description> - </description> - </method> - <method name="get_pos" qualifiers="const"> - <return type="real"> - </return> - <description> - </description> - </method> - <method name="set_autoplay"> - <argument index="0" name="enabled" type="bool"> - </argument> - <description> - </description> - </method> - <method name="has_autoplay" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="set_expand"> - <argument index="0" name="enable" type="bool"> - </argument> - <description> - </description> - </method> - <method name="has_expand" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="VideoStream" inherits="AudioStreamResampled" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="get_pending_frame_count" qualifiers="const"> - <return type="int"> - </return> - <description> - </description> - </method> - <method name="pop_frame"> - <return type="Image"> - </return> - <description> - </description> - </method> - <method name="peek_frame" qualifiers="const"> - <return type="Image"> - </return> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="VideoStreamTheora" inherits="VideoStream" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - </methods> - <constants> - </constants> -</class> -<class name="Viewport" inherits="Node" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_rect"> - <argument index="0" name="rect" type="Rect2"> - </argument> - <description> - </description> - </method> - <method name="get_rect" qualifiers="const"> - <return type="Rect2"> - </return> - <description> - </description> - </method> - <method name="get_visible_rect" qualifiers="const"> - <return type="Rect2"> - </return> - <description> - </description> - </method> - <method name="set_transparent_background"> - <argument index="0" name="enable" type="bool"> - </argument> - <description> - </description> - </method> - <method name="has_transparent_background" qualifiers="const"> - <return type="bool"> - </return> - <description> - </description> - </method> - <method name="get_viewport" qualifiers="const"> - <return type="RID"> - </return> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="VisualInstance" inherits="Spatial" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_base"> - <argument index="0" name="base" type="RID"> - </argument> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="VisualServer" inherits="Object" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="texture_create"> - <return type="RID"> - </return> - <description> - </description> - </method> - <method name="texture_create_from_image"> - <return type="RID"> - </return> - <argument index="0" name="arg0" type="Image"> - </argument> - <argument index="1" name="arg1" type="int" default="7"> - </argument> - <description> - </description> - </method> - <method name="texture_set_flags"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="int"> - </argument> - <description> - </description> - </method> - <method name="texture_get_flags" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="arg0" type="RID"> - </argument> - <description> - </description> - </method> - <method name="texture_get_width" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="arg0" type="RID"> - </argument> - <description> - </description> - </method> - <method name="texture_get_height" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="arg0" type="RID"> - </argument> - <description> - </description> - </method> - <method name="shader_create"> - <return type="RID"> - </return> - <argument index="0" name="mode" type="int" default="0"> - </argument> - <description> - </description> - </method> - <method name="shader_set_mode"> - <argument index="0" name="shader" type="RID"> - </argument> - <argument index="1" name="mode" type="int"> - </argument> - <description> - </description> - </method> - <method name="shader_get_mode" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="shader" type="RID"> - </argument> - <description> - </description> - </method> - <method name="shader_set_vertex_code"> - <argument index="0" name="shader" type="RID"> - </argument> - <argument index="1" name="code" type="String"> - </argument> - <description> - </description> - </method> - <method name="shader_get_vertex_code" qualifiers="const"> - <return type="String"> - </return> - <argument index="0" name="shader" type="RID"> - </argument> - <description> - </description> - </method> - <method name="shader_set_fragment_code"> - <argument index="0" name="shader" type="RID"> - </argument> - <argument index="1" name="code" type="String"> - </argument> - <description> - </description> - </method> - <method name="shader_get_fragment_code" qualifiers="const"> - <return type="String"> - </return> - <argument index="0" name="shader" type="RID"> - </argument> - <description> - </description> - </method> - <method name="shader_set_param"> - <argument index="0" name="shader" type="RID"> - </argument> - <argument index="1" name="param" type="String"> - </argument> - <argument index="2" name="value" type="var"> - </argument> - <description> - </description> - </method> - <method name="shader_get_param" qualifiers="const"> - <argument index="0" name="shader" type="RID"> - </argument> - <argument index="1" name="param" type="String"> - </argument> - <description> - </description> - </method> - <method name="shader_get_param_list" qualifiers="const"> - <return type="StringArray"> - </return> - <argument index="0" name="shader" type="RID"> - </argument> - <description> - </description> - </method> - <method name="shader_set_use_world_transform"> - <argument index="0" name="shader" type="RID"> - </argument> - <argument index="1" name="enable" type="bool"> - </argument> - <description> - </description> - </method> - <method name="shader_is_using_world_transform" qualifiers="const"> - <return type="bool"> - </return> - <argument index="0" name="shader" type="RID"> - </argument> - <description> - </description> - </method> - <method name="material_create"> - <return type="RID"> - </return> - <description> - </description> - </method> - <method name="material_set_shader"> - <argument index="0" name="shader" type="RID"> - </argument> - <argument index="1" name="arg1" type="RID"> - </argument> - <description> - </description> - </method> - <method name="material_get_shader" qualifiers="const"> - <return type="RID"> - </return> - <argument index="0" name="arg0" type="RID"> - </argument> - <description> - </description> - </method> - <method name="material_set_param"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="String"> - </argument> - <argument index="2" name="arg2" type="var"> - </argument> - <description> - </description> - </method> - <method name="material_get_param" qualifiers="const"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="String"> - </argument> - <description> - </description> - </method> - <method name="material_set_flag"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="int"> - </argument> - <argument index="2" name="arg2" type="bool"> - </argument> - <description> - </description> - </method> - <method name="material_get_flag" qualifiers="const"> - <return type="bool"> - </return> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="int"> - </argument> - <description> - </description> - </method> - <method name="material_set_blend_mode"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="int"> - </argument> - <description> - </description> - </method> - <method name="material_get_blend_mode" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="arg0" type="RID"> - </argument> - <description> - </description> - </method> - <method name="material_set_line_width"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="real"> - </argument> - <description> - </description> - </method> - <method name="material_get_line_width" qualifiers="const"> - <return type="real"> - </return> - <argument index="0" name="arg0" type="RID"> - </argument> - <description> - </description> - </method> - <method name="fixed_material_set_parameter"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="int"> - </argument> - <argument index="2" name="arg2" type="var"> - </argument> - <description> - </description> - </method> - <method name="fixed_material_get_parameter" qualifiers="const"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="int"> - </argument> - <description> - </description> - </method> - <method name="fixed_material_set_texture"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="int"> - </argument> - <argument index="2" name="arg2" type="RID"> - </argument> - <description> - </description> - </method> - <method name="fixed_material_get_texture" qualifiers="const"> - <return type="RID"> - </return> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="int"> - </argument> - <description> - </description> - </method> - <method name="fixed_material_set_texgen_mode"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="int"> - </argument> - <description> - </description> - </method> - <method name="fixed_material_get_texgen_mode" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="arg0" type="RID"> - </argument> - <description> - </description> - </method> - <method name="fixed_material_set_texcoord_mode"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="int"> - </argument> - <argument index="2" name="arg2" type="int"> - </argument> - <description> - </description> - </method> - <method name="fixed_material_get_texcoord_mode" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="int"> - </argument> - <description> - </description> - </method> - <method name="fixed_material_set_uv_transform"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="Transform"> - </argument> - <description> - </description> - </method> - <method name="fixed_material_get_uv_transform" qualifiers="const"> - <return type="Transform"> - </return> - <argument index="0" name="arg0" type="RID"> - </argument> - <description> - </description> - </method> - <method name="mesh_create"> - <return type="RID"> - </return> - <description> - </description> - </method> - <method name="mesh_add_surface"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="int"> - </argument> - <argument index="2" name="arg2" type="int"> - </argument> - <argument index="3" name="arg3" type="int"> - </argument> - <argument index="4" name="arg4" type="int" default="-1"> - </argument> - <description> - </description> - </method> - <method name="mesh_surface_set_array"> - <return type="int"> - </return> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="int"> - </argument> - <argument index="2" name="arg2" type="int"> - </argument> - <argument index="3" name="arg3" type="var"> - </argument> - <description> - </description> - </method> - <method name="mesh_surface_get_array" qualifiers="const"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="int"> - </argument> - <argument index="2" name="arg2" type="int"> - </argument> - <description> - </description> - </method> - <method name="mesh_surface_set_material"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="int"> - </argument> - <argument index="2" name="arg2" type="RID"> - </argument> - <argument index="3" name="arg3" type="bool" default="false"> - </argument> - <description> - </description> - </method> - <method name="mesh_surface_get_material" qualifiers="const"> - <return type="RID"> - </return> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="int"> - </argument> - <description> - </description> - </method> - <method name="mesh_surface_get_array_len" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="int"> - </argument> - <description> - </description> - </method> - <method name="mesh_surface_get_array_index_len" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="int"> - </argument> - <description> - </description> - </method> - <method name="mesh_surface_get_format" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="int"> - </argument> - <description> - </description> - </method> - <method name="mesh_surface_get_primitive_type" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="int"> - </argument> - <description> - </description> - </method> - <method name="mesh_erase_surface"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="int"> - </argument> - <description> - </description> - </method> - <method name="mesh_get_surface_count" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="arg0" type="RID"> - </argument> - <description> - </description> - </method> - <method name="multimesh_create"> - <return type="RID"> - </return> - <description> - </description> - </method> - <method name="multimesh_set_mesh"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="RID"> - </argument> - <description> - </description> - </method> - <method name="multimesh_set_aabb"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="AABB"> - </argument> - <description> - </description> - </method> - <method name="multimesh_instance_set_transform"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="int"> - </argument> - <argument index="2" name="arg2" type="Transform"> - </argument> - <description> - </description> - </method> - <method name="multimesh_instance_set_color"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="int"> - </argument> - <argument index="2" name="arg2" type="Color"> - </argument> - <description> - </description> - </method> - <method name="multimesh_get_mesh" qualifiers="const"> - <return type="RID"> - </return> - <argument index="0" name="arg0" type="RID"> - </argument> - <description> - </description> - </method> - <method name="multimesh_get_aabb" qualifiers="const"> - <return type="AABB"> - </return> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="AABB"> - </argument> - <description> - </description> - </method> - <method name="multimesh_instance_get_transform" qualifiers="const"> - <return type="Transform"> - </return> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="int"> - </argument> - <description> - </description> - </method> - <method name="multimesh_instance_get_color" qualifiers="const"> - <return type="Color"> - </return> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="int"> - </argument> - <description> - </description> - </method> - <method name="poly_create"> - <return type="RID"> - </return> - <description> - </description> - </method> - <method name="poly_set_material"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="RID"> - </argument> - <argument index="2" name="arg2" type="bool" default="false"> - </argument> - <description> - </description> - </method> - <method name="poly_clear"> - <argument index="0" name="arg0" type="RID"> - </argument> - <description> - </description> - </method> - <method name="particles_create"> - <return type="RID"> - </return> - <description> - </description> - </method> - <method name="particles_set_amount"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="int"> - </argument> - <description> - </description> - </method> - <method name="particles_get_amount" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="arg0" type="RID"> - </argument> - <description> - </description> - </method> - <method name="particles_set_emitting"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="bool"> - </argument> - <description> - </description> - </method> - <method name="particles_is_emitting" qualifiers="const"> - <return type="bool"> - </return> - <argument index="0" name="arg0" type="RID"> - </argument> - <description> - </description> - </method> - <method name="particles_set_visibility_aabb"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="AABB"> - </argument> - <description> - </description> - </method> - <method name="particles_get_visibility_aabb" qualifiers="const"> - <return type="AABB"> - </return> - <argument index="0" name="arg0" type="RID"> - </argument> - <description> - </description> - </method> - <method name="particles_set_variable"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="int"> - </argument> - <argument index="2" name="arg2" type="real"> - </argument> - <description> - </description> - </method> - <method name="particles_get_variable" qualifiers="const"> - <return type="real"> - </return> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="int"> - </argument> - <description> - </description> - </method> - <method name="particles_set_randomness"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="int"> - </argument> - <argument index="2" name="arg2" type="real"> - </argument> - <description> - </description> - </method> - <method name="particles_get_randomness" qualifiers="const"> - <return type="real"> - </return> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="int"> - </argument> - <description> - </description> - </method> - <method name="particles_set_color_phases"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="int"> - </argument> - <description> - </description> - </method> - <method name="particles_get_color_phases" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="arg0" type="RID"> - </argument> - <description> - </description> - </method> - <method name="particles_set_color_phase_pos"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="int"> - </argument> - <argument index="2" name="arg2" type="real"> - </argument> - <description> - </description> - </method> - <method name="particles_get_color_phase_pos" qualifiers="const"> - <return type="real"> - </return> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="int"> - </argument> - <description> - </description> - </method> - <method name="particles_set_color_phase_color"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="int"> - </argument> - <argument index="2" name="arg2" type="Color"> - </argument> - <description> - </description> - </method> - <method name="particles_get_color_phase_color" qualifiers="const"> - <return type="Color"> - </return> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="int"> - </argument> - <description> - </description> - </method> - <method name="particles_set_attractors"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="int"> - </argument> - <description> - </description> - </method> - <method name="particles_get_attractors" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="arg0" type="RID"> - </argument> - <description> - </description> - </method> - <method name="particles_set_attractor_pos"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="int"> - </argument> - <argument index="2" name="arg2" type="Vector3"> - </argument> - <description> - </description> - </method> - <method name="particles_get_attractor_pos" qualifiers="const"> - <return type="Vector3"> - </return> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="int"> - </argument> - <description> - </description> - </method> - <method name="particles_set_attractor_strength"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="int"> - </argument> - <argument index="2" name="arg2" type="real"> - </argument> - <description> - </description> - </method> - <method name="particles_get_attractor_strength" qualifiers="const"> - <return type="real"> - </return> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="int"> - </argument> - <description> - </description> - </method> - <method name="particles_set_material"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="RID"> - </argument> - <argument index="2" name="arg2" type="bool" default="false"> - </argument> - <description> - </description> - </method> - <method name="particles_set_height_from_velocity"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="bool"> - </argument> - <description> - </description> - </method> - <method name="particles_has_height_from_velocity" qualifiers="const"> - <return type="bool"> - </return> - <argument index="0" name="arg0" type="RID"> - </argument> - <description> - </description> - </method> - <method name="light_create"> - <return type="RID"> - </return> - <argument index="0" name="arg0" type="int"> - </argument> - <description> - </description> - </method> - <method name="light_get_type" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="arg0" type="RID"> - </argument> - <description> - </description> - </method> - <method name="light_set_color"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="int"> - </argument> - <argument index="2" name="arg2" type="Color"> - </argument> - <description> - </description> - </method> - <method name="light_get_color" qualifiers="const"> - <return type="Color"> - </return> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="int"> - </argument> - <description> - </description> - </method> - <method name="light_set_shadow"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="bool"> - </argument> - <description> - </description> - </method> - <method name="light_has_shadow" qualifiers="const"> - <return type="bool"> - </return> - <argument index="0" name="arg0" type="RID"> - </argument> - <description> - </description> - </method> - <method name="light_set_volumetric"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="bool"> - </argument> - <description> - </description> - </method> - <method name="light_is_volumetric" qualifiers="const"> - <return type="bool"> - </return> - <argument index="0" name="arg0" type="RID"> - </argument> - <description> - </description> - </method> - <method name="light_set_projector"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="RID"> - </argument> - <description> - </description> - </method> - <method name="light_get_projector" qualifiers="const"> - <return type="RID"> - </return> - <argument index="0" name="arg0" type="RID"> - </argument> - <description> - </description> - </method> - <method name="light_set_var"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="int"> - </argument> - <argument index="2" name="arg2" type="real"> - </argument> - <description> - </description> - </method> - <method name="light_get_var" qualifiers="const"> - <return type="real"> - </return> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="int"> - </argument> - <description> - </description> - </method> - <method name="skeleton_create"> - <return type="RID"> - </return> - <description> - </description> - </method> - <method name="skeleton_resize"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="int"> - </argument> - <description> - </description> - </method> - <method name="skeleton_get_bone_count" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="arg0" type="RID"> - </argument> - <description> - </description> - </method> - <method name="skeleton_bone_set_transform"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="int"> - </argument> - <argument index="2" name="arg2" type="Transform"> - </argument> - <description> - </description> - </method> - <method name="skeleton_bone_get_transform"> - <return type="Transform"> - </return> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="int"> - </argument> - <description> - </description> - </method> - <method name="room_create"> - <return type="RID"> - </return> - <description> - </description> - </method> - <method name="room_set_bounds"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="Dictionary"> - </argument> - <description> - </description> - </method> - <method name="room_get_bounds" qualifiers="const"> - <return type="Dictionary"> - </return> - <argument index="0" name="arg0" type="RID"> - </argument> - <description> - </description> - </method> - <method name="portal_create"> - <return type="RID"> - </return> - <description> - </description> - </method> - <method name="portal_set_shape"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="Vector2Array"> - </argument> - <description> - </description> - </method> - <method name="portal_get_shape" qualifiers="const"> - <return type="Vector2Array"> - </return> - <argument index="0" name="arg0" type="RID"> - </argument> - <description> - </description> - </method> - <method name="portal_set_enabled"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="bool"> - </argument> - <description> - </description> - </method> - <method name="portal_is_enabled" qualifiers="const"> - <return type="bool"> - </return> - <argument index="0" name="arg0" type="RID"> - </argument> - <description> - </description> - </method> - <method name="portal_set_disable_distance"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="real"> - </argument> - <description> - </description> - </method> - <method name="portal_get_disable_distance" qualifiers="const"> - <return type="real"> - </return> - <argument index="0" name="arg0" type="RID"> - </argument> - <description> - </description> - </method> - <method name="portal_set_disabled_color"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="Color"> - </argument> - <description> - </description> - </method> - <method name="portal_get_disabled_color" qualifiers="const"> - <return type="Color"> - </return> - <argument index="0" name="arg0" type="RID"> - </argument> - <description> - </description> - </method> - <method name="camera_create"> - <return type="RID"> - </return> - <description> - </description> - </method> - <method name="camera_set_perspective"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="real"> - </argument> - <argument index="2" name="arg2" type="real"> - </argument> - <argument index="3" name="arg3" type="real"> - </argument> - <description> - </description> - </method> - <method name="camera_set_orthogonal"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="real"> - </argument> - <argument index="2" name="arg2" type="real"> - </argument> - <argument index="3" name="arg3" type="real"> - </argument> - <description> - </description> - </method> - <method name="camera_set_transform"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="Transform"> - </argument> - <description> - </description> - </method> - <method name="viewport_create"> - <return type="RID"> - </return> - <description> - </description> - </method> - <method name="viewport_set_rect"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="Rect2"> - </argument> - <description> - </description> - </method> - <method name="viewport_get_rect" qualifiers="const"> - <return type="Rect2"> - </return> - <argument index="0" name="arg0" type="RID"> - </argument> - <description> - </description> - </method> - <method name="viewport_attach_camera"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="RID" default="RID()"> - </argument> - <description> - </description> - </method> - <method name="viewport_get_attached_camera" qualifiers="const"> - <return type="RID"> - </return> - <argument index="0" name="arg0" type="RID"> - </argument> - <description> - </description> - </method> - <method name="viewport_get_scenario" qualifiers="const"> - <return type="RID"> - </return> - <argument index="0" name="arg0" type="RID"> - </argument> - <description> - </description> - </method> - <method name="viewport_attach_canvas"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="RID"> - </argument> - <description> - </description> - </method> - <method name="viewport_remove_canvas"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="RID"> - </argument> - <description> - </description> - </method> - <method name="scenario_create"> - <return type="RID"> - </return> - <description> - </description> - </method> - <method name="scenario_set_debug"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="int"> - </argument> - <description> - </description> - </method> - <method name="scenario_fx_get_effects" qualifiers="const"> - <return type="StringArray"> - </return> - <argument index="0" name="arg0" type="RID"> - </argument> - <description> - </description> - </method> - <method name="scenario_fx_set_active"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="String"> - </argument> - <argument index="2" name="arg2" type="bool"> - </argument> - <description> - </description> - </method> - <method name="scenario_fx_is_active" qualifiers="const"> - <return type="bool"> - </return> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="String"> - </argument> - <description> - </description> - </method> - <method name="scenario_fx_get_effect_params" qualifiers="const"> - <return type="Array"> - </return> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="String"> - </argument> - <description> - </description> - </method> - <method name="scenario_fx_get_effect_param" qualifiers="const"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="String"> - </argument> - <argument index="2" name="arg2" type="String"> - </argument> - <description> - </description> - </method> - <method name="scenario_fx_set_effect_param"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="String"> - </argument> - <argument index="2" name="arg2" type="String"> - </argument> - <argument index="3" name="arg3" type="var"> - </argument> - <description> - </description> - </method> - <method name="instance_create"> - <return type="RID"> - </return> - <description> - </description> - </method> - <method name="instance_get_base" qualifiers="const"> - <return type="RID"> - </return> - <argument index="0" name="arg0" type="RID"> - </argument> - <description> - </description> - </method> - <method name="instance_get_base_aabb" qualifiers="const"> - <return type="RID"> - </return> - <argument index="0" name="arg0" type="RID"> - </argument> - <description> - </description> - </method> - <method name="instance_set_transform"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="Transform"> - </argument> - <description> - </description> - </method> - <method name="instance_get_transform" qualifiers="const"> - <return type="Transform"> - </return> - <argument index="0" name="arg0" type="RID"> - </argument> - <description> - </description> - </method> - <method name="instance_attach_object_instance_ID"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="int"> - </argument> - <description> - </description> - </method> - <method name="instance_get_object_instance_ID" qualifiers="const"> - <return type="int"> - </return> - <argument index="0" name="arg0" type="RID"> - </argument> - <description> - </description> - </method> - <method name="instance_attach_skeleton"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="RID"> - </argument> - <description> - </description> - </method> - <method name="instance_get_skeleton" qualifiers="const"> - <return type="RID"> - </return> - <argument index="0" name="arg0" type="RID"> - </argument> - <description> - </description> - </method> - <method name="instance_set_room"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="RID"> - </argument> - <description> - </description> - </method> - <method name="instance_get_room" qualifiers="const"> - <return type="RID"> - </return> - <argument index="0" name="arg0" type="RID"> - </argument> - <description> - </description> - </method> - <method name="instance_set_exterior"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="bool"> - </argument> - <description> - </description> - </method> - <method name="instance_is_exterior" qualifiers="const"> - <return type="bool"> - </return> - <argument index="0" name="arg0" type="RID"> - </argument> - <description> - </description> - </method> - <method name="instances_cull_aabb" qualifiers="const"> - <return type="Array"> - </return> - <argument index="0" name="arg0" type="AABB"> - </argument> - <argument index="1" name="arg1" type="RID"> - </argument> - <description> - </description> - </method> - <method name="instances_cull_ray" qualifiers="const"> - <return type="Array"> - </return> - <argument index="0" name="arg0" type="Vector3"> - </argument> - <argument index="1" name="arg1" type="Vector3"> - </argument> - <argument index="2" name="arg2" type="RID"> - </argument> - <description> - </description> - </method> - <method name="instances_cull_convex" qualifiers="const"> - <return type="Array"> - </return> - <argument index="0" name="arg0" type="Vector3"> - </argument> - <argument index="1" name="arg1" type="Vector3"> - </argument> - <argument index="2" name="arg2" type="RID"> - </argument> - <description> - </description> - </method> - <method name="instance_geometry_set_visible"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="bool"> - </argument> - <description> - </description> - </method> - <method name="instance_geometry_is_visible" qualifiers="const"> - <return type="bool"> - </return> - <argument index="0" name="arg0" type="RID"> - </argument> - <description> - </description> - </method> - <method name="instance_geometry_override_material_param" qualifiers="const"> - <return type="RID"> - </return> - <argument index="0" name="arg0" type="RID"> - </argument> - <description> - </description> - </method> - <method name="instance_geometry_get_material_param" qualifiers="const"> - <return type="RID"> - </return> - <argument index="0" name="arg0" type="RID"> - </argument> - <description> - </description> - </method> - <method name="canvas_create"> - <return type="RID"> - </return> - <description> - </description> - </method> - <method name="canvas_item_create"> - <return type="RID"> - </return> - <description> - </description> - </method> - <method name="canvas_item_set_parent"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="RID"> - </argument> - <description> - </description> - </method> - <method name="canvas_item_get_parent" qualifiers="const"> - <return type="RID"> - </return> - <argument index="0" name="arg0" type="RID"> - </argument> - <description> - </description> - </method> - <method name="canvas_item_set_transform"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="Matrix32"> - </argument> - <description> - </description> - </method> - <method name="canvas_item_set_custom_rect"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="bool"> - </argument> - <argument index="2" name="arg2" type="Rect2"> - </argument> - <description> - </description> - </method> - <method name="canvas_item_set_clip"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="bool"> - </argument> - <description> - </description> - </method> - <method name="canvas_item_set_opacity"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="real"> - </argument> - <description> - </description> - </method> - <method name="canvas_item_get_opacity" qualifiers="const"> - <return type="real"> - </return> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="real"> - </argument> - <description> - </description> - </method> - <method name="canvas_item_set_self_opacity"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="real"> - </argument> - <description> - </description> - </method> - <method name="canvas_item_get_self_opacity" qualifiers="const"> - <return type="real"> - </return> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="real"> - </argument> - <description> - </description> - </method> - <method name="canvas_item_add_line"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="Vector2"> - </argument> - <argument index="2" name="arg2" type="Vector2"> - </argument> - <argument index="3" name="arg3" type="Color"> - </argument> - <argument index="4" name="arg4" type="real" default="1"> - </argument> - <description> - </description> - </method> - <method name="canvas_item_add_rect"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="Rect2"> - </argument> - <argument index="2" name="arg2" type="Color"> - </argument> - <description> - </description> - </method> - <method name="canvas_item_add_texture_rect"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="Rect2"> - </argument> - <argument index="2" name="arg2" type="RID"> - </argument> - <argument index="3" name="arg3" type="bool"> - </argument> - <argument index="4" name="arg4" type="Color" default="Color(1,1,1,1)"> - </argument> - <description> - </description> - </method> - <method name="canvas_item_add_texture_rect_region"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="Rect2"> - </argument> - <argument index="2" name="arg2" type="RID"> - </argument> - <argument index="3" name="arg3" type="Rect2"> - </argument> - <argument index="4" name="arg4" type="Color" default="Color(1,1,1,1)"> - </argument> - <description> - </description> - </method> - <method name="canvas_item_add_style_box"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="Rect2"> - </argument> - <argument index="2" name="arg2" type="RID"> - </argument> - <argument index="3" name="arg3" type="RealArray"> - </argument> - <argument index="4" name="arg4" type="Color" default="Color(1,1,1,1)"> - </argument> - <description> - </description> - </method> - <method name="canvas_item_add_circle"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="Vector2"> - </argument> - <argument index="2" name="arg2" type="real"> - </argument> - <argument index="3" name="arg3" type="Color"> - </argument> - <description> - </description> - </method> - <method name="viewport_set_canvas_transform"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="RID"> - </argument> - <argument index="2" name="arg2" type="Matrix32"> - </argument> - <description> - </description> - </method> - <method name="canvas_item_clear"> - <argument index="0" name="arg0" type="RID"> - </argument> - <description> - </description> - </method> - <method name="canvas_item_raise"> - <argument index="0" name="arg0" type="RID"> - </argument> - <description> - </description> - </method> - <method name="cursor_set_rotation"> - <argument index="0" name="arg0" type="real"> - </argument> - <argument index="1" name="arg1" type="int"> - </argument> - <description> - </description> - </method> - <method name="cursor_set_texture"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="Vector2"> - </argument> - <argument index="2" name="arg2" type="int"> - </argument> - <description> - </description> - </method> - <method name="cursor_set_visible"> - <argument index="0" name="arg0" type="bool"> - </argument> - <argument index="1" name="arg1" type="int"> - </argument> - <description> - </description> - </method> - <method name="cursor_set_pos"> - <argument index="0" name="arg0" type="Vector2"> - </argument> - <argument index="1" name="arg1" type="int"> - </argument> - <description> - </description> - </method> - <method name="make_sphere_mesh"> - <return type="RID"> - </return> - <argument index="0" name="arg0" type="int"> - </argument> - <argument index="1" name="arg1" type="int"> - </argument> - <argument index="2" name="arg2" type="real"> - </argument> - <description> - </description> - </method> - <method name="mesh_add_surface_from_planes"> - <argument index="0" name="arg0" type="RID"> - </argument> - <argument index="1" name="arg1" type="Array"> - </argument> - <description> - </description> - </method> - <method name="free"> - <argument index="0" name="arg0" type="RID"> - </argument> - <description> - </description> - </method> - </methods> - <constants> - <constant name="NO_INDEX_ARRAY" value="-1"> - </constant> - <constant name="CUSTOM_ARRAY_SIZE" value="8"> - </constant> - <constant name="ARRAY_WEIGHTS_SIZE" value="4"> - </constant> - <constant name="MAX_PARTICLE_COLOR_PHASES" value="4"> - </constant> - <constant name="MAX_PARTICLE_ATTRACTORS" value="4"> - </constant> - <constant name="MAX_CURSORS" value="8"> - </constant> - <constant name="TEXTURE_FLAG_MIPMAPS" value="1"> - </constant> - <constant name="TEXTURE_FLAG_REPEAT" value="2"> - </constant> - <constant name="TEXTURE_FLAG_FILTER" value="4"> - </constant> - <constant name="TEXTURE_FLAG_CUBEMAP" value="8"> - </constant> - <constant name="TEXTURE_FLAGS_DEFAULT" value="7"> - </constant> - <constant name="CUBEMAP_LEFT" value="0"> - </constant> - <constant name="CUBEMAP_RIGHT" value="1"> - </constant> - <constant name="CUBEMAP_BOTTOM" value="2"> - </constant> - <constant name="CUBEMAP_TOP" value="3"> - </constant> - <constant name="CUBEMAP_FRONT" value="4"> - </constant> - <constant name="CUBEMAP_BACK" value="5"> - </constant> - <constant name="SHADER_MATERIAL" value="0"> - </constant> - <constant name="SHADER_POST_PROCESS" value="1"> - </constant> - <constant name="MATERIAL_FLAG_VISIBLE" value="0"> - </constant> - <constant name="MATERIAL_FLAG_DOUBLE_SIDED" value="1"> - </constant> - <constant name="MATERIAL_FLAG_INVERT_FACES" value="2"> - </constant> - <constant name="MATERIAL_FLAG_UNSHADED" value="3"> - </constant> - <constant name="MATERIAL_FLAG_ONTOP" value="4"> - </constant> - <constant name="MATERIAL_FLAG_WIREFRAME" value="5"> - </constant> - <constant name="MATERIAL_FLAG_BILLBOARD" value="6"> - </constant> - <constant name="MATERIAL_FLAG_MAX" value="7"> - </constant> - <constant name="MATERIAL_BLEND_MODE_MIX" value="0"> - </constant> - <constant name="MATERIAL_BLEND_MODE_ADD" value="1"> - </constant> - <constant name="MATERIAL_BLEND_MODE_SUB" value="2"> - </constant> - <constant name="MATERIAL_BLEND_MODE_MUL" value="3"> - </constant> - <constant name="FIXED_MATERIAL_PARAM_DIFFUSE" value="0"> - </constant> - <constant name="FIXED_MATERIAL_PARAM_DETAIL" value="1"> - </constant> - <constant name="FIXED_MATERIAL_PARAM_SPECULAR" value="2"> - </constant> - <constant name="FIXED_MATERIAL_PARAM_EMISSION" value="3"> - </constant> - <constant name="FIXED_MATERIAL_PARAM_SPECULAR_EXP" value="4"> - </constant> - <constant name="FIXED_MATERIAL_PARAM_GLOW" value="5"> - </constant> - <constant name="FIXED_MATERIAL_PARAM_NORMAL" value="6"> - </constant> - <constant name="FIXED_MATERIAL_PARAM_SHADE_PARAM" value="7"> - </constant> - <constant name="FIXED_MATERIAL_PARAM_MAX" value="8"> - </constant> - <constant name="FIXED_MATERIAL_TEXGEN_SPHERE" value="1"> - </constant> - <constant name="FIXED_MATERIAL_TEXGEN_SCREEN" value="2"> - </constant> - <constant name="FIXED_MATERIAL_TEXGEN_SCREENZ" value="3"> - </constant> - <constant name="FIXED_MATERIAL_TEXGEN_LOCAL_XY" value="0"> - </constant> - <constant name="FIXED_MATERIAL_TEXCOORD_TEXGEN" value="3"> - </constant> - <constant name="FIXED_MATERIAL_TEXCOORD_UV" value="0"> - </constant> - <constant name="FIXED_MATERIAL_TEXCOORD_UV_TRANSFORM" value="1"> - </constant> - <constant name="FIXED_MATERIAL_TEXCOORD_UV2" value="2"> - </constant> - <constant name="ARRAY_VERTEX" value="0"> - </constant> - <constant name="ARRAY_NORMAL" value="1"> - </constant> - <constant name="ARRAY_TANGENT" value="2"> - </constant> - <constant name="ARRAY_COLOR" value="3"> - </constant> - <constant name="ARRAY_TEX_UV" value="4"> - </constant> - <constant name="ARRAY_BONES" value="6"> - </constant> - <constant name="ARRAY_WEIGHTS" value="7"> - </constant> - <constant name="ARRAY_INDEX" value="8"> - </constant> - <constant name="ARRAY_MAX" value="9"> - </constant> - <constant name="ARRAY_FORMAT_VERTEX" value="1"> - </constant> - <constant name="ARRAY_FORMAT_NORMAL" value="2"> - </constant> - <constant name="ARRAY_FORMAT_TANGENT" value="4"> - </constant> - <constant name="ARRAY_FORMAT_COLOR" value="8"> - </constant> - <constant name="ARRAY_FORMAT_TEX_UV" value="16"> - </constant> - <constant name="ARRAY_FORMAT_BONES" value="64"> - </constant> - <constant name="ARRAY_FORMAT_WEIGHTS" value="128"> - </constant> - <constant name="ARRAY_FORMAT_INDEX" value="256"> - </constant> - <constant name="PRIMITIVE_POINTS" value="0"> - </constant> - <constant name="PRIMITIVE_LINES" value="1"> - </constant> - <constant name="PRIMITIVE_LINE_STRIP" value="2"> - </constant> - <constant name="PRIMITIVE_LINE_LOOP" value="3"> - </constant> - <constant name="PRIMITIVE_TRIANGLES" value="4"> - </constant> - <constant name="PRIMITIVE_TRIANGLE_STRIP" value="5"> - </constant> - <constant name="PRIMITIVE_TRIANGLE_FAN" value="6"> - </constant> - <constant name="PRIMITIVE_MAX" value="7"> - </constant> - <constant name="PARTICLE_LIFETIME" value="0"> - </constant> - <constant name="PARTICLE_SPREAD" value="1"> - </constant> - <constant name="PARTICLE_GRAVITY" value="2"> - </constant> - <constant name="PARTICLE_LINEAR_VELOCITY" value="3"> - </constant> - <constant name="PARTICLE_ANGULAR_VELOCITY" value="4"> - </constant> - <constant name="PARTICLE_LINEAR_ACCELERATION" value="5"> - </constant> - <constant name="PARTICLE_RADIAL_ACCELERATION" value="6"> - </constant> - <constant name="PARTICLE_TANGENTIAL_ACCELERATION" value="7"> - </constant> - <constant name="PARTICLE_INITIAL_SIZE" value="9"> - </constant> - <constant name="PARTICLE_FINAL_SIZE" value="10"> - </constant> - <constant name="PARTICLE_INITIAL_ANGLE" value="11"> - </constant> - <constant name="PARTICLE_HEIGHT" value="12"> - </constant> - <constant name="PARTICLE_HEIGHT_SPEED_SCALE" value="13"> - </constant> - <constant name="PARTICLE_VAR_MAX" value="14"> - </constant> - <constant name="LIGHT_DIRECTIONAL" value="0"> - </constant> - <constant name="LIGHT_OMNI" value="1"> - </constant> - <constant name="LIGHT_SPOT" value="2"> - </constant> - <constant name="LIGHT_COLOR_AMBIENT" value="0"> - </constant> - <constant name="LIGHT_COLOR_DIFFUSE" value="1"> - </constant> - <constant name="LIGHT_COLOR_SPECULAR" value="2"> - </constant> - <constant name="LIGHT_VAR_SPOT_ATTENUATION" value="0"> - </constant> - <constant name="LIGHT_VAR_SPOT_ANGLE" value="1"> - </constant> - <constant name="LIGHT_VAR_RADIUS" value="2"> - </constant> - <constant name="LIGHT_VAR_ENERGY" value="3"> - </constant> - <constant name="LIGHT_VAR_ATTENUATION" value="4"> - </constant> - <constant name="LIGHT_VAR_MAX" value="6"> - </constant> - <constant name="SCENARIO_DEBUG_DISABLED" value="0"> - </constant> - <constant name="SCENARIO_DEBUG_WIREFRAME" value="1"> - </constant> - <constant name="SCENARIO_DEBUG_OVERDRAW" value="2"> - </constant> - <constant name="INSTANCE_MESH" value="1"> - </constant> - <constant name="INSTANCE_MULTIMESH" value="2"> - </constant> - <constant name="INSTANCE_POLY" value="3"> - </constant> - <constant name="INSTANCE_PARTICLES" value="4"> - </constant> - <constant name="INSTANCE_LIGHT" value="5"> - </constant> - <constant name="INSTANCE_ROOM" value="6"> - </constant> - <constant name="INSTANCE_PORTAL" value="7"> - </constant> - <constant name="INSTANCE_GEOMETRY_MASK" value="30"> - </constant> - <constant name="INFO_OBJECTS_IN_FRAME" value="0"> - </constant> - <constant name="INFO_MATERIAL_CHANGES_IN_FRAME" value="1"> - </constant> - <constant name="INFO_USAGE_VIDEO_MEM_TOTAL" value="2"> - </constant> - <constant name="INFO_VIDEO_MEM_USED" value="3"> - </constant> - <constant name="INFO_TEXTURE_MEM_USED" value="4"> - </constant> - <constant name="INFO_VERTEX_MEM_USED" value="5"> - </constant> - </constants> -</class> -<class name="WindowDialog" inherits="Popup" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="set_title"> - <argument index="0" name="title" type="String"> - </argument> - <description> - </description> - </method> - <method name="get_title" qualifiers="const"> - <return type="String"> - </return> - <description> - </description> - </method> - <method name="get_close_button"> - <return type="TextureButton"> - </return> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -<class name="World" inherits="Resource" category="Core"> - <brief_description> - </brief_description> - <description> - </description> - <methods> - <method name="get_space" qualifiers="const"> - <return type="RID"> - </return> - <description> - </description> - </method> - <method name="get_scenario" qualifiers="const"> - <return type="RID"> - </return> - <description> - </description> - </method> - <method name="get_sound_space" qualifiers="const"> - <return type="RID"> - </return> - <description> - </description> - </method> - </methods> - <constants> - </constants> -</class> -</doc> diff --git a/doc/examples/physics/script/test_base.sq b/doc/examples/physics/script/test_base.sq deleted file mode 100644 index 9d5451728f..0000000000 --- a/doc/examples/physics/script/test_base.sq +++ /dev/null @@ -1,295 +0,0 @@ - -class PhysicsTestBase extends MainLoopScripted { - - - bodies=[] - type_mesh_map={} - type_shape_map={} - cameratr=Transform() - - - function body_changed_transform(p_transform, p_velocity, p_angular_velocity,p_sleeping, p_visual_instance) { - - VisualServer.instance_set_transform(p_visual_instance,p_transform); - } - - - function create_body(p_shape, p_body_mode, p_location, p_active=true) { - - local mesh_instance = VisualServer.instance_create( type_mesh_map[p_shape] ) - local body = PhysicsServer.body_create(RID(),p_body_mode,!p_active) - PhysicsServer.body_add_shape(body,type_shape_map[p_shape]) - - local query = PhysicsServer.query_create(this,"body_changed_transform",mesh_instance) - PhysicsServer.query_body_state(query, body) - - PhysicsServer.body_set_state( body, PhysicsServer.BODY_STATE_TRANSFORM, p_location ) - bodies.append( body ) - return body - - } - - - function create_static_plane(p_plane) { - - local plane_shape = PhysicsServer.shape_create(PhysicsServer.SHAPE_PLANE) - PhysicsServer.shape_set_data( plane_shape, p_plane ); - - local b = PhysicsServer.body_create(RID(), PhysicsServer.BODY_MODE_STATIC ); - PhysicsServer.body_add_shape(b, plane_shape); - return b; - } - - function configure_body( p_body, p_mass, p_friction, p_bounce) { - - PhysicsServer.body_set_param( p_body, PhysicsServer.BODY_PARAM_MASS, p_mass ); - PhysicsServer.body_set_param( p_body, PhysicsServer.BODY_PARAM_FRICTION, p_friction ); - PhysicsServer.body_set_param( p_body, PhysicsServer.BODY_PARAM_BOUNCE, p_bounce ); - - } - - function init_shapes() { - - - /* SPHERE SHAPE */ - local sphere_mesh = VisualServer.make_sphere_mesh(10,20,1.0); - local sphere_material = VisualServer.fixed_material_create(); - //VisualServer.material_set_flag( sphere_material, VisualServer.MATERIAL_FLAG_WIREFRAME, true ); - VisualServer.fixed_material_set_parameter( sphere_material, VisualServer.FIXED_MATERIAL_PARAM_DIFFUSE, Color(0.7,0.8,3.0) ); - VisualServer.mesh_surface_set_material( sphere_mesh, 0, sphere_material ); - type_mesh_map[PhysicsServer.SHAPE_SPHERE] <- sphere_mesh; - - local sphere_shape=PhysicsServer.shape_create(PhysicsServer.SHAPE_SPHERE); - PhysicsServer.shape_set_data( sphere_shape, 1.0 ); - type_shape_map[PhysicsServer.SHAPE_SPHERE] <- sphere_shape; - - /* BOX SHAPE */ - - local box_planes = GeometryUtils.build_box_planes(Vector3(0.5,0.5,0.5)); - local box_material = VisualServer.fixed_material_create(); - VisualServer.fixed_material_set_parameter( box_material, VisualServer.FIXED_MATERIAL_PARAM_DIFFUSE, Color(1.0,0.2,0.2) ); - local box_mesh = VisualServer.mesh_create(); - - VisualServer.mesh_add_surface_from_planes(box_mesh,box_planes); - VisualServer.mesh_surface_set_material( box_mesh, 0, box_material ); - type_mesh_map[PhysicsServer.SHAPE_BOX]<- box_mesh; - - local box_shape=PhysicsServer.shape_create(PhysicsServer.SHAPE_BOX); - PhysicsServer.shape_set_data( box_shape, Vector3(0.5,0.5,0.5) ); - type_shape_map[PhysicsServer.SHAPE_BOX]<- box_shape; - - /* CYLINDER SHAPE */ - - local cylinder_planes = GeometryUtils.build_cylinder_planes(0.5,1,12 - ,Vector3.AXIS_Z); - local cylinder_material = VisualServer.fixed_material_create(); - VisualServer.fixed_material_set_parameter( cylinder_material, VisualServer.FIXED_MATERIAL_PARAM_DIFFUSE, Color(0.3,0.4,1.0) ); - local cylinder_mesh = VisualServer.mesh_create(); - - VisualServer.mesh_add_surface_from_planes(cylinder_mesh,cylinder_planes); - VisualServer.mesh_surface_set_material( cylinder_mesh, 0, cylinder_material ); - type_mesh_map[PhysicsServer.SHAPE_CYLINDER]<- cylinder_mesh; - - local cylinder_shape=PhysicsServer.shape_create(PhysicsServer.SHAPE_CYLINDER); - local cylinder_params={} - cylinder_params["radius"]<- 0.5; - cylinder_params["height"]<- 2; - PhysicsServer.shape_set_data( cylinder_shape, cylinder_params ); - type_shape_map[PhysicsServer.SHAPE_CYLINDER]<- cylinder_shape; - - /* CAPSULE SHAPE */ - - local capsule_planes = GeometryUtils.build_capsule_planes(0.5,0.7,12,Vector3.AXIS_Z); - local capsule_material = VisualServer.fixed_material_create(); - VisualServer.fixed_material_set_parameter( capsule_material, VisualServer.FIXED_MATERIAL_PARAM_DIFFUSE, Color(0.3,0.4,1.0) ); - - local capsule_mesh = VisualServer.mesh_create(); - - VisualServer.mesh_add_surface_from_planes(capsule_mesh,capsule_planes); - VisualServer.mesh_surface_set_material( capsule_mesh, 0, capsule_material ); - type_mesh_map[PhysicsServer.SHAPE_CAPSULE]<-capsule_mesh; - - local capsule_shape=PhysicsServer.shape_create(PhysicsServer.SHAPE_CAPSULE); - local capsule_params={} - capsule_params["radius"]<- 0.5; - capsule_params["height"]<- 1.4; - PhysicsServer.shape_set_data( capsule_shape, capsule_params ); - type_shape_map[PhysicsServer.SHAPE_CAPSULE]<- capsule_shape; - - /* CONVEX SHAPE */ - - local convex_planes = GeometryUtils.build_cylinder_planes(0.5,0.7,5,Vector3.AXIS_Z); - local convex_material = VisualServer.fixed_material_create(); - VisualServer.fixed_material_set_parameter( convex_material, VisualServer.FIXED_MATERIAL_PARAM_DIFFUSE, Color(0.8,0.2,0.9)); - - local convex_mesh = VisualServer.mesh_create(); - VisualServer.mesh_add_surface_from_planes(convex_mesh,convex_planes); - VisualServer.mesh_surface_set_material( convex_mesh, 0, convex_material ); - type_mesh_map[PhysicsServer.SHAPE_CONVEX_POLYGON]<- convex_mesh; - - local convex_shape=PhysicsServer.shape_create(PhysicsServer.SHAPE_CONVEX_POLYGON); - PhysicsServer.shape_set_data( convex_shape, convex_planes ); - type_shape_map[PhysicsServer.SHAPE_CONVEX_POLYGON]<- convex_shape; - - } - - function make_trimesh(p_faces,p_xform=Transform()) { - - local trimesh_shape = PhysicsServer.shape_create(PhysicsServer.SHAPE_CONCAVE_POLYGON); - PhysicsServer.shape_set_data(trimesh_shape, p_faces); - p_faces=PhysicsServer.shape_get_data(trimesh_shape); // optimized one - normals=[] - - for (i=0;i<p_faces.length()/3;i++) { - - p=Plane( p_faces[i*3+0],p_faces[i*3+1], p_faces[i*3+2] ); - normals.append(p.normal); - normals.append(p.normal); - normals.append(p.normal); - } - - local trimesh_mesh = VisualServer.mesh_create(); - VisualServer.mesh_add_surface(trimesh_mesh, VS::PRIMITIVE_TRIANGLES, VS::ARRAY_FORMAT_VERTEX|VS::ARRAY_FORMAT_NORMAL, p_faces.length() ); - VisualServer.mesh_surface_set_array(trimesh_mesh,0,VS::ARRAY_VERTEX, p_faces ); - VisualServer.mesh_surface_set_array(trimesh_mesh,0,VS::ARRAY_NORMAL, normals ); - local trimesh_mat = VisualServer.fixed_material_create(); - VisualServer.fixed_material_set_parameter( trimesh_mat, VisualServer.FIXED_MATERIAL_PARAM_DIFFUSE, Color(1.0,0.5,0.8)); - //VisualServer.material_set_flag( trimesh_mat, VisualServer.MATERIAL_FLAG_UNSHADED,true); - VisualServer.mesh_surface_set_material( trimesh_mesh, 0, trimesh_mat ); - - local triins = VisualServer.instance_create(trimesh_mesh); - - - local tribody = PhysicsServer.body_create(RID(), PhysicsServer.BODY_MODE_STATIC); - PhysicsServer.body_add_shape(tribody, trimesh_shape); - tritrans = p_xform; - PhysicsServer.body_set_state( tribody, PhysicsServer.BODY_STATE_TRANSFORM, tritrans ); - VisualServer.instance_set_transform( triins, tritrans ); - //RID trimesh_material = VisualServer.fixed_material_create(); - //VisualServer.material_generate( trimesh_material, Color(0.2,0.4,0.6) ); - //VisualServer.mesh_surface_set_material( trimesh_mesh, 0, trimesh_material ); - - } - - function make_grid(p_width,p_height,p_cellsize,p_cellheight,p_xform=Transform()) { - - local grid = [] - - for (local i =0;i<p_width;i++) { - - local row = [] - - for (local j=0;j<p_height;j++) { - - local val = 1.0+Math.random(-p_cellheight, p_cellheight ); - row.append(val) - } - grid.append(row) - } - - local faces=[] - - for (local i =1;i<p_width;i++) { - - for (local j=1;j<p_height;j++) { - - function MAKE_VERTEX(m_x,m_z) { - local v= Vector3( (m_x-p_width/2)*p_cellsize, grid[m_x][m_z], (m_z-p_height/2)*p_cellsize ) - faces.push_back(v) - } - - - MAKE_VERTEX(i,j-1) - MAKE_VERTEX(i,j) - MAKE_VERTEX(i-1,j) - - MAKE_VERTEX(i-1,j-1) - MAKE_VERTEX(i,j-1) - MAKE_VERTEX(i-1,j) - - } - } - - make_trimesh(faces,p_xform); - } - - quit=false - - transform = Transform() - camera=RID() - - function init_internal() {} - function iteration_internal(time) {} -//public - - - function input_event(p_event) { - - - } - - function request_quit() { - - quit=true; - } - - function init() { - - init_shapes(); - - - /* LIGHT */ - local lightaux = VisualServer.light_create( VisualServer.LIGHT_DIRECTIONAL ); - //VisualServer.light_set_color( lightaux, VisualServer.LIGHT_COLOR_AMBIENT, Color(0.0,0.0,0.0) ); - VisualServer.light_set_shadow(lightaux,true); - local light = VisualServer.instance_create( lightaux ); - local t=Transform() - t.rotate(Vector3(1.0,0,0),0.6); - VisualServer.instance_set_transform(light,t); - - - /* CAMERA */ - - camera = VisualServer.camera_create(); - local viewport = VisualServer.viewport_create(); - VisualServer.viewport_attach_camera( viewport, camera ); - VisualServer.viewport_set_parent(viewport, RID() ); - - VisualServer.camera_set_perspective(camera,60,0.1,20.0); - cameratr=Transform( Matrix3(), Vector3(0,2,8)) - VisualServer.camera_set_transform(camera,cameratr); - - quit=false; - - init_internal() - - } - - - function iteration(p_time) { - - // VisualServer.camera_set_transform(camera,cameratr); - iteration_internal(p_time) - - return quit; - } - - function idle(p_time) { - - return quit; - } - - - function finish() { - - } - - - constructor() { - MainLoopScripted.constructor(); - } - -} - - -return PhysicsTestBase; diff --git a/doc/examples/physics/script/test_fall.sq b/doc/examples/physics/script/test_fall.sq deleted file mode 100644 index 79526da8b4..0000000000 --- a/doc/examples/physics/script/test_fall.sq +++ /dev/null @@ -1,42 +0,0 @@ - -include("test_base.sq") - -class TestFall extends PhysicsTestBase { - - - fall_elements=10 - - function init_internal() { - - for (local i=0;i<10;i++) { - - local shape_idx=[ - PhysicsServer.SHAPE_SPHERE, - PhysicsServer.SHAPE_BOX, - PhysicsServer.SHAPE_CAPSULE, - PhysicsServer.SHAPE_CYLINDER, - PhysicsServer.SHAPE_CONVEX_POLYGON - ]; - - local stype=shape_idx[i%5]; -// stype=PhysicsServer.SHAPE_SPHERE; - - local t=Transform() - t.set_origin(Vector3(-0.7+0.0*i,3.5+4.1*i,0)) - t.rotate_basis(Vector3(1,0,0),Math.PI/4*i) - - local b = create_body(stype,PhysicsServer.BODY_MODE_RIGID,t); - - } - - create_static_plane( Plane( Vector3(0,1,0), -1) ); - - } - - constructor() { - PhysicsTestBase.constructor() - } -} - - -return TestFall diff --git a/doc/gdscript.lyx b/doc/gdscript.lyx deleted file mode 100644 index a4b2230121..0000000000 --- a/doc/gdscript.lyx +++ /dev/null @@ -1,2531 +0,0 @@ -#LyX 2.0 created this file. For more info see http://www.lyx.org/ -\lyxformat 413 -\begin_document -\begin_header -\textclass article -\use_default_options true -\maintain_unincluded_children false -\language english -\language_package default -\inputencoding auto -\fontencoding global -\font_roman default -\font_sans default -\font_typewriter default -\font_default_family default -\use_non_tex_fonts false -\font_sc false -\font_osf false -\font_sf_scale 100 -\font_tt_scale 100 - -\graphics default -\default_output_format default -\output_sync 0 -\bibtex_command default -\index_command default -\paperfontsize default -\use_hyperref false -\papersize default -\use_geometry false -\use_amsmath 1 -\use_esint 1 -\use_mhchem 1 -\use_mathdots 1 -\cite_engine basic -\use_bibtopic false -\use_indices false -\paperorientation portrait -\suppress_date false -\use_refstyle 0 -\index Index -\shortcut idx -\color #008000 -\end_index -\secnumdepth 3 -\tocdepth 3 -\paragraph_separation indent -\paragraph_indentation default -\quotes_language english -\papercolumns 1 -\papersides 1 -\paperpagestyle default -\tracking_changes false -\output_changes false -\html_math_output 0 -\html_css_as_file 0 -\html_be_strict false -\end_header - -\begin_body - -\begin_layout Title -GD Scripting Language (GDScript) -\end_layout - -\begin_layout Section -Introduction -\end_layout - -\begin_layout Standard -GDScript is a high level, dynamically typed programming language used to - create content. - It uses a syntax that is very similar to the Python language (blocks are - indent-based) and it's goal is to be very optimal and tigthly integrated - with the engine, allowing great flexibility for content creation and integratio -n. - -\end_layout - -\begin_layout Section -Example -\end_layout - -\begin_layout Standard -Some people can learn better by just taking a look at the syntax, so here's - a simple example of how it looks. - -\end_layout - -\begin_layout Standard -\begin_inset listings -inline false -status open - -\begin_layout Plain Layout - -#a file is a class! -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - -#inheritance -\end_layout - -\begin_layout Plain Layout - -extends BaseClass -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - -#member variables -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - -var a=5 -\end_layout - -\begin_layout Plain Layout - -var s="Hello" -\end_layout - -\begin_layout Plain Layout - -var arr=[1,2,3] -\end_layout - -\begin_layout Plain Layout - -var dict={"key":"value", 2:3} -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - -#constants -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - -const answer=42 -\end_layout - -\begin_layout Plain Layout - -const thename="Charly" -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - -#built-in vector types -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - -var v2 = Vector2(1,2) -\end_layout - -\begin_layout Plain Layout - -var v3 = Vector3(1,2,3) -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - -#function -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - -func some_function(param1,param2): -\end_layout - -\begin_layout Plain Layout - - var local_var=5 -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - - if param1 < local_var: -\end_layout - -\begin_layout Plain Layout - - print(param1) -\end_layout - -\begin_layout Plain Layout - - elif param2 > 5: -\end_layout - -\begin_layout Plain Layout - - print(param2) -\end_layout - -\begin_layout Plain Layout - - else: -\end_layout - -\begin_layout Plain Layout - - print("fail!") -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - - for i in range(20): -\end_layout - -\begin_layout Plain Layout - - print(i) -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - - while(param2!=0): -\end_layout - -\begin_layout Plain Layout - - param2-=1 -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - - var local_var2 = param1+3 -\end_layout - -\begin_layout Plain Layout - - return local_var2 -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - -#subclass -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - -class Something: -\end_layout - -\begin_layout Plain Layout - - var a=10 -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - -#constructor -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - -func _init(): -\end_layout - -\begin_layout Plain Layout - - print("constructed!") -\end_layout - -\begin_layout Plain Layout - - var lv = Something.new() -\end_layout - -\begin_layout Plain Layout - - print(lv.a) -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Section -Language -\end_layout - -\begin_layout Subsection -Identifiers -\end_layout - -\begin_layout Standard -Any string that restricts itself to alphabetic characters ('a' to 'z' and - 'A' to 'Z'), digits ('0' to '9') and '_' qualifies as an identifier. - As an extra restriction, identifiers must not begin with a digit. - Identifiers are case-sensitive ('foo' is different to 'FOO'). -\end_layout - -\begin_layout Subsection -Keywords -\end_layout - -\begin_layout Standard -The following is the list of keywords supported by the language. - Since keywords are reserved words (tokens), they can't be used as identifiers. -\end_layout - -\begin_layout Subsection -Operators -\end_layout - -\begin_layout Standard -The following is the list of supported operators and their precedence (TODO, - change since this was made to reflect python operators) -\end_layout - -\begin_layout Standard -\begin_inset Tabular -<lyxtabular version="3" rows="18" columns="2"> -<features tabularvalignment="middle"> -<column alignment="center" valignment="top" width="0"> -<column alignment="center" valignment="top" width="0"> -<row> -<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none"> -\begin_inset Text - -\begin_layout Plain Layout -Operator -\end_layout - -\end_inset -</cell> -<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none"> -\begin_inset Text - -\begin_layout Plain Layout -Note -\end_layout - -\end_inset -</cell> -</row> -<row> -<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> -\begin_inset Text - -\begin_layout Plain Layout -x[index] -\end_layout - -\end_inset -</cell> -<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> -\begin_inset Text - -\begin_layout Plain Layout -Subscription, Highest Priority -\end_layout - -\end_inset -</cell> -</row> -<row> -<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> -\begin_inset Text - -\begin_layout Plain Layout -x.attribute -\end_layout - -\end_inset -</cell> -<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> -\begin_inset Text - -\begin_layout Plain Layout -Attribute Reference -\end_layout - -\end_inset -</cell> -</row> -<row> -<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> -\begin_inset Text - -\begin_layout Plain Layout -extends -\end_layout - -\end_inset -</cell> -<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> -\begin_inset Text - -\begin_layout Plain Layout -Instance Type Checker -\end_layout - -\end_inset -</cell> -</row> -<row> -<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> -\begin_inset Text - -\begin_layout Plain Layout -~ -\end_layout - -\end_inset -</cell> -<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> -\begin_inset Text - -\begin_layout Plain Layout -Bitwise NOT -\end_layout - -\end_inset -</cell> -</row> -<row> -<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> -\begin_inset Text - -\begin_layout Plain Layout --x -\end_layout - -\end_inset -</cell> -<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> -\begin_inset Text - -\begin_layout Plain Layout -Negative -\end_layout - -\end_inset -</cell> -</row> -<row> -<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> -\begin_inset Text - -\begin_layout Plain Layout -* / % -\end_layout - -\end_inset -</cell> -<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> -\begin_inset Text - -\begin_layout Plain Layout -Mult / Div / Remainder -\end_layout - -\end_inset -</cell> -</row> -<row> -<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> -\begin_inset Text - -\begin_layout Plain Layout -+ - -\end_layout - -\end_inset -</cell> -<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> -\begin_inset Text - -\begin_layout Plain Layout -Addition / Substraction -\end_layout - -\end_inset -</cell> -</row> -<row> -<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> -\begin_inset Text - -\begin_layout Plain Layout -<< >> -\end_layout - -\end_inset -</cell> -<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> -\begin_inset Text - -\begin_layout Plain Layout -Bit Shifting -\end_layout - -\end_inset -</cell> -</row> -<row> -<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> -\begin_inset Text - -\begin_layout Plain Layout -& -\end_layout - -\end_inset -</cell> -<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> -\begin_inset Text - -\begin_layout Plain Layout -Bitwise AND -\end_layout - -\end_inset -</cell> -</row> -<row> -<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> -\begin_inset Text - -\begin_layout Plain Layout -^ -\end_layout - -\end_inset -</cell> -<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> -\begin_inset Text - -\begin_layout Plain Layout -Bitwise XOR -\end_layout - -\end_inset -</cell> -</row> -<row> -<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> -\begin_inset Text - -\begin_layout Plain Layout -| -\end_layout - -\end_inset -</cell> -<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> -\begin_inset Text - -\begin_layout Plain Layout -Bitwise OR -\end_layout - -\end_inset -</cell> -</row> -<row> -<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> -\begin_inset Text - -\begin_layout Plain Layout -< > == != >= <= -\end_layout - -\end_inset -</cell> -<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> -\begin_inset Text - -\begin_layout Plain Layout -Comparisons -\end_layout - -\end_inset -</cell> -</row> -<row> -<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> -\begin_inset Text - -\begin_layout Plain Layout -in -\end_layout - -\end_inset -</cell> -<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> -\begin_inset Text - -\begin_layout Plain Layout -Content Test -\end_layout - -\end_inset -</cell> -</row> -<row> -<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> -\begin_inset Text - -\begin_layout Plain Layout -! not -\end_layout - -\end_inset -</cell> -<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> -\begin_inset Text - -\begin_layout Plain Layout -Boolean NOT -\end_layout - -\end_inset -</cell> -</row> -<row> -<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> -\begin_inset Text - -\begin_layout Plain Layout -and && -\end_layout - -\end_inset -</cell> -<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> -\begin_inset Text - -\begin_layout Plain Layout -Boolean AND -\end_layout - -\end_inset -</cell> -</row> -<row> -<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> -\begin_inset Text - -\begin_layout Plain Layout -or || -\end_layout - -\end_inset -</cell> -<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> -\begin_inset Text - -\begin_layout Plain Layout -Boolean OR -\end_layout - -\end_inset -</cell> -</row> -<row> -<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none"> -\begin_inset Text - -\begin_layout Plain Layout -= += -= *= /= ^= &= |= -\end_layout - -\end_inset -</cell> -<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none"> -\begin_inset Text - -\begin_layout Plain Layout -Assignment, Lowest Priority -\end_layout - -\end_inset -</cell> -</row> -</lyxtabular> - -\end_inset - - -\end_layout - -\begin_layout Subsection -Literals -\end_layout - -\begin_layout Standard -\begin_inset Tabular -<lyxtabular version="3" rows="6" columns="2"> -<features tabularvalignment="middle"> -<column alignment="center" valignment="top" width="0"> -<column alignment="center" valignment="top" width="0"> -<row> -<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none"> -\begin_inset Text - -\begin_layout Plain Layout -Literal -\end_layout - -\end_inset -</cell> -<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none"> -\begin_inset Text - -\begin_layout Plain Layout -Name -\end_layout - -\end_inset -</cell> -</row> -<row> -<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> -\begin_inset Text - -\begin_layout Plain Layout -45 -\end_layout - -\end_inset -</cell> -<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> -\begin_inset Text - -\begin_layout Plain Layout -Base 10 Integer -\end_layout - -\end_inset -</cell> -</row> -<row> -<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> -\begin_inset Text - -\begin_layout Plain Layout -0x8F51 -\end_layout - -\end_inset -</cell> -<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> -\begin_inset Text - -\begin_layout Plain Layout -Base 16 (hex) Integer -\end_layout - -\end_inset -</cell> -</row> -<row> -<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> -\begin_inset Text - -\begin_layout Plain Layout -3.14, 58.1e-10 -\end_layout - -\end_inset -</cell> -<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> -\begin_inset Text - -\begin_layout Plain Layout -Floating Point Number (real) -\end_layout - -\end_inset -</cell> -</row> -<row> -<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none"> -\begin_inset Text - -\begin_layout Plain Layout -'Hello', -\begin_inset Quotes eld -\end_inset - -Hi -\begin_inset Quotes erd -\end_inset - - -\end_layout - -\end_inset -</cell> -<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none"> -\begin_inset Text - -\begin_layout Plain Layout -Strings -\end_layout - -\end_inset -</cell> -</row> -<row> -<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none"> -\begin_inset Text - -\begin_layout Plain Layout -@'Hello', @'Hi' -\end_layout - -\end_inset -</cell> -<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none"> -\begin_inset Text - -\begin_layout Plain Layout -Internationalized Strings -\end_layout - -\end_inset -</cell> -</row> -</lyxtabular> - -\end_inset - - -\end_layout - -\begin_layout Subsection -Comments -\end_layout - -\begin_layout Standard -Anything from a '#' to the end of the line is ignored and is considered - a comment. -\end_layout - -\begin_layout Standard -\begin_inset listings -lstparams "language=Python" -inline false -status open - -\begin_layout Plain Layout - -# This is a comment -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Section -Built-in Types -\end_layout - -\begin_layout Subsection -Basic Bult-In Types -\end_layout - -\begin_layout Standard -A variable in GDScript can be assigned many of several built-in types. - -\end_layout - -\begin_layout Subsubsection -null -\end_layout - -\begin_layout Standard -'null' is a data type that contains no information, nothing assigned, and - it's just empy. - It can only be set to one value: 'null'. -\end_layout - -\begin_layout Subsubsection -bool -\end_layout - -\begin_layout Standard -Boolean data type, can only contain 'true' or 'false'. -\end_layout - -\begin_layout Subsubsection -int -\end_layout - -\begin_layout Standard -Integer data type, can only contain integer numbers, negative and positive. -\end_layout - -\begin_layout Subsubsection -float -\end_layout - -\begin_layout Standard -contains a floating point value (real). -\end_layout - -\begin_layout Subsubsection -String -\end_layout - -\begin_layout Standard -Sequence of characters in unicode format. - Strings can contain the standard C escape sequences. -\end_layout - -\begin_layout Subsection -Vector Built-In Types -\end_layout - -\begin_layout Subsubsection -Vector2/Size2 -\end_layout - -\begin_layout Standard -2D vector type, containing x and y fields. - Can alternatively access fields as width and height for readability. - Can also be accessed as array. -\end_layout - -\begin_layout Subsubsection -Rect2 -\end_layout - -\begin_layout Standard -2D Rectangle type. - Contains 2 vectors fields, -\begin_inset Quotes eld -\end_inset - -pos -\begin_inset Quotes erd -\end_inset - - and size -\begin_inset Quotes erd -\end_inset - -. - Alternatively contains an -\begin_inset Quotes eld -\end_inset - -end -\begin_inset Quotes erd -\end_inset - - field which is -\begin_inset Quotes eld -\end_inset - -pos+size -\begin_inset Quotes erd -\end_inset - -. -\end_layout - -\begin_layout Subsubsection -Vector3 -\end_layout - -\begin_layout Standard -3D vector type. - Contains x, y and z fields. - Can also be accessed as array. -\end_layout - -\begin_layout Subsubsection -Matrix32 -\end_layout - -\begin_layout Standard -3x2 matrix used for 2D transforms. -\end_layout - -\begin_layout Subsubsection -Plane -\end_layout - -\begin_layout Standard -3D Plane type in normalized form. - Contains a -\begin_inset Quotes eld -\end_inset - -normal -\begin_inset Quotes erd -\end_inset - - vector field and a -\begin_inset Quotes eld -\end_inset - -d -\begin_inset Quotes erd -\end_inset - - scalar distance. -\end_layout - -\begin_layout Subsubsection -Quat -\end_layout - -\begin_layout Standard -Quaternion, datatype used for representing a 3D rotation. - It's useful for interpolating rotations. -\end_layout - -\begin_layout Subsubsection -AABB/Box3 -\end_layout - -\begin_layout Standard -Axis Aligned bounding box (or alternatively, 3D box). - Contains 2 vectors fields, -\begin_inset Quotes eld -\end_inset - -pos -\begin_inset Quotes erd -\end_inset - - and size -\begin_inset Quotes erd -\end_inset - -. - Alternatively contains an -\begin_inset Quotes eld -\end_inset - -end -\begin_inset Quotes erd -\end_inset - - field which is -\begin_inset Quotes eld -\end_inset - -pos+size -\begin_inset Quotes erd -\end_inset - -. -\end_layout - -\begin_layout Subsubsection -Matrix3 -\end_layout - -\begin_layout Standard -3x3 matrix used for 3D rotation and scale. - Contains 3 vector fields x,y and z. - Can also be accessed as array of 3D vectors. -\end_layout - -\begin_layout Subsubsection -Transform -\end_layout - -\begin_layout Standard -3D Transform, contains a Matrix3 field -\begin_inset Quotes eld -\end_inset - -basis -\begin_inset Quotes erd -\end_inset - - and a Vector3 field -\begin_inset Quotes eld -\end_inset - -origin -\begin_inset Quotes erd -\end_inset - -. -\end_layout - -\begin_layout Subsection -Engine Built-In Types -\end_layout - -\begin_layout Subsubsection -Color -\end_layout - -\begin_layout Standard -Color datatype, contains r,g,b,a fields. - Can also be accessed as h,s,v for hue/saturation/value. -\end_layout - -\begin_layout Subsubsection -Image -\end_layout - -\begin_layout Standard -Contains a 2D Image of custom format and allows direct access to the pixels. -\end_layout - -\begin_layout Subsubsection -NodePath -\end_layout - -\begin_layout Standard -Compiled path to a node, used mainly in the scene system. - Can be easily asigned from/to a String. -\end_layout - -\begin_layout Subsubsection -RID -\end_layout - -\begin_layout Standard -Resource ID (RID). - Servers use generic RIDs to reference opaque data. -\end_layout - -\begin_layout Subsubsection -Object -\end_layout - -\begin_layout Standard -Base class for anything not a built-in type. - -\end_layout - -\begin_layout Subsubsection -InputEvent -\end_layout - -\begin_layout Standard -Events from input devices are contained in very compact form in InputEvent - objects. - Due to fact they can be received in high amounts from frame to frame, they - are optimized in their own datatype. - -\end_layout - -\begin_layout Subsection -Container Built-In Types -\end_layout - -\begin_layout Subsubsection -Array -\end_layout - -\begin_layout Standard -Generic sequence of objects. - It's size can be changed to anything and starts from index 0. - -\end_layout - -\begin_layout Standard -\begin_inset listings -inline false -status open - -\begin_layout Plain Layout - -var arr=[] -\end_layout - -\begin_layout Plain Layout - -arr=[1,2,3] -\end_layout - -\begin_layout Plain Layout - -arr[0]="Hi!" -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Standard -Arrays are allocated linearly in memory, so they are fast, but very large - arrays (more than tens of thousands of elements) may cause fragmentation. - There are specialized arrays for some built-in datatypes which do not suffer - from this and use much less memory. -\end_layout - -\begin_layout Subsubsection -Dictionary -\end_layout - -\begin_layout Standard -Associative container which contains values referenced by unique keys. -\end_layout - -\begin_layout Standard -\begin_inset listings -inline false -status open - -\begin_layout Plain Layout - -var dict={4:5, "a key":"a value", 28:[1,2,3]} -\end_layout - -\begin_layout Plain Layout - -dict["Hi!"]=0 -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Subsubsection -ByteArray -\end_layout - -\begin_layout Standard -Array of bytes. - Can only contains bytes (integers from 0 to 255). - Optimized for memory usage, can't fragment the memory. -\end_layout - -\begin_layout Subsubsection -IntArray -\end_layout - -\begin_layout Standard -Array of integers. - Can only contain integers. - Optimized for memory usage, can't fragment the memory. -\end_layout - -\begin_layout Subsubsection -FloatArray -\end_layout - -\begin_layout Standard -Array of floats, can only contain floats. - Optimized for memory usage, can't fragment the memory. -\end_layout - -\begin_layout Subsubsection -StringArray -\end_layout - -\begin_layout Standard -Array of strings, can only contain strings. - Optimized for memory usage, can't fragment the memory. -\end_layout - -\begin_layout Subsubsection -Vector2Array -\end_layout - -\begin_layout Standard -Array of Vector2, can only contain 2D Vectors. - Optimized for memory usage, can't fragment the memory. -\end_layout - -\begin_layout Subsubsection -Vector3Array -\end_layout - -\begin_layout Standard -Array of Vector3, can only contain 3D Vectors. - Optimized for memory usage, can't fragment the memory. -\end_layout - -\begin_layout Subsubsection -ColorArray -\end_layout - -\begin_layout Standard -Array of Color, can only contains colors. - Optimized for memory usage, can't fragment the memory. -\end_layout - -\begin_layout Section -Data -\end_layout - -\begin_layout Subsection -Variables -\end_layout - -\begin_layout Standard -Variables can exist as class members or local to functions. - They are created with the -\begin_inset Quotes eld -\end_inset - -var -\begin_inset Quotes erd -\end_inset - - keyword and may be, optionally, be assigned a value upon initialization. -\end_layout - -\begin_layout Standard -\begin_inset listings -inline false -status open - -\begin_layout Plain Layout - -var a # datatype is null by default -\end_layout - -\begin_layout Plain Layout - -var b = 5 -\end_layout - -\begin_layout Plain Layout - -var c = 3.8 -\end_layout - -\begin_layout Plain Layout - -var d = b+c # variables are always initialized in order -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Subsection -Constants -\end_layout - -\begin_layout Standard -Constants are similar to variables, but must be constants or constant expression -s and must be assigned on initialization. -\end_layout - -\begin_layout Standard -\begin_inset listings -inline false -status open - -\begin_layout Plain Layout - -const a = 5 -\end_layout - -\begin_layout Plain Layout - -const b = Vector2(20,20) -\end_layout - -\begin_layout Plain Layout - -const c = 10+20 # constant expression -\end_layout - -\begin_layout Plain Layout - -const d = Vector2(20,30).x # constant expression: 20 -\end_layout - -\begin_layout Plain Layout - -const e = [1,2,3,4][0] # constant expression: 1 -\end_layout - -\begin_layout Plain Layout - -const f = sin(20) # sin() can be used in constant expression -\end_layout - -\begin_layout Plain Layout - -const g = x+20 # invalid, not a constant expression! -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Subsection -Functions -\end_layout - -\begin_layout Standard -Functions always belong to a class. - The scope priority for variable look-up is: local -> class member -> global. - -\begin_inset Quotes eld -\end_inset - -self -\begin_inset Quotes erd -\end_inset - - is provided as an option for accessing class members but is not required - always (and must -\emph on -not -\emph default - be defined as first parameter, like in Python). - For performance reasons, functions are not considered class members, so - they can't be referenced directly. - A function can return at any point. - The default return value is null. -\end_layout - -\begin_layout Standard -\begin_inset listings -inline false -status open - -\begin_layout Plain Layout - -func myfunction(a,b): -\end_layout - -\begin_layout Plain Layout - - print(a) -\end_layout - -\begin_layout Plain Layout - - print(b) -\end_layout - -\begin_layout Plain Layout - - return a+b # return is optional, otherwise null is returned -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Subsubsection -Statements and Control Flow -\end_layout - -\begin_layout Standard -Statements are standard, and can be assignments, function calls, control - flow structures, etc (see below). - -\begin_inset Quotes eld -\end_inset - -; -\begin_inset Quotes erd -\end_inset - - as separator is entirely optional. -\end_layout - -\begin_layout Subsubsection -if/else/elif -\end_layout - -\begin_layout Standard -Simple conditions are created by using the -\emph on -if/else/elif -\emph default - syntax. - Parenthesis around statements is allowed but not requiered. - Given the nature of the tab-based indentation, elif can be used instead - of else:/if: to mantain a level of indentation. -\end_layout - -\begin_layout Standard -\begin_inset listings -inline false -status open - -\begin_layout Plain Layout - -if [expression]: -\end_layout - -\begin_layout Plain Layout - - statement(s) -\end_layout - -\begin_layout Plain Layout - -elif [expression]: -\end_layout - -\begin_layout Plain Layout - - statement(s) -\end_layout - -\begin_layout Plain Layout - -else: -\end_layout - -\begin_layout Plain Layout - - statement(s) -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Subsubsection -while -\end_layout - -\begin_layout Standard -Simple loops are created by using -\emph on -while -\emph default - syntax. - Loops can be broken using -\emph on -break -\emph default -, or continued using -\emph on -continue -\emph default -: -\end_layout - -\begin_layout Standard -\begin_inset listings -inline false -status open - -\begin_layout Plain Layout - -while [expression]: -\end_layout - -\begin_layout Plain Layout - - statement(s) -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Subsubsection -for -\end_layout - -\begin_layout Standard -To iterate a range, array or table a -\emph on -for -\emph default - loop is used. - For loops store the index in the loop variable on each iteration. -\end_layout - -\begin_layout Standard -\begin_inset listings -inline false -status open - -\begin_layout Plain Layout - -for i in [0,1,2]: -\end_layout - -\begin_layout Plain Layout - - statement # loop iterates 3 times, i being 0,1 and 2 -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - -var dict = {"a":0, "b":1, "c": 2} -\end_layout - -\begin_layout Plain Layout - -for i in dict: -\end_layout - -\begin_layout Plain Layout - - print(dict[i]) # loop iterates the keys, i being "a","b" and c". - It prints 0, 1 and 2. -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - -for i in range(3): -\end_layout - -\begin_layout Plain Layout - - statement # similar to [0,1,2] but does not allocate an array -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - -for i in range(1,3): -\end_layout - -\begin_layout Plain Layout - - statement # similar to [1,2] but does not allocate an array -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - -for i in range(2,8,2): -\end_layout - -\begin_layout Plain Layout - - statement # similar to [2,4,6] but does not allocate an array -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Section -Classes -\end_layout - -\begin_layout Standard -By default, the body of a script file is an unnamed class, and it can only - be referenced externally as a resource or file. - Class syntax is meant to be very compact and can only contain member variables - or functions. - Static functions are allowed, but not static members (in the spirit of - thread safety, since scripts can be initialized in separate threads without - the user knowing). - In the same way, member variables (including arrays and dictionaries) are - initialized every time an instance is created. - -\end_layout - -\begin_layout Subsection -Class File Example -\end_layout - -\begin_layout Standard -Example of a class file, imagine it being stored in a file like myclass.gd. -\end_layout - -\begin_layout Standard -\begin_inset listings -inline false -status open - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - -var a=5 -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - -function print_value_of_a(): -\end_layout - -\begin_layout Plain Layout - - print(a) -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Subsection -Inheritance -\end_layout - -\begin_layout Standard -A class-file can inherit from a global class, another file or a subclass - inside another file. - Multiple inheritance is not allowed. - The -\begin_inset Quotes eld -\end_inset - -extends -\begin_inset Quotes erd -\end_inset - - syntax is used: -\end_layout - -\begin_layout Standard -\begin_inset listings -inline false -status open - -\begin_layout Plain Layout - -# extend from some class (global) -\end_layout - -\begin_layout Plain Layout - -extends SomeClass -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - -# optionally, extend from another file -\end_layout - -\begin_layout Plain Layout - -extends "somefile.gd" -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - -# extend from a subclass in another file -\end_layout - -\begin_layout Plain Layout - -extends "somefile.gd".Subclass -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Subsection -Inheritance Testing -\end_layout - -\begin_layout Standard -It is possible to check if an instance inherits from a given class. - For this the -\begin_inset Quotes eld -\end_inset - -extends -\begin_inset Quotes erd -\end_inset - - keyword can be used as an operator instead: -\end_layout - -\begin_layout Standard -\begin_inset listings -inline false -status open - -\begin_layout Plain Layout - -static var enemy_class = preload("enemy.gd") # cache the enemy class -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - -[..] -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - -if ( entity extends enemy_class ): -\end_layout - -\begin_layout Plain Layout - - entity.apply_damage() -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Subsection -Constructor -\end_layout - -\begin_layout Standard -A class can have an optional constructor, a function named -\begin_inset Quotes eld -\end_inset - -_init -\begin_inset Quotes erd -\end_inset - - that is called when the class is instanced. -\end_layout - -\begin_layout Subsection -Sub Classes -\end_layout - -\begin_layout Standard -A class file can have subclasses. - Syntax should be straightforward: -\end_layout - -\begin_layout Standard -\begin_inset listings -inline false -status open - -\begin_layout Plain Layout - -class SomeSubClass: -\end_layout - -\begin_layout Plain Layout - - var a=5 -\end_layout - -\begin_layout Plain Layout - - function print_value_of_a(): -\end_layout - -\begin_layout Plain Layout - - print(a) -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - -function _init(): -\end_layout - -\begin_layout Plain Layout - - var sc = SomeSubClass.new() #instance by calling built-in new -\end_layout - -\begin_layout Plain Layout - - sc.print_value_of_a() -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Subsection -Classes as Objects -\end_layout - -\begin_layout Standard -It may be desired at some point to load a class from a file and then instance - it. - Since the global scope does not exist, classes must be loaded as a resource. - Instancing is done by calling the -\begin_inset Quotes eld -\end_inset - -new -\begin_inset Quotes erd -\end_inset - - function in a class object: -\end_layout - -\begin_layout Standard -\begin_inset listings -inline false -status open - -\begin_layout Plain Layout - -#load the class (loaded every time the script is instanced) -\end_layout - -\begin_layout Plain Layout - -var MyClass = load("myclass.gd") -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - -#alternatively, using the preload() function preloads the class at compile - time -\end_layout - -\begin_layout Plain Layout - -var MyClass2 = preload("myclass.gd") -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - -function _init(): -\end_layout - -\begin_layout Plain Layout - - var a = MyClass.new() -\end_layout - -\begin_layout Plain Layout - - a.somefunction() -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Subsection -Exports -\end_layout - -\begin_layout Standard -Class members can be exported. - This means their value gets saved along with a scene. - If class members have initializers to constant expressions, they will be - available for editing in the property editor. - Exporting is done by using the export keyword: -\end_layout - -\begin_layout Standard -\begin_inset listings -inline false -status open - -\begin_layout Plain Layout - -extends Button -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - -export var data # value will be saved -\end_layout - -\begin_layout Plain Layout - -export var number=5 # also available to the property editor -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Standard -One of the fundamental benefits of exporting member variables is to have - them visible in the property editor. - This way artists and game designers can modify values that later influence - how the program runs. - For this, a special export syntax is provided for more detail in the exported - variables: -\end_layout - -\begin_layout Standard -\begin_inset listings -inline false -status open - -\begin_layout Plain Layout - -#if the exported value assigns a constant or constant expression, the type - will be infered and used in the editor -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - -export var number=5 -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - -#export can take a basic datatype as argument, which will be used in the - editor -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - -export(int) var number -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - -#export can also take a resource type as hint -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - -export(Texture) var character_face -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - -#integers and strings hint enumerated values -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - -export(int,"Warrior","Magician","Thief") var character_class # (editor will - set them as 0,1 and 2) -\end_layout - -\begin_layout Plain Layout - -export(String,"Rebecca","Mary","Leah") var character_name -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - -#strings as paths -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - -export(String,FILE) var f # string is a path to a file -\end_layout - -\begin_layout Plain Layout - -export(String,DIR) var f # string is a path to a directory -\end_layout - -\begin_layout Plain Layout - -export(String,FILE,"*.txt") var f # string is a path to a file, custom filter - provided as hint -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - -#integers and floats hint ranges -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - -export(int,20) var i # 0 to 20 allowed -\end_layout - -\begin_layout Plain Layout - -export(int,-10,20) var j # -10 to 20 allowed -\end_layout - -\begin_layout Plain Layout - -export(float,-10,20,0.2) var k # -10 to 20 allowed, with stepping of 0.2 -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - -#color can hint availability of alpha -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - -export(Color,RGB) var col # Color is RGB -\end_layout - -\begin_layout Plain Layout - -export(Color,RGBA) var col # Color is RGBA -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Standard -It must be noted that even if the script is not being run while at the editor, - the exported properties are still editable (see below for -\begin_inset Quotes eld -\end_inset - -tool -\begin_inset Quotes erd -\end_inset - -). -\end_layout - -\begin_layout Subsection -Static Functions -\end_layout - -\begin_layout Standard -A function can be declared static. - When static, it has no access to the instance member variables or -\begin_inset Quotes eld -\end_inset - -self -\begin_inset Quotes erd -\end_inset - -. - This is mainly useful to make libraries of helper functions: -\end_layout - -\begin_layout Standard -\begin_inset listings -inline false -status open - -\begin_layout Plain Layout - -static func sum2(a,b): -\end_layout - -\begin_layout Plain Layout - - return a+b -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Subsection -Asserting -\end_layout - -\begin_layout Standard -It is possible to assert a condition, which will cause a debugger break - if false. - Just use the built-in 'assert' function. -\end_layout - -\begin_layout Standard -\begin_inset listings -inline false -status open - -\begin_layout Plain Layout - -assert(a==2) -\end_layout - -\begin_layout Plain Layout - -# if a is not 2, it will generate a debugger break -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Subsection -Tool Mode -\end_layout - -\begin_layout Standard -Scripts by default don't run inside the editor, and only the exported properties - can be changed. - In some cases it is desired that they do (as long as they don't execute - game code or manually avoid doing so). - For this, the -\begin_inset Quotes eld -\end_inset - -tool -\begin_inset Quotes erd -\end_inset - - keyword exists, and must be placed at the top of the file: -\end_layout - -\begin_layout Standard -\begin_inset listings -inline false -status open - -\begin_layout Plain Layout - -tool -\end_layout - -\begin_layout Plain Layout - -extends Button -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - -func _init(): -\end_layout - -\begin_layout Plain Layout - - print("Hello") -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Subsection -Memory Management -\end_layout - -\begin_layout Standard -If a class inherits from -\emph on -Reference -\emph default -, then instances will be freed when no longer in use. - No garbage collector exists, just simple reference counting. - By default, all classes that don't define inheritance extend -\emph on -Reference -\emph default -. - If this is not desired, then a class must inherit -\emph on -Object -\emph default - manually and must call instance.free(). - To avoid reference cycles that can't be freed, a weakref() function is - provided for creating weak references. - -\end_layout - -\begin_layout Subsection -Function References -\end_layout - -\begin_layout Standard -Functions can't be referenced because they are not treated as class members. - There are two alternatives to this, though. - The -\begin_inset Quotes eld -\end_inset - -call -\begin_inset Quotes erd -\end_inset - - function or the funcref() helper. -\end_layout - -\begin_layout Standard -\begin_inset listings -inline false -status open - -\begin_layout Plain Layout - -instance.call("funcname",args) # call a function by bane -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - -var fr = funcref(instance,"funcname") #create a function ref -\end_layout - -\begin_layout Plain Layout - -fr.exec(args) -\end_layout - -\end_inset - - -\end_layout - -\end_body -\end_document diff --git a/doc/godot_splash.png b/doc/godot_splash.png Binary files differdeleted file mode 100644 index da56fa15cc..0000000000 --- a/doc/godot_splash.png +++ /dev/null diff --git a/doc/header.txt b/doc/header.txt deleted file mode 100644 index 359949cc3b..0000000000 --- a/doc/header.txt +++ /dev/null @@ -1,12 +0,0 @@ -/*************************************************/ -/* $filename */ -/*************************************************/ -/* This file is part of: */ -/* GODOT ENGINE */ -/*************************************************/ -/* Source code within this file is: */ -/* (c) 2007-2010 Juan Linietsky, Ariel Manzur */ -/* All Rights Reserved. */ -/*************************************************/ - - diff --git a/doc/html/@GDScript.html b/doc/html/@GDScript.html deleted file mode 100644 index 5d5d77ffbf..0000000000 --- a/doc/html/@GDScript.html +++ /dev/null @@ -1,93 +0,0 @@ -<html><link href="main.css" rel="stylesheet" type="text/css" /><body><table class="top_table"><tr><td class="top_table"><image src="images/logo.png" /></td><td class="top_table"><a href="index.html">Index</a></td><td class="top_table"><a href="alphabetical.html">Classes</a></td><td class="top_table"><a href="category.html">Categories</a></td><td><a href="inheritance.html">Inheritance</a></td></tr></table><hr /><div class="class"><a name="@GDScript"><h3 class="title class_title">@GDScript</h3></a><div class="description class_description"> - Built-in GDScript functions. - </div><br /><div class="category"><span class="category">Category: </span><a class="category_ref" href="category.html#CATEGORY_Core">Core</a></div><h4>Public Methods:</h4><table class="method_list"><tr class="method"><td align="right"><a class="datatype_existing" href="real.html">real </a></td><td><span class="identifier funcdef"><a href="#@GDScript_sin">sin</a></span><span class="symbol"> (</span><span> </span><a class="datatype_existing" href="real.html">real </a><span>s</span><span class="symbol"> )</span></td></tr><tr class="method"><td align="right"><a class="datatype_existing" href="real.html">real </a></td><td><span class="identifier funcdef"><a href="#@GDScript_cos">cos</a></span><span class="symbol"> (</span><span> </span><a class="datatype_existing" href="real.html">real </a><span>s</span><span class="symbol"> )</span></td></tr><tr class="method"><td align="right"><a class="datatype_existing" href="real.html">real </a></td><td><span class="identifier funcdef"><a href="#@GDScript_tan">tan</a></span><span class="symbol"> (</span><span> </span><a class="datatype_existing" href="real.html">real </a><span>s</span><span class="symbol"> )</span></td></tr><tr class="method"><td align="right"><a class="datatype_existing" href="real.html">real </a></td><td><span class="identifier funcdef"><a href="#@GDScript_sinh">sinh</a></span><span class="symbol"> (</span><span> </span><a class="datatype_existing" href="real.html">real </a><span>s</span><span class="symbol"> )</span></td></tr><tr class="method"><td align="right"><a class="datatype_existing" href="real.html">real </a></td><td><span class="identifier funcdef"><a href="#@GDScript_cosh">cosh</a></span><span class="symbol"> (</span><span> </span><a class="datatype_existing" href="real.html">real </a><span>s</span><span class="symbol"> )</span></td></tr><tr class="method"><td align="right"><a class="datatype_existing" href="real.html">real </a></td><td><span class="identifier funcdef"><a href="#@GDScript_tanh">tanh</a></span><span class="symbol"> (</span><span> </span><a class="datatype_existing" href="real.html">real </a><span>s</span><span class="symbol"> )</span></td></tr><tr class="method"><td align="right"><a class="datatype_existing" href="real.html">real </a></td><td><span class="identifier funcdef"><a href="#@GDScript_asin">asin</a></span><span class="symbol"> (</span><span> </span><a class="datatype_existing" href="real.html">real </a><span>s</span><span class="symbol"> )</span></td></tr><tr class="method"><td align="right"><a class="datatype_existing" href="real.html">real </a></td><td><span class="identifier funcdef"><a href="#@GDScript_acos">acos</a></span><span class="symbol"> (</span><span> </span><a class="datatype_existing" href="real.html">real </a><span>s</span><span class="symbol"> )</span></td></tr><tr class="method"><td align="right"><a class="datatype_existing" href="real.html">real </a></td><td><span class="identifier funcdef"><a href="#@GDScript_atan">atan</a></span><span class="symbol"> (</span><span> </span><a class="datatype_existing" href="real.html">real </a><span>s</span><span class="symbol"> )</span></td></tr><tr class="method"><td align="right"><a class="datatype_existing" href="real.html">real </a></td><td><span class="identifier funcdef"><a href="#@GDScript_atan2">atan2</a></span><span class="symbol"> (</span><span> </span><a class="datatype_existing" href="real.html">real </a><span>x</span><span>, </span><a class="datatype_existing" href="real.html">real </a><span>y</span><span class="symbol"> )</span></td></tr><tr class="method"><td align="right"><a class="datatype_existing" href="real.html">real </a></td><td><span class="identifier funcdef"><a href="#@GDScript_sqrt">sqrt</a></span><span class="symbol"> (</span><span> </span><a class="datatype_existing" href="real.html">real </a><span>s</span><span class="symbol"> )</span></td></tr><tr class="method"><td align="right"><a class="datatype_existing" href="real.html">real </a></td><td><span class="identifier funcdef"><a href="#@GDScript_fmod">fmod</a></span><span class="symbol"> (</span><span> </span><a class="datatype_existing" href="real.html">real </a><span>x</span><span>, </span><a class="datatype_existing" href="real.html">real </a><span>y</span><span class="symbol"> )</span></td></tr><tr class="method"><td align="right"><a class="datatype_existing" href="real.html">real </a></td><td><span class="identifier funcdef"><a href="#@GDScript_fposmod">fposmod</a></span><span class="symbol"> (</span><span> </span><a class="datatype_existing" href="real.html">real </a><span>x</span><span>, </span><a class="datatype_existing" href="real.html">real </a><span>y</span><span class="symbol"> )</span></td></tr><tr class="method"><td align="right"><a class="datatype_existing" href="real.html">real </a></td><td><span class="identifier funcdef"><a href="#@GDScript_floor">floor</a></span><span class="symbol"> (</span><span> </span><a class="datatype_existing" href="real.html">real </a><span>s</span><span class="symbol"> )</span></td></tr><tr class="method"><td align="right"><a class="datatype_existing" href="real.html">real </a></td><td><span class="identifier funcdef"><a href="#@GDScript_ceil">ceil</a></span><span class="symbol"> (</span><span> </span><a class="datatype_existing" href="real.html">real </a><span>s</span><span class="symbol"> )</span></td></tr><tr class="method"><td align="right"><a class="datatype_existing" href="real.html">real </a></td><td><span class="identifier funcdef"><a href="#@GDScript_round">round</a></span><span class="symbol"> (</span><span> </span><a class="datatype_existing" href="real.html">real </a><span>s</span><span class="symbol"> )</span></td></tr><tr class="method"><td align="right"><a class="datatype_existing" href="real.html">real </a></td><td><span class="identifier funcdef"><a href="#@GDScript_abs">abs</a></span><span class="symbol"> (</span><span> </span><a class="datatype_existing" href="real.html">real </a><span>s</span><span class="symbol"> )</span></td></tr><tr class="method"><td align="right"><a class="datatype_existing" href="real.html">real </a></td><td><span class="identifier funcdef"><a href="#@GDScript_sign">sign</a></span><span class="symbol"> (</span><span> </span><a class="datatype_existing" href="real.html">real </a><span>s</span><span class="symbol"> )</span></td></tr><tr class="method"><td align="right"><a class="datatype_existing" href="real.html">real </a></td><td><span class="identifier funcdef"><a href="#@GDScript_pow">pow</a></span><span class="symbol"> (</span><span> </span><a class="datatype_existing" href="real.html">real </a><span>x</span><span>, </span><a class="datatype_existing" href="real.html">real </a><span>y</span><span class="symbol"> )</span></td></tr><tr class="method"><td align="right"><a class="datatype_existing" href="real.html">real </a></td><td><span class="identifier funcdef"><a href="#@GDScript_log">log</a></span><span class="symbol"> (</span><span> </span><a class="datatype_existing" href="real.html">real </a><span>s</span><span class="symbol"> )</span></td></tr><tr class="method"><td align="right"><a class="datatype_existing" href="real.html">real </a></td><td><span class="identifier funcdef"><a href="#@GDScript_exp">exp</a></span><span class="symbol"> (</span><span> </span><a class="datatype_existing" href="real.html">real </a><span>s</span><span class="symbol"> )</span></td></tr><tr class="method"><td align="right"><a class="datatype_existing" href="real.html">real </a></td><td><span class="identifier funcdef"><a href="#@GDScript_isnan">isnan</a></span><span class="symbol"> (</span><span> </span><a class="datatype_existing" href="real.html">real </a><span>s</span><span class="symbol"> )</span></td></tr><tr class="method"><td align="right"><a class="datatype_existing" href="real.html">real </a></td><td><span class="identifier funcdef"><a href="#@GDScript_isinf">isinf</a></span><span class="symbol"> (</span><span> </span><a class="datatype_existing" href="real.html">real </a><span>s</span><span class="symbol"> )</span></td></tr><tr class="method"><td align="right"><a class="datatype_existing" href="real.html">real </a></td><td><span class="identifier funcdef"><a href="#@GDScript_ease">ease</a></span><span class="symbol"> (</span><span> </span><a class="datatype_existing" href="real.html">real </a><span>s</span><span>, </span><a class="datatype_existing" href="real.html">real </a><span>curve</span><span class="symbol"> )</span></td></tr><tr class="method"><td align="right"><a class="datatype_existing" href="real.html">real </a></td><td><span class="identifier funcdef"><a href="#@GDScript_decimals">decimals</a></span><span class="symbol"> (</span><span> </span><a class="datatype_existing" href="real.html">real </a><span>step</span><span class="symbol"> )</span></td></tr><tr class="method"><td align="right"><a class="datatype_existing" href="real.html">real </a></td><td><span class="identifier funcdef"><a href="#@GDScript_stepify">stepify</a></span><span class="symbol"> (</span><span> </span><a class="datatype_existing" href="real.html">real </a><span>s</span><span>, </span><a class="datatype_existing" href="real.html">real </a><span>step</span><span class="symbol"> )</span></td></tr><tr class="method"><td align="right"><a class="datatype_existing" href="int.html">int </a></td><td><span class="identifier funcdef"><a href="#@GDScript_rand">rand</a></span><span class="symbol"> (</span><span class="symbol">)</span></td></tr><tr class="method"><td align="right"><a class="datatype_existing" href="real.html">real </a></td><td><span class="identifier funcdef"><a href="#@GDScript_randf">randf</a></span><span class="symbol"> (</span><span class="symbol">)</span></td></tr><tr class="method"><td align="right"><a class="datatype_existing" href="real.html">real </a></td><td><span class="identifier funcdef"><a href="#@GDScript_rand_range">rand_range</a></span><span class="symbol"> (</span><span> </span><a class="datatype_existing" href="real.html">real </a><span>from</span><span>, </span><a class="datatype_existing" href="real.html">real </a><span>to</span><span class="symbol"> )</span></td></tr><tr class="method"><td align="right"><a class="datatype_existing" href="Array.html">Array </a></td><td><span class="identifier funcdef"><a href="#@GDScript_rand_seed">rand_seed</a></span><span class="symbol"> (</span><span> </span><a class="datatype_existing" href="real.html">real </a><span>seed</span><span class="symbol"> )</span></td></tr><tr class="method"><td align="right"><a class="datatype_existing" href="real.html">real </a></td><td><span class="identifier funcdef"><a href="#@GDScript_deg2rad">deg2rad</a></span><span class="symbol"> (</span><span> </span><a class="datatype_existing" href="real.html">real </a><span>deg</span><span class="symbol"> )</span></td></tr><tr class="method"><td align="right"><a class="datatype_existing" href="real.html">real </a></td><td><span class="identifier funcdef"><a href="#@GDScript_rad2deg">rad2deg</a></span><span class="symbol"> (</span><span> </span><a class="datatype_existing" href="real.html">real </a><span>rad</span><span class="symbol"> )</span></td></tr><tr class="method"><td align="right"><a class="datatype_existing" href="real.html">real </a></td><td><span class="identifier funcdef"><a href="#@GDScript_linear2db">linear2db</a></span><span class="symbol"> (</span><span> </span><a class="datatype_existing" href="real.html">real </a><span>nrg</span><span class="symbol"> )</span></td></tr><tr class="method"><td align="right"><a class="datatype_existing" href="real.html">real </a></td><td><span class="identifier funcdef"><a href="#@GDScript_db2linear">db2linear</a></span><span class="symbol"> (</span><span> </span><a class="datatype_existing" href="real.html">real </a><span>db</span><span class="symbol"> )</span></td></tr><tr class="method"><td align="right"><a class="datatype_existing" href="real.html">real </a></td><td><span class="identifier funcdef"><a href="#@GDScript_max">max</a></span><span class="symbol"> (</span><span> </span><a class="datatype_existing" href="real.html">real </a><span>a</span><span>, </span><a class="datatype_existing" href="real.html">real </a><span>b</span><span class="symbol"> )</span></td></tr><tr class="method"><td align="right"><a class="datatype_existing" href="real.html">real </a></td><td><span class="identifier funcdef"><a href="#@GDScript_min">min</a></span><span class="symbol"> (</span><span> </span><a class="datatype_existing" href="real.html">real </a><span>a</span><span>, </span><a class="datatype_existing" href="real.html">real </a><span>b</span><span class="symbol"> )</span></td></tr><tr class="method"><td align="right"><a class="datatype_existing" href="real.html">real </a></td><td><span class="identifier funcdef"><a href="#@GDScript_clamp">clamp</a></span><span class="symbol"> (</span><span> </span><a class="datatype_existing" href="real.html">real </a><span>val</span><span>, </span><a class="datatype_existing" href="real.html">real </a><span>min</span><span>, </span><a class="datatype_existing" href="real.html">real </a><span>max</span><span class="symbol"> )</span></td></tr><tr class="method"><td align="right"><a class="datatype_existing" href="int.html">int </a></td><td><span class="identifier funcdef"><a href="#@GDScript_nearest_po2">nearest_po2</a></span><span class="symbol"> (</span><span> </span><a class="datatype_existing" href="int.html">int </a><span>val</span><span class="symbol"> )</span></td></tr><tr class="method"><td align="right"><a class="datatype_existing" href="Object.html">Object </a></td><td><span class="identifier funcdef"><a href="#@GDScript_weakref">weakref</a></span><span class="symbol"> (</span><span> </span><a class="datatype_existing" href="Object.html">Object </a><span>obj</span><span class="symbol"> )</span></td></tr><tr class="method"><td align="right"><a class="datatype_existing" href="Object.html">Object </a></td><td><span class="identifier funcdef"><a href="#@GDScript_convert">convert</a></span><span class="symbol"> (</span><span> </span><span class="datatype">var </span><span>what</span><span>, </span><a class="datatype_existing" href="int.html">int </a><span>type</span><span class="symbol"> )</span></td></tr><tr class="method"><td align="right"><a class="datatype_existing" href="String.html">String </a></td><td><span class="identifier funcdef"><a href="#@GDScript_str">str</a></span><span class="symbol"> (</span><span> </span><span class="datatype">var </span><span>what</span><span>, </span><span class="datatype">var </span><span>...</span><span class="symbol"> )</span></td></tr><tr class="method"><td align="right"><a class="datatype_existing" href="Nil.html">Nil </a></td><td><span class="identifier funcdef"><a href="#@GDScript_print">print</a></span><span class="symbol"> (</span><span> </span><span class="datatype">var </span><span>what</span><span>, </span><span class="datatype">var </span><span>...</span><span class="symbol"> )</span></td></tr><tr class="method"><td align="right"><a class="datatype_existing" href="Nil.html">Nil </a></td><td><span class="identifier funcdef"><a href="#@GDScript_printerr">printerr</a></span><span class="symbol"> (</span><span> </span><span class="datatype">var </span><span>what</span><span>, </span><span class="datatype">var </span><span>...</span><span class="symbol"> )</span></td></tr><tr class="method"><td align="right"><a class="datatype_existing" href="Nil.html">Nil </a></td><td><span class="identifier funcdef"><a href="#@GDScript_printraw">printraw</a></span><span class="symbol"> (</span><span> </span><span class="datatype">var </span><span>what</span><span>, </span><span class="datatype">var </span><span>...</span><span class="symbol"> )</span></td></tr><tr class="method"><td align="right"><a class="datatype_existing" href="Array.html">Array </a></td><td><span class="identifier funcdef"><a href="#@GDScript_range">range</a></span><span class="symbol"> (</span><span> </span><span class="datatype">var </span><span>...</span><span class="symbol"> )</span></td></tr></table><h4>Description:</h4><div class="description"> - This contains the list of built-in gdscript functions. Mostly math functions and other utilities. Everything else is expanded by objects. - </div><h4>Method Documentation:</h4><div class="method_doc"><div class="method"><a class="datatype_existing" href="real.html">real </a><span class="funcdecl"><a name="@GDScript_sin">@GDScript::sin</a></span><span class="symbol"> (</span><span> </span><a class="datatype_existing" href="real.html">real </a><span>s</span><span class="symbol"> )</span></div><div class="description"> - Standard sine function. - </div></div><div class="method_doc"><div class="method"><a class="datatype_existing" href="real.html">real </a><span class="funcdecl"><a name="@GDScript_cos">@GDScript::cos</a></span><span class="symbol"> (</span><span> </span><a class="datatype_existing" href="real.html">real </a><span>s</span><span class="symbol"> )</span></div><div class="description"> - Standard cosine function. - </div></div><div class="method_doc"><div class="method"><a class="datatype_existing" href="real.html">real </a><span class="funcdecl"><a name="@GDScript_tan">@GDScript::tan</a></span><span class="symbol"> (</span><span> </span><a class="datatype_existing" href="real.html">real </a><span>s</span><span class="symbol"> )</span></div><div class="description"> - Standard tangent function. - </div></div><div class="method_doc"><div class="method"><a class="datatype_existing" href="real.html">real </a><span class="funcdecl"><a name="@GDScript_sinh">@GDScript::sinh</a></span><span class="symbol"> (</span><span> </span><a class="datatype_existing" href="real.html">real </a><span>s</span><span class="symbol"> )</span></div><div class="description"> - Hyperbolic sine. - </div></div><div class="method_doc"><div class="method"><a class="datatype_existing" href="real.html">real </a><span class="funcdecl"><a name="@GDScript_tanh">@GDScript::tanh</a></span><span class="symbol"> (</span><span> </span><a class="datatype_existing" href="real.html">real </a><span>s</span><span class="symbol"> )</span></div><div class="description"> - Hyperbolic tangent. - </div></div><div class="method_doc"><div class="method"><a class="datatype_existing" href="real.html">real </a><span class="funcdecl"><a name="@GDScript_asin">@GDScript::asin</a></span><span class="symbol"> (</span><span> </span><a class="datatype_existing" href="real.html">real </a><span>s</span><span class="symbol"> )</span></div><div class="description"> - Arc-sine. - </div></div><div class="method_doc"><div class="method"><a class="datatype_existing" href="real.html">real </a><span class="funcdecl"><a name="@GDScript_acos">@GDScript::acos</a></span><span class="symbol"> (</span><span> </span><a class="datatype_existing" href="real.html">real </a><span>s</span><span class="symbol"> )</span></div><div class="description"> - Arc-cosine. - </div></div><div class="method_doc"><div class="method"><a class="datatype_existing" href="real.html">real </a><span class="funcdecl"><a name="@GDScript_atan">@GDScript::atan</a></span><span class="symbol"> (</span><span> </span><a class="datatype_existing" href="real.html">real </a><span>s</span><span class="symbol"> )</span></div><div class="description"> - Arc-tangent. - </div></div><div class="method_doc"><div class="method"><a class="datatype_existing" href="real.html">real </a><span class="funcdecl"><a name="@GDScript_atan2">@GDScript::atan2</a></span><span class="symbol"> (</span><span> </span><a class="datatype_existing" href="real.html">real </a><span>x</span><span>, </span><a class="datatype_existing" href="real.html">real </a><span>y</span><span class="symbol"> )</span></div><div class="description"> - Arc-tangent that takes a 2D vector as argument, retuns the full -pi to +pi range. - </div></div><div class="method_doc"><div class="method"><a class="datatype_existing" href="real.html">real </a><span class="funcdecl"><a name="@GDScript_sqrt">@GDScript::sqrt</a></span><span class="symbol"> (</span><span> </span><a class="datatype_existing" href="real.html">real </a><span>s</span><span class="symbol"> )</span></div><div class="description"> - Square root. - </div></div><div class="method_doc"><div class="method"><a class="datatype_existing" href="real.html">real </a><span class="funcdecl"><a name="@GDScript_fmod">@GDScript::fmod</a></span><span class="symbol"> (</span><span> </span><a class="datatype_existing" href="real.html">real </a><span>x</span><span>, </span><a class="datatype_existing" href="real.html">real </a><span>y</span><span class="symbol"> )</span></div><div class="description"> - Module (remainder of x/y). - </div></div><div class="method_doc"><div class="method"><a class="datatype_existing" href="real.html">real </a><span class="funcdecl"><a name="@GDScript_fposmod">@GDScript::fposmod</a></span><span class="symbol"> (</span><span> </span><a class="datatype_existing" href="real.html">real </a><span>x</span><span>, </span><a class="datatype_existing" href="real.html">real </a><span>y</span><span class="symbol"> )</span></div><div class="description"> - Module (remainder of x/y) that wraps equally in positive and negative. - </div></div><div class="method_doc"><div class="method"><a class="datatype_existing" href="real.html">real </a><span class="funcdecl"><a name="@GDScript_floor">@GDScript::floor</a></span><span class="symbol"> (</span><span> </span><a class="datatype_existing" href="real.html">real </a><span>s</span><span class="symbol"> )</span></div><div class="description"> - Floor (rounds down to nearest integer). - </div></div><div class="method_doc"><div class="method"><a class="datatype_existing" href="real.html">real </a><span class="funcdecl"><a name="@GDScript_ceil">@GDScript::ceil</a></span><span class="symbol"> (</span><span> </span><a class="datatype_existing" href="real.html">real </a><span>s</span><span class="symbol"> )</span></div><div class="description"> - Ceiling (rounds up to nearest integer). - </div></div><div class="method_doc"><div class="method"><a class="datatype_existing" href="real.html">real </a><span class="funcdecl"><a name="@GDScript_round">@GDScript::round</a></span><span class="symbol"> (</span><span> </span><a class="datatype_existing" href="real.html">real </a><span>s</span><span class="symbol"> )</span></div><div class="description"> - Round to nearest integer. - </div></div><div class="method_doc"><div class="method"><a class="datatype_existing" href="real.html">real </a><span class="funcdecl"><a name="@GDScript_abs">@GDScript::abs</a></span><span class="symbol"> (</span><span> </span><a class="datatype_existing" href="real.html">real </a><span>s</span><span class="symbol"> )</span></div><div class="description"> - Remove sign (works for integer and float). - </div></div><div class="method_doc"><div class="method"><a class="datatype_existing" href="real.html">real </a><span class="funcdecl"><a name="@GDScript_sign">@GDScript::sign</a></span><span class="symbol"> (</span><span> </span><a class="datatype_existing" href="real.html">real </a><span>s</span><span class="symbol"> )</span></div><div class="description"> - Return sign (-1 or +1). - </div></div><div class="method_doc"><div class="method"><a class="datatype_existing" href="real.html">real </a><span class="funcdecl"><a name="@GDScript_pow">@GDScript::pow</a></span><span class="symbol"> (</span><span> </span><a class="datatype_existing" href="real.html">real </a><span>x</span><span>, </span><a class="datatype_existing" href="real.html">real </a><span>y</span><span class="symbol"> )</span></div><div class="description"> - Power function, x elevate to y. - </div></div><div class="method_doc"><div class="method"><a class="datatype_existing" href="real.html">real </a><span class="funcdecl"><a name="@GDScript_log">@GDScript::log</a></span><span class="symbol"> (</span><span> </span><a class="datatype_existing" href="real.html">real </a><span>s</span><span class="symbol"> )</span></div><div class="description"> - Natural logarithm. - </div></div><div class="method_doc"><div class="method"><a class="datatype_existing" href="real.html">real </a><span class="funcdecl"><a name="@GDScript_exp">@GDScript::exp</a></span><span class="symbol"> (</span><span> </span><a class="datatype_existing" href="real.html">real </a><span>s</span><span class="symbol"> )</span></div><div class="description"> - Exponential logarithm. - </div></div><div class="method_doc"><div class="method"><a class="datatype_existing" href="real.html">real </a><span class="funcdecl"><a name="@GDScript_isnan">@GDScript::isnan</a></span><span class="symbol"> (</span><span> </span><a class="datatype_existing" href="real.html">real </a><span>s</span><span class="symbol"> )</span></div><div class="description"> - Return true if the float is not a number. - </div></div><div class="method_doc"><div class="method"><a class="datatype_existing" href="real.html">real </a><span class="funcdecl"><a name="@GDScript_isinf">@GDScript::isinf</a></span><span class="symbol"> (</span><span> </span><a class="datatype_existing" href="real.html">real </a><span>s</span><span class="symbol"> )</span></div><div class="description"> - Return true if the float is infinite. - </div></div><div class="method_doc"><div class="method"><a class="datatype_existing" href="real.html">real </a><span class="funcdecl"><a name="@GDScript_ease">@GDScript::ease</a></span><span class="symbol"> (</span><span> </span><a class="datatype_existing" href="real.html">real </a><span>s</span><span>, </span><a class="datatype_existing" href="real.html">real </a><span>curve</span><span class="symbol"> )</span></div><div class="description"> - Easing function, based on exponent. 0 is constant, 1 is linear, 0 to 1 is ease-in, 1+ is ease out. Negative values are in-out/out in. - </div></div><div class="method_doc"><div class="method"><a class="datatype_existing" href="real.html">real </a><span class="funcdecl"><a name="@GDScript_decimals">@GDScript::decimals</a></span><span class="symbol"> (</span><span> </span><a class="datatype_existing" href="real.html">real </a><span>step</span><span class="symbol"> )</span></div><div class="description"> - Return the amount of decimals in the floating point value. - </div></div><div class="method_doc"><div class="method"><a class="datatype_existing" href="real.html">real </a><span class="funcdecl"><a name="@GDScript_stepify">@GDScript::stepify</a></span><span class="symbol"> (</span><span> </span><a class="datatype_existing" href="real.html">real </a><span>s</span><span>, </span><a class="datatype_existing" href="real.html">real </a><span>step</span><span class="symbol"> )</span></div><div class="description"> - Snap float value to a given step. - </div></div><div class="method_doc"><div class="method"><a class="datatype_existing" href="int.html">int </a><span class="funcdecl"><a name="@GDScript_rand">@GDScript::rand</a></span><span class="symbol"> (</span><span class="symbol">)</span></div><div class="description"> - Random value (integer). - </div></div><div class="method_doc"><div class="method"><a class="datatype_existing" href="real.html">real </a><span class="funcdecl"><a name="@GDScript_randf">@GDScript::randf</a></span><span class="symbol"> (</span><span class="symbol">)</span></div><div class="description"> - Random value (0 to 1 float). - </div></div><div class="method_doc"><div class="method"><a class="datatype_existing" href="real.html">real </a><span class="funcdecl"><a name="@GDScript_rand_range">@GDScript::rand_range</a></span><span class="symbol"> (</span><span> </span><a class="datatype_existing" href="real.html">real </a><span>from</span><span>, </span><a class="datatype_existing" href="real.html">real </a><span>to</span><span class="symbol"> )</span></div><div class="description"> - Random range. - </div></div><div class="method_doc"><div class="method"><a class="datatype_existing" href="Array.html">Array </a><span class="funcdecl"><a name="@GDScript_rand_seed">@GDScript::rand_seed</a></span><span class="symbol"> (</span><span> </span><a class="datatype_existing" href="real.html">real </a><span>seed</span><span class="symbol"> )</span></div><div class="description"> - random from seed, pass a seed and an array with both number and new seed is returned. - </div></div><div class="method_doc"><div class="method"><a class="datatype_existing" href="real.html">real </a><span class="funcdecl"><a name="@GDScript_deg2rad">@GDScript::deg2rad</a></span><span class="symbol"> (</span><span> </span><a class="datatype_existing" href="real.html">real </a><span>deg</span><span class="symbol"> )</span></div><div class="description"> - Convert from degrees to radians. - </div></div><div class="method_doc"><div class="method"><a class="datatype_existing" href="real.html">real </a><span class="funcdecl"><a name="@GDScript_rad2deg">@GDScript::rad2deg</a></span><span class="symbol"> (</span><span> </span><a class="datatype_existing" href="real.html">real </a><span>rad</span><span class="symbol"> )</span></div><div class="description"> - Convert from radias to degrees. - </div></div><div class="method_doc"><div class="method"><a class="datatype_existing" href="real.html">real </a><span class="funcdecl"><a name="@GDScript_linear2db">@GDScript::linear2db</a></span><span class="symbol"> (</span><span> </span><a class="datatype_existing" href="real.html">real </a><span>nrg</span><span class="symbol"> )</span></div><div class="description"> - Convert from linear energy to decibels (audio). - </div></div><div class="method_doc"><div class="method"><a class="datatype_existing" href="real.html">real </a><span class="funcdecl"><a name="@GDScript_db2linear">@GDScript::db2linear</a></span><span class="symbol"> (</span><span> </span><a class="datatype_existing" href="real.html">real </a><span>db</span><span class="symbol"> )</span></div><div class="description"> - Convert from decibels to linear energy (audio). - </div></div><div class="method_doc"><div class="method"><a class="datatype_existing" href="real.html">real </a><span class="funcdecl"><a name="@GDScript_max">@GDScript::max</a></span><span class="symbol"> (</span><span> </span><a class="datatype_existing" href="real.html">real </a><span>a</span><span>, </span><a class="datatype_existing" href="real.html">real </a><span>b</span><span class="symbol"> )</span></div><div class="description"> - Return the maximum of two values. - </div></div><div class="method_doc"><div class="method"><a class="datatype_existing" href="real.html">real </a><span class="funcdecl"><a name="@GDScript_min">@GDScript::min</a></span><span class="symbol"> (</span><span> </span><a class="datatype_existing" href="real.html">real </a><span>a</span><span>, </span><a class="datatype_existing" href="real.html">real </a><span>b</span><span class="symbol"> )</span></div><div class="description"> - Return the minimum of two values. - </div></div><div class="method_doc"><div class="method"><a class="datatype_existing" href="real.html">real </a><span class="funcdecl"><a name="@GDScript_clamp">@GDScript::clamp</a></span><span class="symbol"> (</span><span> </span><a class="datatype_existing" href="real.html">real </a><span>val</span><span>, </span><a class="datatype_existing" href="real.html">real </a><span>min</span><span>, </span><a class="datatype_existing" href="real.html">real </a><span>max</span><span class="symbol"> )</span></div><div class="description"> - Clamp both values to a range. - </div></div><div class="method_doc"><div class="method"><a class="datatype_existing" href="int.html">int </a><span class="funcdecl"><a name="@GDScript_nearest_po2">@GDScript::nearest_po2</a></span><span class="symbol"> (</span><span> </span><a class="datatype_existing" href="int.html">int </a><span>val</span><span class="symbol"> )</span></div><div class="description"> - Return the nearest larger power of 2 for an integer. - </div></div><div class="method_doc"><div class="method"><a class="datatype_existing" href="Object.html">Object </a><span class="funcdecl"><a name="@GDScript_weakref">@GDScript::weakref</a></span><span class="symbol"> (</span><span> </span><a class="datatype_existing" href="Object.html">Object </a><span>obj</span><span class="symbol"> )</span></div><div class="description"> - Return a weak reference to an object. - </div></div><div class="method_doc"><div class="method"><a class="datatype_existing" href="Object.html">Object </a><span class="funcdecl"><a name="@GDScript_convert">@GDScript::convert</a></span><span class="symbol"> (</span><span> </span><span class="datatype">var </span><span>what</span><span>, </span><a class="datatype_existing" href="int.html">int </a><span>type</span><span class="symbol"> )</span></div><div class="description"> - Convert from a type to another in the best way possible. The "type" parameter uses the enum TYPE_* in Global Scope. - </div></div><div class="method_doc"><div class="method"><a class="datatype_existing" href="String.html">String </a><span class="funcdecl"><a name="@GDScript_str">@GDScript::str</a></span><span class="symbol"> (</span><span> </span><span class="datatype">var </span><span>what</span><span>, </span><span class="datatype">var </span><span>...</span><span class="symbol"> )</span></div><div class="description"> - Convert one or more arguments to strings in the best way possible. - </div></div><div class="method_doc"><div class="method"><a class="datatype_existing" href="Nil.html">Nil </a><span class="funcdecl"><a name="@GDScript_print">@GDScript::print</a></span><span class="symbol"> (</span><span> </span><span class="datatype">var </span><span>what</span><span>, </span><span class="datatype">var </span><span>...</span><span class="symbol"> )</span></div><div class="description"> - Print one or more arguments to strings in the best way possible to a console line. - </div></div><div class="method_doc"><div class="method"><a class="datatype_existing" href="Nil.html">Nil </a><span class="funcdecl"><a name="@GDScript_printerr">@GDScript::printerr</a></span><span class="symbol"> (</span><span> </span><span class="datatype">var </span><span>what</span><span>, </span><span class="datatype">var </span><span>...</span><span class="symbol"> )</span></div><div class="description"> - Print one or more arguments to strings in the best way possible to standard error line. - </div></div><div class="method_doc"><div class="method"><a class="datatype_existing" href="Nil.html">Nil </a><span class="funcdecl"><a name="@GDScript_printraw">@GDScript::printraw</a></span><span class="symbol"> (</span><span> </span><span class="datatype">var </span><span>what</span><span>, </span><span class="datatype">var </span><span>...</span><span class="symbol"> )</span></div><div class="description"> - Print one or more arguments to strings in the best way possible to console. No newline is added at the end. - </div></div><div class="method_doc"><div class="method"><a class="datatype_existing" href="Array.html">Array </a><span class="funcdecl"><a name="@GDScript_range">@GDScript::range</a></span><span class="symbol"> (</span><span> </span><span class="datatype">var </span><span>...</span><span class="symbol"> )</span></div><div class="description"> - Return an array with the given range. Range can be 1 argument N (0 to N-1), two arguments (initial, final-1) or three arguments (initial,final-1,increment). - </div></div></div><hr /><span>Copyright 2008-2010 Codenix SRL</span></body></html>
\ No newline at end of file diff --git a/doc/html/@Global Scope.html b/doc/html/@Global Scope.html deleted file mode 100644 index 3324383c3d..0000000000 --- a/doc/html/@Global Scope.html +++ /dev/null @@ -1,459 +0,0 @@ -<html><link href="main.css" rel="stylesheet" type="text/css" /><body><table class="top_table"><tr><td class="top_table"><image src="images/logo.png" /></td><td class="top_table"><a href="index.html">Index</a></td><td class="top_table"><a href="alphabetical.html">Classes</a></td><td class="top_table"><a href="category.html">Categories</a></td><td><a href="inheritance.html">Inheritance</a></td></tr></table><hr /><div class="class"><a name="@Global Scope"><h3 class="title class_title">@Global Scope</h3></a><div class="description class_description"> - Global scope constants and variables. - </div><br /><div class="category"><span class="category">Category: </span><a class="category_ref" href="category.html#CATEGORY_Core">Core</a></div><h4>Public Variables:</h4><div class="member_list"><li><div class="member"><a class="datatype_existing" href="Globals.html">Globals </a><span class="identifier member_name"> Globals </span><span class="member_description"> - </span></div></li><li><div class="member"><a class="datatype_existing" href="IP.html">IP </a><span class="identifier member_name"> IP </span><span class="member_description"> - </span></div></li><li><div class="member"><a class="datatype_existing" href="Geometry.html">Geometry </a><span class="identifier member_name"> Geometry </span><span class="member_description"> - </span></div></li><li><div class="member"><a class="datatype_existing" href="ResourceLoader.html">ResourceLoader </a><span class="identifier member_name"> ResourceLoader </span><span class="member_description"> - </span></div></li><li><div class="member"><a class="datatype_existing" href="ResourceSaver.html">ResourceSaver </a><span class="identifier member_name"> ResourceSaver </span><span class="member_description"> - </span></div></li><li><div class="member"><a class="datatype_existing" href="PathRemap.html">PathRemap </a><span class="identifier member_name"> PathRemap </span><span class="member_description"> - </span></div></li><li><div class="member"><a class="datatype_existing" href="OS.html">OS </a><span class="identifier member_name"> OS </span><span class="member_description"> - </span></div></li><li><div class="member"><a class="datatype_existing" href="TranslationServer.html">TranslationServer </a><span class="identifier member_name"> TranslationServer </span><span class="member_description"> - </span></div></li><li><div class="member"><a class="datatype_existing" href="TranslationServer.html">TranslationServer </a><span class="identifier member_name"> TS </span><span class="member_description"> - </span></div></li><li><div class="member"><a class="datatype_existing" href="SceneIO.html">SceneIO </a><span class="identifier member_name"> SceneIO </span><span class="member_description"> - </span></div></li><li><div class="member"><a class="datatype_existing" href="VisualServer.html">VisualServer </a><span class="identifier member_name"> VisualServer </span><span class="member_description"> - </span></div></li><li><div class="member"><a class="datatype_existing" href="VisualServer.html">VisualServer </a><span class="identifier member_name"> VS </span><span class="member_description"> - </span></div></li><li><div class="member"><a class="datatype_existing" href="AudioServer.html">AudioServer </a><span class="identifier member_name"> AudioServer </span><span class="member_description"> - </span></div></li><li><div class="member"><a class="datatype_existing" href="AudioServer.html">AudioServer </a><span class="identifier member_name"> AS </span><span class="member_description"> - </span></div></li><li><div class="member"><a class="datatype_existing" href="PhysicsServer.html">PhysicsServer </a><span class="identifier member_name"> PhysicsServer </span><span class="member_description"> - </span></div></li><li><div class="member"><a class="datatype_existing" href="PhysicsServer.html">PhysicsServer </a><span class="identifier member_name"> PS </span><span class="member_description"> - </span></div></li><li><div class="member"><a class="datatype_existing" href="Physics2DServer.html">Physics2DServer </a><span class="identifier member_name"> Physics2DServer </span><span class="member_description"> - </span></div></li><li><div class="member"><a class="datatype_existing" href="Physics2DServer.html">Physics2DServer </a><span class="identifier member_name"> PS2D </span><span class="member_description"> - </span></div></li><li><div class="member"><a class="datatype_existing" href="SpatialSound2DServer.html">SpatialSound2DServer </a><span class="identifier member_name"> SpatialSoundServer </span><span class="member_description"> - </span></div></li><li><div class="member"><a class="datatype_existing" href="SpatialSound2DServer.html">SpatialSound2DServer </a><span class="identifier member_name"> SS </span><span class="member_description"> - </span></div></li><li><div class="member"><a class="datatype_existing" href="SpatialSound2DServer.html">SpatialSound2DServer </a><span class="identifier member_name"> SpatialSound2DServer </span><span class="member_description"> - </span></div></li><li><div class="member"><a class="datatype_existing" href="SpatialSound2DServer.html">SpatialSound2DServer </a><span class="identifier member_name"> SS2D </span><span class="member_description"> - </span></div></li></div><h4>Constants:</h4><div class="constant_list"><li><div class="constant"><span class="identifier constant_name">MARGIN_LEFT </span><span class="symbol">= </span><span class="constant_value">0 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">MARGIN_TOP </span><span class="symbol">= </span><span class="constant_value">1 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">MARGIN_RIGHT </span><span class="symbol">= </span><span class="constant_value">2 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">MARGIN_BOTTOM </span><span class="symbol">= </span><span class="constant_value">3 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">VERTICAL </span><span class="symbol">= </span><span class="constant_value">1 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">HORIZONTAL </span><span class="symbol">= </span><span class="constant_value">0 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">HALIGN_LEFT </span><span class="symbol">= </span><span class="constant_value">0 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">HALIGN_CENTER </span><span class="symbol">= </span><span class="constant_value">1 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">HALIGN_RIGHT </span><span class="symbol">= </span><span class="constant_value">2 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">VALIGN_TOP </span><span class="symbol">= </span><span class="constant_value">0 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">VALIGN_CENTER </span><span class="symbol">= </span><span class="constant_value">1 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">VALIGN_BOTTOM </span><span class="symbol">= </span><span class="constant_value">2 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">SPKEY </span><span class="symbol">= </span><span class="constant_value">16777216 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_ESCAPE </span><span class="symbol">= </span><span class="constant_value">16777217 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_TAB </span><span class="symbol">= </span><span class="constant_value">16777218 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_BACKTAB </span><span class="symbol">= </span><span class="constant_value">16777219 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_BACKSPACE </span><span class="symbol">= </span><span class="constant_value">16777220 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_RETURN </span><span class="symbol">= </span><span class="constant_value">16777221 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_ENTER </span><span class="symbol">= </span><span class="constant_value">16777222 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_INSERT </span><span class="symbol">= </span><span class="constant_value">16777223 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_DELETE </span><span class="symbol">= </span><span class="constant_value">16777224 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_PAUSE </span><span class="symbol">= </span><span class="constant_value">16777225 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_PRINT </span><span class="symbol">= </span><span class="constant_value">16777226 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_SYSREQ </span><span class="symbol">= </span><span class="constant_value">16777227 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_CLEAR </span><span class="symbol">= </span><span class="constant_value">16777228 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_HOME </span><span class="symbol">= </span><span class="constant_value">16777229 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_END </span><span class="symbol">= </span><span class="constant_value">16777230 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_LEFT </span><span class="symbol">= </span><span class="constant_value">16777231 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_UP </span><span class="symbol">= </span><span class="constant_value">16777232 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_RIGHT </span><span class="symbol">= </span><span class="constant_value">16777233 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_DOWN </span><span class="symbol">= </span><span class="constant_value">16777234 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_PAGEUP </span><span class="symbol">= </span><span class="constant_value">16777235 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_PAGEDOWN </span><span class="symbol">= </span><span class="constant_value">16777236 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_SHIFT </span><span class="symbol">= </span><span class="constant_value">16777237 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_CONTROL </span><span class="symbol">= </span><span class="constant_value">16777238 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_META </span><span class="symbol">= </span><span class="constant_value">16777239 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_ALT </span><span class="symbol">= </span><span class="constant_value">16777240 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_CAPSLOCK </span><span class="symbol">= </span><span class="constant_value">16777241 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_NUMLOCK </span><span class="symbol">= </span><span class="constant_value">16777242 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_SCROLLLOCK </span><span class="symbol">= </span><span class="constant_value">16777243 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_F1 </span><span class="symbol">= </span><span class="constant_value">16777244 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_F2 </span><span class="symbol">= </span><span class="constant_value">16777245 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_F3 </span><span class="symbol">= </span><span class="constant_value">16777246 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_F4 </span><span class="symbol">= </span><span class="constant_value">16777247 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_F5 </span><span class="symbol">= </span><span class="constant_value">16777248 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_F6 </span><span class="symbol">= </span><span class="constant_value">16777249 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_F7 </span><span class="symbol">= </span><span class="constant_value">16777250 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_F8 </span><span class="symbol">= </span><span class="constant_value">16777251 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_F9 </span><span class="symbol">= </span><span class="constant_value">16777252 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_F10 </span><span class="symbol">= </span><span class="constant_value">16777253 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_F11 </span><span class="symbol">= </span><span class="constant_value">16777254 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_F12 </span><span class="symbol">= </span><span class="constant_value">16777255 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_F13 </span><span class="symbol">= </span><span class="constant_value">16777256 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_F14 </span><span class="symbol">= </span><span class="constant_value">16777257 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_F15 </span><span class="symbol">= </span><span class="constant_value">16777258 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_F16 </span><span class="symbol">= </span><span class="constant_value">16777259 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_KP_ENTER </span><span class="symbol">= </span><span class="constant_value">16777344 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_KP_MULTIPLY </span><span class="symbol">= </span><span class="constant_value">16777345 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_KP_DIVIDE </span><span class="symbol">= </span><span class="constant_value">16777346 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_KP_SUBSTRACT </span><span class="symbol">= </span><span class="constant_value">16777347 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_KP_PERIOD </span><span class="symbol">= </span><span class="constant_value">16777348 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_KP_ADD </span><span class="symbol">= </span><span class="constant_value">16777349 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_KP_0 </span><span class="symbol">= </span><span class="constant_value">16777350 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_KP_1 </span><span class="symbol">= </span><span class="constant_value">16777351 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_KP_2 </span><span class="symbol">= </span><span class="constant_value">16777352 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_KP_3 </span><span class="symbol">= </span><span class="constant_value">16777353 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_KP_4 </span><span class="symbol">= </span><span class="constant_value">16777354 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_KP_5 </span><span class="symbol">= </span><span class="constant_value">16777355 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_KP_6 </span><span class="symbol">= </span><span class="constant_value">16777356 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_KP_7 </span><span class="symbol">= </span><span class="constant_value">16777357 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_KP_8 </span><span class="symbol">= </span><span class="constant_value">16777358 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_KP_9 </span><span class="symbol">= </span><span class="constant_value">16777359 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_SUPER_L </span><span class="symbol">= </span><span class="constant_value">16777260 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_SUPER_R </span><span class="symbol">= </span><span class="constant_value">16777261 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_MENU </span><span class="symbol">= </span><span class="constant_value">16777262 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_HYPER_L </span><span class="symbol">= </span><span class="constant_value">16777263 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_HYPER_R </span><span class="symbol">= </span><span class="constant_value">16777264 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_HELP </span><span class="symbol">= </span><span class="constant_value">16777265 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_DIRECTION_L </span><span class="symbol">= </span><span class="constant_value">16777266 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_DIRECTION_R </span><span class="symbol">= </span><span class="constant_value">16777267 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_BACK </span><span class="symbol">= </span><span class="constant_value">16777280 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_FORWARD </span><span class="symbol">= </span><span class="constant_value">16777281 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_STOP </span><span class="symbol">= </span><span class="constant_value">16777282 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_REFRESH </span><span class="symbol">= </span><span class="constant_value">16777283 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_VOLUMEDOWN </span><span class="symbol">= </span><span class="constant_value">16777284 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_VOLUMEMUTE </span><span class="symbol">= </span><span class="constant_value">16777285 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_VOLUMEUP </span><span class="symbol">= </span><span class="constant_value">16777286 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_BASSBOOST </span><span class="symbol">= </span><span class="constant_value">16777287 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_BASSUP </span><span class="symbol">= </span><span class="constant_value">16777288 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_BASSDOWN </span><span class="symbol">= </span><span class="constant_value">16777289 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_TREBLEUP </span><span class="symbol">= </span><span class="constant_value">16777290 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_TREBLEDOWN </span><span class="symbol">= </span><span class="constant_value">16777291 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_MEDIAPLAY </span><span class="symbol">= </span><span class="constant_value">16777292 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_MEDIASTOP </span><span class="symbol">= </span><span class="constant_value">16777293 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_MEDIAPREVIOUS </span><span class="symbol">= </span><span class="constant_value">16777294 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_MEDIANEXT </span><span class="symbol">= </span><span class="constant_value">16777295 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_MEDIARECORD </span><span class="symbol">= </span><span class="constant_value">16777296 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_HOMEPAGE </span><span class="symbol">= </span><span class="constant_value">16777297 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_FAVORITES </span><span class="symbol">= </span><span class="constant_value">16777298 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_SEARCH </span><span class="symbol">= </span><span class="constant_value">16777299 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_STANDBY </span><span class="symbol">= </span><span class="constant_value">16777300 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_OPENURL </span><span class="symbol">= </span><span class="constant_value">16777301 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_LAUNCHMAIL </span><span class="symbol">= </span><span class="constant_value">16777302 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_LAUNCHMEDIA </span><span class="symbol">= </span><span class="constant_value">16777303 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_LAUNCH0 </span><span class="symbol">= </span><span class="constant_value">16777304 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_LAUNCH1 </span><span class="symbol">= </span><span class="constant_value">16777305 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_LAUNCH2 </span><span class="symbol">= </span><span class="constant_value">16777306 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_LAUNCH3 </span><span class="symbol">= </span><span class="constant_value">16777307 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_LAUNCH4 </span><span class="symbol">= </span><span class="constant_value">16777308 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_LAUNCH5 </span><span class="symbol">= </span><span class="constant_value">16777309 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_LAUNCH6 </span><span class="symbol">= </span><span class="constant_value">16777310 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_LAUNCH7 </span><span class="symbol">= </span><span class="constant_value">16777311 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_LAUNCH8 </span><span class="symbol">= </span><span class="constant_value">16777312 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_LAUNCH9 </span><span class="symbol">= </span><span class="constant_value">16777313 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_LAUNCHA </span><span class="symbol">= </span><span class="constant_value">16777314 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_LAUNCHB </span><span class="symbol">= </span><span class="constant_value">16777315 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_LAUNCHC </span><span class="symbol">= </span><span class="constant_value">16777316 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_LAUNCHD </span><span class="symbol">= </span><span class="constant_value">16777317 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_LAUNCHE </span><span class="symbol">= </span><span class="constant_value">16777318 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_LAUNCHF </span><span class="symbol">= </span><span class="constant_value">16777319 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_UNKNOWN </span><span class="symbol">= </span><span class="constant_value">33554431 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_SPACE </span><span class="symbol">= </span><span class="constant_value">32 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_EXCLAM </span><span class="symbol">= </span><span class="constant_value">33 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_QUOTEDBL </span><span class="symbol">= </span><span class="constant_value">34 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_NUMBERSIGN </span><span class="symbol">= </span><span class="constant_value">35 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_DOLLAR </span><span class="symbol">= </span><span class="constant_value">36 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_PERCENT </span><span class="symbol">= </span><span class="constant_value">37 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_AMPERSAND </span><span class="symbol">= </span><span class="constant_value">38 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_APOSTROPHE </span><span class="symbol">= </span><span class="constant_value">39 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_PARENLEFT </span><span class="symbol">= </span><span class="constant_value">40 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_PARENRIGHT </span><span class="symbol">= </span><span class="constant_value">41 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_ASTERISK </span><span class="symbol">= </span><span class="constant_value">42 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_PLUS </span><span class="symbol">= </span><span class="constant_value">43 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_COMMA </span><span class="symbol">= </span><span class="constant_value">44 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_MINUS </span><span class="symbol">= </span><span class="constant_value">45 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_PERIOD </span><span class="symbol">= </span><span class="constant_value">46 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_SLASH </span><span class="symbol">= </span><span class="constant_value">47 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_0 </span><span class="symbol">= </span><span class="constant_value">48 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_1 </span><span class="symbol">= </span><span class="constant_value">49 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_2 </span><span class="symbol">= </span><span class="constant_value">50 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_3 </span><span class="symbol">= </span><span class="constant_value">51 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_4 </span><span class="symbol">= </span><span class="constant_value">52 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_5 </span><span class="symbol">= </span><span class="constant_value">53 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_6 </span><span class="symbol">= </span><span class="constant_value">54 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_7 </span><span class="symbol">= </span><span class="constant_value">55 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_8 </span><span class="symbol">= </span><span class="constant_value">56 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_9 </span><span class="symbol">= </span><span class="constant_value">57 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_COLON </span><span class="symbol">= </span><span class="constant_value">58 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_SEMICOLON </span><span class="symbol">= </span><span class="constant_value">59 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_LESS </span><span class="symbol">= </span><span class="constant_value">60 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_EQUAL </span><span class="symbol">= </span><span class="constant_value">61 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_GREATER </span><span class="symbol">= </span><span class="constant_value">62 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_QUESTION </span><span class="symbol">= </span><span class="constant_value">63 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_AT </span><span class="symbol">= </span><span class="constant_value">64 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_A </span><span class="symbol">= </span><span class="constant_value">65 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_B </span><span class="symbol">= </span><span class="constant_value">66 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_C </span><span class="symbol">= </span><span class="constant_value">67 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_D </span><span class="symbol">= </span><span class="constant_value">68 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_E </span><span class="symbol">= </span><span class="constant_value">69 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_F </span><span class="symbol">= </span><span class="constant_value">70 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_G </span><span class="symbol">= </span><span class="constant_value">71 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_H </span><span class="symbol">= </span><span class="constant_value">72 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_I </span><span class="symbol">= </span><span class="constant_value">73 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_J </span><span class="symbol">= </span><span class="constant_value">74 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_K </span><span class="symbol">= </span><span class="constant_value">75 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_L </span><span class="symbol">= </span><span class="constant_value">76 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_M </span><span class="symbol">= </span><span class="constant_value">77 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_N </span><span class="symbol">= </span><span class="constant_value">78 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_O </span><span class="symbol">= </span><span class="constant_value">79 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_P </span><span class="symbol">= </span><span class="constant_value">80 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_Q </span><span class="symbol">= </span><span class="constant_value">81 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_R </span><span class="symbol">= </span><span class="constant_value">82 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_S </span><span class="symbol">= </span><span class="constant_value">83 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_T </span><span class="symbol">= </span><span class="constant_value">84 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_U </span><span class="symbol">= </span><span class="constant_value">85 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_V </span><span class="symbol">= </span><span class="constant_value">86 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_W </span><span class="symbol">= </span><span class="constant_value">87 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_X </span><span class="symbol">= </span><span class="constant_value">88 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_Y </span><span class="symbol">= </span><span class="constant_value">89 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_Z </span><span class="symbol">= </span><span class="constant_value">90 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_BRACKETLEFT </span><span class="symbol">= </span><span class="constant_value">91 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_BACKSLASH </span><span class="symbol">= </span><span class="constant_value">92 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_BRACKETRIGHT </span><span class="symbol">= </span><span class="constant_value">93 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_ASCIICIRCUM </span><span class="symbol">= </span><span class="constant_value">94 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_UNDERSCORE </span><span class="symbol">= </span><span class="constant_value">95 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_QUOTELEFT </span><span class="symbol">= </span><span class="constant_value">96 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_BRACELEFT </span><span class="symbol">= </span><span class="constant_value">123 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_BAR </span><span class="symbol">= </span><span class="constant_value">124 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_BRACERIGHT </span><span class="symbol">= </span><span class="constant_value">125 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_ASCIITILDE </span><span class="symbol">= </span><span class="constant_value">126 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_NOBREAKSPACE </span><span class="symbol">= </span><span class="constant_value">160 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_EXCLAMDOWN </span><span class="symbol">= </span><span class="constant_value">161 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_CENT </span><span class="symbol">= </span><span class="constant_value">162 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_STERLING </span><span class="symbol">= </span><span class="constant_value">163 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_CURRENCY </span><span class="symbol">= </span><span class="constant_value">164 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_YEN </span><span class="symbol">= </span><span class="constant_value">165 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_BROKENBAR </span><span class="symbol">= </span><span class="constant_value">166 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_SECTION </span><span class="symbol">= </span><span class="constant_value">167 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_DIAERESIS </span><span class="symbol">= </span><span class="constant_value">168 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_COPYRIGHT </span><span class="symbol">= </span><span class="constant_value">169 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_ORDFEMININE </span><span class="symbol">= </span><span class="constant_value">170 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_GUILLEMOTLEFT </span><span class="symbol">= </span><span class="constant_value">171 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_NOTSIGN </span><span class="symbol">= </span><span class="constant_value">172 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_HYPHEN </span><span class="symbol">= </span><span class="constant_value">173 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_REGISTERED </span><span class="symbol">= </span><span class="constant_value">174 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_MACRON </span><span class="symbol">= </span><span class="constant_value">175 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_DEGREE </span><span class="symbol">= </span><span class="constant_value">176 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_PLUSMINUS </span><span class="symbol">= </span><span class="constant_value">177 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_TWOSUPERIOR </span><span class="symbol">= </span><span class="constant_value">178 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_THREESUPERIOR </span><span class="symbol">= </span><span class="constant_value">179 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_ACUTE </span><span class="symbol">= </span><span class="constant_value">180 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_MU </span><span class="symbol">= </span><span class="constant_value">181 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_PARAGRAPH </span><span class="symbol">= </span><span class="constant_value">182 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_PERIODCENTERED </span><span class="symbol">= </span><span class="constant_value">183 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_CEDILLA </span><span class="symbol">= </span><span class="constant_value">184 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_ONESUPERIOR </span><span class="symbol">= </span><span class="constant_value">185 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_MASCULINE </span><span class="symbol">= </span><span class="constant_value">186 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_GUILLEMOTRIGHT </span><span class="symbol">= </span><span class="constant_value">187 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_ONEQUARTER </span><span class="symbol">= </span><span class="constant_value">188 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_ONEHALF </span><span class="symbol">= </span><span class="constant_value">189 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_THREEQUARTERS </span><span class="symbol">= </span><span class="constant_value">190 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_QUESTIONDOWN </span><span class="symbol">= </span><span class="constant_value">191 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_AGRAVE </span><span class="symbol">= </span><span class="constant_value">192 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_AACUTE </span><span class="symbol">= </span><span class="constant_value">193 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_ACIRCUMFLEX </span><span class="symbol">= </span><span class="constant_value">194 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_ATILDE </span><span class="symbol">= </span><span class="constant_value">195 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_ADIAERESIS </span><span class="symbol">= </span><span class="constant_value">196 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_ARING </span><span class="symbol">= </span><span class="constant_value">197 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_AE </span><span class="symbol">= </span><span class="constant_value">198 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_CCEDILLA </span><span class="symbol">= </span><span class="constant_value">199 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_EGRAVE </span><span class="symbol">= </span><span class="constant_value">200 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_EACUTE </span><span class="symbol">= </span><span class="constant_value">201 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_ECIRCUMFLEX </span><span class="symbol">= </span><span class="constant_value">202 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_EDIAERESIS </span><span class="symbol">= </span><span class="constant_value">203 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_IGRAVE </span><span class="symbol">= </span><span class="constant_value">204 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_IACUTE </span><span class="symbol">= </span><span class="constant_value">205 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_ICIRCUMFLEX </span><span class="symbol">= </span><span class="constant_value">206 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_IDIAERESIS </span><span class="symbol">= </span><span class="constant_value">207 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_ETH </span><span class="symbol">= </span><span class="constant_value">208 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_NTILDE </span><span class="symbol">= </span><span class="constant_value">209 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_OGRAVE </span><span class="symbol">= </span><span class="constant_value">210 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_OACUTE </span><span class="symbol">= </span><span class="constant_value">211 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_OCIRCUMFLEX </span><span class="symbol">= </span><span class="constant_value">212 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_OTILDE </span><span class="symbol">= </span><span class="constant_value">213 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_ODIAERESIS </span><span class="symbol">= </span><span class="constant_value">214 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_MULTIPLY </span><span class="symbol">= </span><span class="constant_value">215 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_OOBLIQUE </span><span class="symbol">= </span><span class="constant_value">216 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_UGRAVE </span><span class="symbol">= </span><span class="constant_value">217 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_UACUTE </span><span class="symbol">= </span><span class="constant_value">218 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_UCIRCUMFLEX </span><span class="symbol">= </span><span class="constant_value">219 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_UDIAERESIS </span><span class="symbol">= </span><span class="constant_value">220 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_YACUTE </span><span class="symbol">= </span><span class="constant_value">221 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_THORN </span><span class="symbol">= </span><span class="constant_value">222 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_SSHARP </span><span class="symbol">= </span><span class="constant_value">223 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_DIVISION </span><span class="symbol">= </span><span class="constant_value">247 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_YDIAERESIS </span><span class="symbol">= </span><span class="constant_value">255 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_CODE_MASK </span><span class="symbol">= </span><span class="constant_value">33554431 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_MODIFIER_MASK </span><span class="symbol">= </span><span class="constant_value">-16777216 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_MASK_SHIFT </span><span class="symbol">= </span><span class="constant_value">33554432 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_MASK_ALT </span><span class="symbol">= </span><span class="constant_value">67108864 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_MASK_META </span><span class="symbol">= </span><span class="constant_value">134217728 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_MASK_CTRL </span><span class="symbol">= </span><span class="constant_value">268435456 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_MASK_KPAD </span><span class="symbol">= </span><span class="constant_value">536870912 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">KEY_MASK_GROUP_SWITCH </span><span class="symbol">= </span><span class="constant_value">1073741824 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">BUTTON_LEFT </span><span class="symbol">= </span><span class="constant_value">1 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">BUTTON_RIGHT </span><span class="symbol">= </span><span class="constant_value">2 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">BUTTON_MIDDLE </span><span class="symbol">= </span><span class="constant_value">3 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">BUTTON_WHEEL_UP </span><span class="symbol">= </span><span class="constant_value">4 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">BUTTON_WHEEL_DOWN </span><span class="symbol">= </span><span class="constant_value">5 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">BUTTON_MASK_LEFT </span><span class="symbol">= </span><span class="constant_value">1 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">BUTTON_MASK_RIGHT </span><span class="symbol">= </span><span class="constant_value">2 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">BUTTON_MASK_MIDDLE </span><span class="symbol">= </span><span class="constant_value">4 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">JOY_BUTTON_0 </span><span class="symbol">= </span><span class="constant_value">0 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">JOY_BUTTON_1 </span><span class="symbol">= </span><span class="constant_value">1 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">JOY_BUTTON_2 </span><span class="symbol">= </span><span class="constant_value">2 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">JOY_BUTTON_3 </span><span class="symbol">= </span><span class="constant_value">3 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">JOY_BUTTON_4 </span><span class="symbol">= </span><span class="constant_value">4 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">JOY_BUTTON_5 </span><span class="symbol">= </span><span class="constant_value">5 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">JOY_BUTTON_6 </span><span class="symbol">= </span><span class="constant_value">6 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">JOY_BUTTON_7 </span><span class="symbol">= </span><span class="constant_value">7 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">JOY_BUTTON_8 </span><span class="symbol">= </span><span class="constant_value">8 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">JOY_BUTTON_9 </span><span class="symbol">= </span><span class="constant_value">9 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">JOY_BUTTON_10 </span><span class="symbol">= </span><span class="constant_value">10 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">JOY_BUTTON_11 </span><span class="symbol">= </span><span class="constant_value">11 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">JOY_BUTTON_12 </span><span class="symbol">= </span><span class="constant_value">12 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">JOY_BUTTON_13 </span><span class="symbol">= </span><span class="constant_value">13 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">JOY_BUTTON_14 </span><span class="symbol">= </span><span class="constant_value">14 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">JOY_BUTTON_15 </span><span class="symbol">= </span><span class="constant_value">15 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">JOY_BUTTON_MAX </span><span class="symbol">= </span><span class="constant_value">16 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">JOY_SNES_A </span><span class="symbol">= </span><span class="constant_value">1 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">JOY_SNES_B </span><span class="symbol">= </span><span class="constant_value">0 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">JOY_SNES_X </span><span class="symbol">= </span><span class="constant_value">3 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">JOY_SNES_Y </span><span class="symbol">= </span><span class="constant_value">2 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">JOY_SONY_CIRCLE </span><span class="symbol">= </span><span class="constant_value">1 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">JOY_SONY_X </span><span class="symbol">= </span><span class="constant_value">0 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">JOY_SONY_SQUARE </span><span class="symbol">= </span><span class="constant_value">2 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">JOY_SONY_TRIANGLE </span><span class="symbol">= </span><span class="constant_value">3 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">JOY_SEGA_B </span><span class="symbol">= </span><span class="constant_value">1 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">JOY_SEGA_A </span><span class="symbol">= </span><span class="constant_value">0 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">JOY_SEGA_X </span><span class="symbol">= </span><span class="constant_value">2 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">JOY_SEGA_Y </span><span class="symbol">= </span><span class="constant_value">3 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">JOY_XBOX_B </span><span class="symbol">= </span><span class="constant_value">1 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">JOY_XBOX_A </span><span class="symbol">= </span><span class="constant_value">0 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">JOY_XBOX_X </span><span class="symbol">= </span><span class="constant_value">2 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">JOY_XBOX_Y </span><span class="symbol">= </span><span class="constant_value">3 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">JOY_DS_A </span><span class="symbol">= </span><span class="constant_value">1 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">JOY_DS_B </span><span class="symbol">= </span><span class="constant_value">0 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">JOY_DS_X </span><span class="symbol">= </span><span class="constant_value">3 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">JOY_DS_Y </span><span class="symbol">= </span><span class="constant_value">2 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">JOY_SELECT </span><span class="symbol">= </span><span class="constant_value">10 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">JOY_START </span><span class="symbol">= </span><span class="constant_value">11 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">JOY_DPAD_UP </span><span class="symbol">= </span><span class="constant_value">12 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">JOY_DPAD_DOWN </span><span class="symbol">= </span><span class="constant_value">13 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">JOY_DPAD_LEFT </span><span class="symbol">= </span><span class="constant_value">14 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">JOY_DPAD_RIGHT </span><span class="symbol">= </span><span class="constant_value">15 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">JOY_L </span><span class="symbol">= </span><span class="constant_value">4 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">JOY_L2 </span><span class="symbol">= </span><span class="constant_value">6 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">JOY_L3 </span><span class="symbol">= </span><span class="constant_value">8 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">JOY_R </span><span class="symbol">= </span><span class="constant_value">5 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">JOY_R2 </span><span class="symbol">= </span><span class="constant_value">7 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">JOY_R3 </span><span class="symbol">= </span><span class="constant_value">9 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">JOY_AXIS_0 </span><span class="symbol">= </span><span class="constant_value">0 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">JOY_AXIS_1 </span><span class="symbol">= </span><span class="constant_value">1 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">JOY_AXIS_2 </span><span class="symbol">= </span><span class="constant_value">2 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">JOY_AXIS_3 </span><span class="symbol">= </span><span class="constant_value">3 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">JOY_AXIS_4 </span><span class="symbol">= </span><span class="constant_value">4 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">JOY_AXIS_5 </span><span class="symbol">= </span><span class="constant_value">5 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">JOY_AXIS_6 </span><span class="symbol">= </span><span class="constant_value">6 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">JOY_AXIS_7 </span><span class="symbol">= </span><span class="constant_value">7 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">JOY_AXIS_MAX </span><span class="symbol">= </span><span class="constant_value">8 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">JOY_ANALOG_0_X </span><span class="symbol">= </span><span class="constant_value">0 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">JOY_ANALOG_0_Y </span><span class="symbol">= </span><span class="constant_value">1 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">JOY_ANALOG_1_X </span><span class="symbol">= </span><span class="constant_value">2 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">JOY_ANALOG_1_Y </span><span class="symbol">= </span><span class="constant_value">3 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">JOY_ANALOG_2_X </span><span class="symbol">= </span><span class="constant_value">4 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">JOY_ANALOG_2_Y </span><span class="symbol">= </span><span class="constant_value">5 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">OK </span><span class="symbol">= </span><span class="constant_value">0 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">FAILED </span><span class="symbol">= </span><span class="constant_value">1 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">ERR_UNAVAILABLE </span><span class="symbol">= </span><span class="constant_value">2 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">ERR_UNCONFIGURED </span><span class="symbol">= </span><span class="constant_value">3 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">ERR_UNAUTHORIZED </span><span class="symbol">= </span><span class="constant_value">4 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">ERR_PARAMETER_RANGE_ERROR </span><span class="symbol">= </span><span class="constant_value">5 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">ERR_OUT_OF_MEMORY </span><span class="symbol">= </span><span class="constant_value">6 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">ERR_FILE_NOT_FOUND </span><span class="symbol">= </span><span class="constant_value">7 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">ERR_FILE_BAD_DRIVE </span><span class="symbol">= </span><span class="constant_value">8 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">ERR_FILE_BAD_PATH </span><span class="symbol">= </span><span class="constant_value">9 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">ERR_FILE_NO_PERMISSION </span><span class="symbol">= </span><span class="constant_value">10 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">ERR_FILE_ALREADY_IN_USE </span><span class="symbol">= </span><span class="constant_value">11 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">ERR_FILE_CANT_OPEN </span><span class="symbol">= </span><span class="constant_value">12 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">ERR_FILE_CANT_WRITE </span><span class="symbol">= </span><span class="constant_value">13 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">ERR_FILE_CANT_READ </span><span class="symbol">= </span><span class="constant_value">14 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">ERR_FILE_UNRECOGNIZED </span><span class="symbol">= </span><span class="constant_value">15 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">ERR_FILE_CORRUPT </span><span class="symbol">= </span><span class="constant_value">16 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">ERR_FILE_EOF </span><span class="symbol">= </span><span class="constant_value">17 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">ERR_CANT_OPEN </span><span class="symbol">= </span><span class="constant_value">18 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">ERR_CANT_CREATE </span><span class="symbol">= </span><span class="constant_value">19 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">ERROR_QUERY_FAILED </span><span class="symbol">= </span><span class="constant_value">20 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">ERR_ALREADY_IN_USE </span><span class="symbol">= </span><span class="constant_value">21 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">ERR_LOCKED </span><span class="symbol">= </span><span class="constant_value">22 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">ERR_TIMEOUT </span><span class="symbol">= </span><span class="constant_value">23 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">ERR_CANT_AQUIRE_RESOURCE </span><span class="symbol">= </span><span class="constant_value">24 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">ERR_INVALID_DATA </span><span class="symbol">= </span><span class="constant_value">26 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">ERR_INVALID_PARAMETER </span><span class="symbol">= </span><span class="constant_value">27 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">ERR_ALREADY_EXISTS </span><span class="symbol">= </span><span class="constant_value">28 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">ERR_DOES_NOT_EXIST </span><span class="symbol">= </span><span class="constant_value">29 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">ERR_DATABASE_CANT_READ </span><span class="symbol">= </span><span class="constant_value">30 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">ERR_DATABASE_CANT_WRITE </span><span class="symbol">= </span><span class="constant_value">31 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">ERR_COMPILATION_FAILED </span><span class="symbol">= </span><span class="constant_value">32 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">ERR_METHOD_NOT_FOUND </span><span class="symbol">= </span><span class="constant_value">33 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">ERR_LINK_FAILED </span><span class="symbol">= </span><span class="constant_value">34 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">ERR_SCRIPT_FAILED </span><span class="symbol">= </span><span class="constant_value">35 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">ERR_CYCLIC_LINK </span><span class="symbol">= </span><span class="constant_value">36 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">ERR_BUSY </span><span class="symbol">= </span><span class="constant_value">40 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">ERR_HELP </span><span class="symbol">= </span><span class="constant_value">42 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">ERR_BUG </span><span class="symbol">= </span><span class="constant_value">43 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">ERR_WTF </span><span class="symbol">= </span><span class="constant_value">45 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">PROPERTY_HINT_NONE </span><span class="symbol">= </span><span class="constant_value">0 </span><span class="constant_description"> - No hint for edited property. - </span></div></li><li><div class="constant"><span class="identifier constant_name">PROPERTY_HINT_RANGE </span><span class="symbol">= </span><span class="constant_value">1 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">PROPERTY_HINT_EXP_RANGE </span><span class="symbol">= </span><span class="constant_value">2 </span><span class="constant_description"> - Hint string is an exponential range, defined as "min,max" or "min,max,step". This is valid for integers and floats. - </span></div></li><li><div class="constant"><span class="identifier constant_name">PROPERTY_HINT_ENUM </span><span class="symbol">= </span><span class="constant_value">3 </span><span class="constant_description"> - Property hint is an enumerated value, like "Hello,Something,Else". This is valid for integers, floats and strings properties. - </span></div></li><li><div class="constant"><span class="identifier constant_name">PROPERTY_HINT_LENGTH </span><span class="symbol">= </span><span class="constant_value">5 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">PROPERTY_HINT_FLAGS </span><span class="symbol">= </span><span class="constant_value">7 </span><span class="constant_description"> - Property hint is a bitmask description, for bits 0,1,2,3 abd 5 the hint would be like "Bit0,Bit1,Bit2,Bit3,,Bit5". Valid only for integers. - </span></div></li><li><div class="constant"><span class="identifier constant_name">PROPERTY_HINT_FILE </span><span class="symbol">= </span><span class="constant_value">8 </span><span class="constant_description"> - String property is a file (so pop up a file dialog when edited). Hint string can be a set of wildcards like "*.doc". - </span></div></li><li><div class="constant"><span class="identifier constant_name">PROPERTY_HINT_DIR </span><span class="symbol">= </span><span class="constant_value">9 </span><span class="constant_description"> - String property is a directory (so pop up a file dialog when edited). - </span></div></li><li><div class="constant"><span class="identifier constant_name">PROPERTY_HINT_RESOURCE_TYPE </span><span class="symbol">= </span><span class="constant_value">10 </span><span class="constant_description"> - String property is a resource, so open the resource popup menu when edited. - </span></div></li><li><div class="constant"><span class="identifier constant_name">PROPERTY_USAGE_STORAGE </span><span class="symbol">= </span><span class="constant_value">1 </span><span class="constant_description"> - Property will be used as storage (default). - </span></div></li><li><div class="constant"><span class="identifier constant_name">PROPERTY_USAGE_STORAGE </span><span class="symbol">= </span><span class="constant_value">1 </span><span class="constant_description"> - Property will be used as storage (default). - </span></div></li><li><div class="constant"><span class="identifier constant_name">PROPERTY_USAGE_EDITOR </span><span class="symbol">= </span><span class="constant_value">2 </span><span class="constant_description"> - Property will be visible in editor (default). - </span></div></li><li><div class="constant"><span class="identifier constant_name">PROPERTY_USAGE_NETWORK </span><span class="symbol">= </span><span class="constant_value">4 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">PROPERTY_USAGE_DEFAULT </span><span class="symbol">= </span><span class="constant_value">7 </span><span class="constant_description"> - Default usage (storage and editor). - </span></div></li><li><div class="constant"><span class="identifier constant_name">TYPE_NIL </span><span class="symbol">= </span><span class="constant_value">0 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">TYPE_BOOL </span><span class="symbol">= </span><span class="constant_value">1 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">TYPE_INT </span><span class="symbol">= </span><span class="constant_value">2 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">TYPE_REAL </span><span class="symbol">= </span><span class="constant_value">3 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">TYPE_STRING </span><span class="symbol">= </span><span class="constant_value">4 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">TYPE_VECTOR2 </span><span class="symbol">= </span><span class="constant_value">5 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">TYPE_RECT2 </span><span class="symbol">= </span><span class="constant_value">6 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">TYPE_VECTOR3 </span><span class="symbol">= </span><span class="constant_value">7 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">TYPE_MATRIX32 </span><span class="symbol">= </span><span class="constant_value">8 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">TYPE_PLANE </span><span class="symbol">= </span><span class="constant_value">9 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">TYPE_QUAT </span><span class="symbol">= </span><span class="constant_value">10 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">TYPE_AABB </span><span class="symbol">= </span><span class="constant_value">11 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">TYPE_MATRIX3 </span><span class="symbol">= </span><span class="constant_value">12 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">TYPE_TRANSFORM </span><span class="symbol">= </span><span class="constant_value">13 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">TYPE_COLOR </span><span class="symbol">= </span><span class="constant_value">14 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">TYPE_IMAGE </span><span class="symbol">= </span><span class="constant_value">15 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">TYPE_NODE_PATH </span><span class="symbol">= </span><span class="constant_value">16 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">TYPE_RID </span><span class="symbol">= </span><span class="constant_value">17 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">TYPE_OBJECT </span><span class="symbol">= </span><span class="constant_value">18 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">TYPE_INPUT_EVENT </span><span class="symbol">= </span><span class="constant_value">19 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">TYPE_DICTIONARY </span><span class="symbol">= </span><span class="constant_value">20 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">TYPE_ARRAY </span><span class="symbol">= </span><span class="constant_value">21 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">TYPE_RAW_ARRAY </span><span class="symbol">= </span><span class="constant_value">22 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">TYPE_INT_ARRAY </span><span class="symbol">= </span><span class="constant_value">23 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">TYPE_REAL_ARRAY </span><span class="symbol">= </span><span class="constant_value">24 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">TYPE_STRING_ARRAY </span><span class="symbol">= </span><span class="constant_value">25 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">TYPE_VECTOR2_ARRAY </span><span class="symbol">= </span><span class="constant_value">26 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">TYPE_VECTOR3_ARRAY </span><span class="symbol">= </span><span class="constant_value">27 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">TYPE_COLOR_ARRAY </span><span class="symbol">= </span><span class="constant_value">28 </span><span class="constant_description"> - </span></div></li><li><div class="constant"><span class="identifier constant_name">TYPE_MAX </span><span class="symbol">= </span><span class="constant_value">29 </span><span class="constant_description"> - </span></div></li></div><h4>Description:</h4><div class="description"> - Global scope constants and variables. This is all that resides in the globals, constants regarding error codes, scancodes, property hints, etc. It's not much. - Singletons are also documented here, since they can be accessed from anywhere. - </div><h4>Method Documentation:</h4></div><hr /><span>Copyright 2008-2010 Codenix SRL</span></body></html>
\ No newline at end of file diff --git a/doc/html/@Squirrel.html b/doc/html/@Squirrel.html deleted file mode 100644 index ad4aaa49d8..0000000000 --- a/doc/html/@Squirrel.html +++ /dev/null @@ -1,2 +0,0 @@ -<html><link href="main.css" rel="stylesheet" type="text/css" /><body><table class="top_table"><tr><td class="top_table"><image src="images/logo.png" /></td><td class="top_table"><a href="index.html">Index</a></td><td class="top_table"><a href="alphabetical.html">Classes</a></td><td class="top_table"><a href="category.html">Categories</a></td><td><a href="inheritance.html">Inheritance</a></td></tr></table><hr /><div class="class"><a name="@Squirrel"><h3 class="title class_title">@Squirrel</h3></a><div class="description class_description"> - </div><br /><div class="category"><span class="category">Category: </span><a class="category_ref" href="category.html#CATEGORY_Core">Core</a></div><h4>Method Documentation:</h4></div><hr /><span>Copyright 2008-2010 Codenix SRL</span></body></html>
\ No newline at end of file diff --git a/doc/html/main.css b/doc/html/main.css deleted file mode 100644 index a76e6bbed8..0000000000 --- a/doc/html/main.css +++ /dev/null @@ -1,146 +0,0 @@ -BODY,H1,H2,H3,H4,H5,H6,P,CENTER,TD,TH,UL,DL,DIV, SPAN { - font-family: Arial, Geneva, Helvetica, sans-serif; -} - -a { - - text-decoration: none; - -} - -a:hover { - - text-decoration: underline; -} - -td.top_table { - - padding: 5px; -} - -div.method_doc { - - padding-bottom: 30px; -} - -div.method_description { - margin-left: 30px; -} - -list.inh_class_list { - margin-left: 30px; - -} - -div.inh_class_list { - margin-left: 30px; - -} - -div.method_doc div.method { - - font-size: 12pt; - font-weight: bold; -} - -span.funcdecl { - - color: #202060; -} - -span.funcdef { - - color: #202060; -} - - -span.qualifier { - - font-weight: bold; -} - - -span.symbol { - - /*font-weight: bold;*/ - color: #471870; -} - - -span.datatype { - - color: #6a1533; -} - -tr.category_title { - - background-color: #333333; -} -a.category_title { - font-weight: bold; - color: #FFFFFF; -} - -div.method_list { - - margin-left: 30px; -} - -div.constant_list { - - margin-left: 30px; -} - -div.member_list { - - margin-left: 30px; -} - -div.description { - - margin-left: 30px; -} - -div.class_description { - - margin-left: 30px; -} - -div.method_list li div { - - display: inline; -} - -div.member_list li div.member { - - display: inline; -} - -div.constant_list li div.constant { - - display: inline; -} - -span.member_description { - - font-style: italic; - color: grey; -} - -span.constant_description { - - font-style: italic; - color: grey; -} - -span.identifier { - - font-weight: bold; -} - - -table.class_table td { - - vertical-align: top; -} - diff --git a/doc/html/tutorial01/0_home_red_coding_godot_doc_math_position.png b/doc/html/tutorial01/0_home_red_coding_godot_doc_math_position.png Binary files differdeleted file mode 100644 index df52c05462..0000000000 --- a/doc/html/tutorial01/0_home_red_coding_godot_doc_math_position.png +++ /dev/null diff --git a/doc/html/tutorial01/1_home_red_coding_godot_doc_math_direction.png b/doc/html/tutorial01/1_home_red_coding_godot_doc_math_direction.png Binary files differdeleted file mode 100644 index 5b58274bcb..0000000000 --- a/doc/html/tutorial01/1_home_red_coding_godot_doc_math_direction.png +++ /dev/null diff --git a/doc/html/tutorial01/2_home_red_coding_godot_doc_math_normals.png b/doc/html/tutorial01/2_home_red_coding_godot_doc_math_normals.png Binary files differdeleted file mode 100644 index 73681a58ce..0000000000 --- a/doc/html/tutorial01/2_home_red_coding_godot_doc_math_normals.png +++ /dev/null diff --git a/doc/html/tutorial01/tutorial.css b/doc/html/tutorial01/tutorial.css deleted file mode 100644 index a518c6dff7..0000000000 --- a/doc/html/tutorial01/tutorial.css +++ /dev/null @@ -1,128 +0,0 @@ - -/* start css.sty */ -.cmr-7{font-size:70%;} -.cmmi-7{font-size:70%;font-style: italic;} -.cmmi-10{font-style: italic;} -.ectt-1000{ font-family: monospace;} -.ectt-1000{ font-family: monospace;} -.ectt-1000{ font-family: monospace;} -.ectt-1000{ font-family: monospace;} -.ectt-1000{ font-family: monospace;} -.ecti-1000{ font-style: italic;} -.ecti-1000{ font-style: italic;} -.ecti-1000{ font-style: italic;} -.ecti-1000{ font-style: italic;} -.ecti-1000{ font-style: italic;} -.ecti-0700{font-size:70%; font-style: italic;} -.ecti-0700{ font-style: italic;} -.ecti-0700{ font-style: italic;} -.ecti-0700{ font-style: italic;} -.ecti-0700{ font-style: italic;} -.ecrm-0700{font-size:70%;} -p.noindent { text-indent: 0em } -td p.noindent { text-indent: 0em; margin-top:0em; } -p.nopar { text-indent: 0em; } -p.indent{ text-indent: 1.5em } -@media print {div.crosslinks {visibility:hidden;}} -a img { border-top: 0; border-left: 0; border-right: 0; } -center { margin-top:1em; margin-bottom:1em; } -td center { margin-top:0em; margin-bottom:0em; } -.Canvas { position:relative; } -img.math{vertical-align:middle;} -li p.indent { text-indent: 0em } -.enumerate1 {list-style-type:decimal;} -.enumerate2 {list-style-type:lower-alpha;} -.enumerate3 {list-style-type:lower-roman;} -.enumerate4 {list-style-type:upper-alpha;} -div.newtheorem { margin-bottom: 2em; margin-top: 2em;} -.obeylines-h,.obeylines-v {white-space: nowrap; } -div.obeylines-v p { margin-top:0; margin-bottom:0; } -.overline{ text-decoration:overline; } -.overline img{ border-top: 1px solid black; } -td.displaylines {text-align:center; white-space:nowrap;} -.centerline {text-align:center;} -.rightline {text-align:right;} -div.verbatim {font-family: monospace; white-space: nowrap; text-align:left; clear:both; } -.fbox {padding-left:3.0pt; padding-right:3.0pt; text-indent:0pt; border:solid black 0.4pt; } -div.fbox {display:table} -div.center div.fbox {text-align:center; clear:both; padding-left:3.0pt; padding-right:3.0pt; text-indent:0pt; border:solid black 0.4pt; } -table.minipage{width:100%;} -div.center, div.center div.center {text-align: center; margin-left:1em; margin-right:1em;} -div.center div {text-align: left;} -div.flushright, div.flushright div.flushright {text-align: right;} -div.flushright div {text-align: left;} -div.flushleft {text-align: left;} -.underline{ text-decoration:underline; } -.underline img{ border-bottom: 1px solid black; margin-bottom:1pt; } -.framebox-c, .framebox-l, .framebox-r { padding-left:3.0pt; padding-right:3.0pt; text-indent:0pt; border:solid black 0.4pt; } -.framebox-c {text-align:center;} -.framebox-l {text-align:left;} -.framebox-r {text-align:right;} -span.thank-mark{ vertical-align: super } -span.footnote-mark sup.textsuperscript, span.footnote-mark a sup.textsuperscript{ font-size:80%; } -div.tabular, div.center div.tabular {text-align: center; margin-top:0.5em; margin-bottom:0.5em; } -table.tabular td p{margin-top:0em;} -table.tabular {margin-left: auto; margin-right: auto;} -div.td00{ margin-left:0pt; margin-right:0pt; } -div.td01{ margin-left:0pt; margin-right:5pt; } -div.td10{ margin-left:5pt; margin-right:0pt; } -div.td11{ margin-left:5pt; margin-right:5pt; } -table[rules] {border-left:solid black 0.4pt; border-right:solid black 0.4pt; } -td.td00{ padding-left:0pt; padding-right:0pt; } -td.td01{ padding-left:0pt; padding-right:5pt; } -td.td10{ padding-left:5pt; padding-right:0pt; } -td.td11{ padding-left:5pt; padding-right:5pt; } -table[rules] {border-left:solid black 0.4pt; border-right:solid black 0.4pt; } -.hline hr, .cline hr{ height : 1px; margin:0px; } -.tabbing-right {text-align:right;} -span.TEX {letter-spacing: -0.125em; } -span.TEX span.E{ position:relative;top:0.5ex;left:-0.0417em;} -a span.TEX span.E {text-decoration: none; } -span.LATEX span.A{ position:relative; top:-0.5ex; left:-0.4em; font-size:85%;} -span.LATEX span.TEX{ position:relative; left: -0.4em; } -div.float img, div.float .caption {text-align:center;} -div.figure img, div.figure .caption {text-align:center;} -.marginpar {width:20%; float:right; text-align:left; margin-left:auto; margin-top:0.5em; font-size:85%; text-decoration:underline;} -.marginpar p{margin-top:0.4em; margin-bottom:0.4em;} -table.equation {width:100%;} -.equation td{text-align:center; } -td.equation { margin-top:1em; margin-bottom:1em; } -td.equation-label { width:5%; text-align:center; } -td.eqnarray4 { width:5%; white-space: normal; } -td.eqnarray2 { width:5%; } -table.eqnarray-star, table.eqnarray {width:100%;} -div.eqnarray{text-align:center;} -div.array {text-align:center;} -div.pmatrix {text-align:center;} -table.pmatrix {width:100%;} -span.pmatrix img{vertical-align:middle;} -div.pmatrix {text-align:center;} -table.pmatrix {width:100%;} -img.cdots{vertical-align:middle;} -.partToc a, .partToc, .likepartToc a, .likepartToc {line-height: 200%; font-weight:bold; font-size:110%;} -.index-item, .index-subitem, .index-subsubitem {display:block} -.caption td.id{font-weight: bold; white-space: nowrap; } -table.caption {text-align:center;} -h1.partHead{text-align: center} -p.bibitem { text-indent: -2em; margin-left: 2em; margin-top:0.6em; margin-bottom:0.6em; } -p.bibitem-p { text-indent: 0em; margin-left: 2em; margin-top:0.6em; margin-bottom:0.6em; } -.paragraphHead, .likeparagraphHead { margin-top:2em; font-weight: bold;} -.subparagraphHead, .likesubparagraphHead { font-weight: bold;} -.quote {margin-bottom:0.25em; margin-top:0.25em; margin-left:1em; margin-right:1em; text-align:justify;} -.verse{white-space:nowrap; margin-left:2em} -div.maketitle {text-align:center;} -h2.titleHead{text-align:center;} -div.maketitle{ margin-bottom: 2em; } -div.author, div.date {text-align:center;} -div.thanks{text-align:left; margin-left:10%; font-size:85%; font-style:italic; } -div.author{white-space: nowrap;} -.quotation {margin-bottom:0.25em; margin-top:0.25em; margin-left:1em; } -.abstract p {margin-left:5%; margin-right:5%;} -table.abstract {width:100%;} -.lstlisting .label{margin-right:0.5em; } -div.lstlisting{font-family: monospace; white-space: nowrap; margin-top:0.5em; margin-bottom:0.5em; } -div.lstinputlisting{ font-family: monospace; white-space: nowrap; } -.lstinputlisting .label{margin-right:0.5em;} -.figure img.graphics {margin-left:10%;} -/* end css.sty */ - diff --git a/doc/html/tutorial01/tutorial.html b/doc/html/tutorial01/tutorial.html deleted file mode 100644 index 45c0258709..0000000000 --- a/doc/html/tutorial01/tutorial.html +++ /dev/null @@ -1,902 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" - "http://www.w3.org/TR/html4/loose.dtd"> -<html > -<head><title></title> -<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> -<meta name="generator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)"> -<meta name="originator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)"> -<!-- html --> -<meta name="src" content="tutorial.tex"> -<meta name="date" content="2009-10-07 00:28:00"> -<link rel="stylesheet" type="text/css" href="tutorial.css"> -</head><body -> - <h3 class="sectionHead"><span class="titlemark">1 </span> <a - id="x1-10001"></a>Introduction to 3D Math</h3> -<!--l. 27--><p class="noindent" > - <h4 class="subsectionHead"><span class="titlemark">1.1 </span> <a - id="x1-20001.1"></a>Introduction</h4> -<!--l. 29--><p class="noindent" >There are many approaches to understanding the type of 3D math used in video -games, modelling, ray-tracing, etc. The usual is through vector algebra, matrices, and -linear transformations and, while they are not completely necesary to understand -most of the aspects of 3D game programming (from the theorical point of view), they -provide a common language to communicate with other programmers or -engineers. -<!--l. 36--><p class="indent" > This tutorial will focus on explaining all the basic concepts needed for a -programmer to understand how to develop 3D games without getting too deep into -algebra. Instead of a math-oriented language, code examples will be given instead -when possible. The reason for this is that. while programmers may have -different backgrounds or experience (be it scientific, engineering or self taught), -code is the most familiar language and the lowest common denominator for -understanding. -<!--l. 45--><p class="noindent" > - <h4 class="subsectionHead"><span class="titlemark">1.2 </span> <a - id="x1-30001.2"></a>Vectors</h4> -<!--l. 48--><p class="noindent" > - <h5 class="subsubsectionHead"><span class="titlemark">1.2.1 </span> <a - id="x1-40001.2.1"></a>Brief Introduction</h5> -<!--l. 50--><p class="noindent" >When writing 2D games, interfaces and other applications, the typical convention is -to define coordinates as an <span -class="ecti-1000">x,y </span>pair, <span -class="ecti-1000">x </span>representing the horizontal offset and <span -class="ecti-1000">y </span>the -vertical one. In most cases, the unit for both is <span -class="ecti-1000">pixels</span>. This makes sense given the -screen is just a rectangle in two dimensions. -<!--l. 56--><p class="indent" > An <span -class="ecti-1000">x,y </span>pair can be used for two purposes. It can be an absolute position (screen -cordinate in the previous case), or a relative direction, if we trace an arrow from the -origin (0,0 coordinates) to it’s position. -<div class="center" -> -<!--l. 60--><p class="noindent" > - -<div class="tabular"> - <table id="TBL-1" class="tabular" -cellspacing="0" cellpadding="0" -><colgroup id="TBL-1-1g"><col -id="TBL-1-1"><col -id="TBL-1-2"><col -id="TBL-1-3"></colgroup><tr - style="vertical-align:baseline;" id="TBL-1-1-"><td style="white-space:nowrap; text-align:center;" id="TBL-1-1-1" -class="td11"><img -src="tutorial0x.png" alt="PIC" class="graphics" width="100.375pt" height="100.375pt" ><!--tex4ht:graphics -name="tutorial0x.png" src="0_home_red_coding_godot_doc_math_position.eps" ---></td><td style="white-space:nowrap; text-align:center;" id="TBL-1-1-2" -class="td11"></td><td style="white-space:nowrap; text-align:center;" id="TBL-1-1-3" -class="td11"><img -src="tutorial1x.png" alt="PIC" class="graphics" width="100.375pt" height="100.375pt" ><!--tex4ht:graphics -name="tutorial1x.png" src="1_home_red_coding_godot_doc_math_direction.eps" ---></td> -</tr><tr - style="vertical-align:baseline;" id="TBL-1-2-"><td style="white-space:nowrap; text-align:center;" id="TBL-1-2-1" -class="td11"> <span -class="ecti-0700">Position </span></td><td style="white-space:nowrap; text-align:center;" id="TBL-1-2-2" -class="td11"></td><td style="white-space:nowrap; text-align:center;" id="TBL-1-2-3" -class="td11"> <span -class="ecti-0700">Direction </span></td> -</tr><tr - style="vertical-align:baseline;" id="TBL-1-3-"><td style="white-space:nowrap; text-align:center;" id="TBL-1-3-1" -class="td11"> </td> -</tr></table></div> -</div> -<!--l. 67--><p class="indent" > When used as a direction, this pair is called a <span -class="ecti-1000">vector</span>, and two properties can be -observed: The first is the <span -class="ecti-1000">magnitude </span>or <span -class="ecti-1000">length </span>, and the second is the direction. In -two dimensions, direction can be an angle. The <span -class="ecti-1000">magnitude </span>or <span -class="ecti-1000">length </span>can be computed -by simply using Pithagoras theorem: -<div class="center" -> -<!--l. 73--><p class="noindent" > -<div class="tabular"> <table id="TBL-2" class="tabular" -cellspacing="0" cellpadding="0" -><colgroup id="TBL-2-1g"><col -id="TBL-2-1"><col -id="TBL-2-2"></colgroup><tr - style="vertical-align:baseline;" id="TBL-2-1-"><td style="white-space:nowrap; text-align:center;" id="TBL-2-1-1" -class="td11"><img -src="tutorial2x.png" alt="∘x2-+-y2-" class="sqrt" ></td><td style="white-space:nowrap; text-align:center;" id="TBL-2-1-2" -class="td11"><img -src="tutorial3x.png" alt="∘x2-+-y2 +-z2" class="sqrt" ></td> -</tr><tr - style="vertical-align:baseline;" id="TBL-2-2-"><td style="white-space:nowrap; text-align:center;" id="TBL-2-2-1" -class="td11"> <span -class="ecti-0700">2D </span></td><td style="white-space:nowrap; text-align:center;" id="TBL-2-2-2" -class="td11"> <span -class="ecti-0700">3D </span></td> -</tr><tr - style="vertical-align:baseline;" id="TBL-2-3-"><td style="white-space:nowrap; text-align:center;" id="TBL-2-3-1" -class="td11"> </td> -</tr></table></div> -</div> -<!--l. 80--><p class="indent" > The direction can be an arbitrary angle from either the <span -class="ecti-1000">x </span>or <span -class="ecti-1000">y </span>axis, and could be -computed by using trigonometry, or just using the usual <span -class="ecti-1000">atan2 </span>function present in -most math libraries. However, when dealing with 3D, the direction can’t be described -as an angle. To separate magnitude and direction, 3D uses the concept of <span -class="ecti-1000">normal</span> -<span -class="ecti-1000">vectors.</span> -<!--l. 88--><p class="noindent" > - <h5 class="subsubsectionHead"><span class="titlemark">1.2.2 </span> <a - id="x1-50001.2.2"></a>Implementation</h5> -<!--l. 90--><p class="noindent" >Vectors are implemented in Godot Engine as a class named <span -class="ecti-1000">Vector3 </span>for 3D, and as -both <span -class="ecti-1000">Vector2</span>, <span -class="ecti-1000">Point2 </span>or <span -class="ecti-1000">Size2 </span>in 2D (they are all aliases). They are used for any -purpose where a pair of 2D or 3D values (described as <span -class="ecti-1000">x,y </span>or <span -class="ecti-1000">x,y,z) </span>is needed. This is -somewhat a standard in most libraries or engines. In the script API, they can be -instanced like this: - <!--l. 98--> - <div class="lstlisting"><span class="label"><a - id="x1-5001r1"></a></span>a = Vector3() <br /><span class="label"><a - id="x1-5002r2"></a></span>a = Vector2( 2.0, 3.4 ) - </div> - -<!--l. 104--><p class="indent" > Vectors also support the common operators <span -class="ecti-1000">+, -, / and * </span>for addition, -substraction, multiplication and division. - <!--l. 108--> - <div class="lstlisting"><span class="label"><a - id="x1-5003r1"></a></span>a = Vector3(1,2,3) <br /><span class="label"><a - id="x1-5004r2"></a></span>b = Vector3(4,5,6) <br /><span class="label"><a - id="x1-5005r3"></a></span>c = Vector3() <br /><span class="label"><a - id="x1-5006r4"></a></span> <br /><span class="label"><a - id="x1-5007r5"></a></span>// writing <br /><span class="label"><a - id="x1-5008r6"></a></span> <br /><span class="label"><a - id="x1-5009r7"></a></span>c = a + b <br /><span class="label"><a - id="x1-5010r8"></a></span> <br /><span class="label"><a - id="x1-5011r9"></a></span>// is the same as writing <br /><span class="label"><a - id="x1-5012r10"></a></span> <br /><span class="label"><a - id="x1-5013r11"></a></span>c.x = a.x + b.x <br /><span class="label"><a - id="x1-5014r12"></a></span>c.y = a.y + b.y <br /><span class="label"><a - id="x1-5015r13"></a></span>c.z = a.z + b.z <br /><span class="label"><a - id="x1-5016r14"></a></span> <br /><span class="label"><a - id="x1-5017r15"></a></span>// both will result in a vector containing (5,7,9). <br /><span class="label"><a - id="x1-5018r16"></a></span>// the same happens for the rest of the operators. - </div> -<!--l. 128--><p class="indent" > Vectors also can perform a wide variety of built-in functions, their most common -usages will be explored next. -<!--l. 132--><p class="noindent" > - <h5 class="subsubsectionHead"><span class="titlemark">1.2.3 </span> <a - id="x1-60001.2.3"></a>Normal Vectors</h5> -<!--l. 134--><p class="noindent" >Two points ago, it was mentioned that 3D vectors can’t describe their direction as an -agle (as 2D vectors can). Because of this, <span -class="ecti-1000">normal vectors </span>become important for -separating a vector between <span -class="ecti-1000">direction </span>and <span -class="ecti-1000">magnitude.</span> -<!--l. 139--><p class="indent" > A <span -class="ecti-1000">normal vector </span>is a vector with a <span -class="ecti-1000">magnitude </span>of <span -class="ecti-1000">1. </span>This means, no matter where -the vector is pointing to, it’s length is always <span -class="ecti-1000">1</span>. - <div class="tabular"> - <table id="TBL-3" class="tabular" -cellspacing="0" cellpadding="0" -><colgroup id="TBL-3-1g"><col -id="TBL-3-1"></colgroup><tr - style="vertical-align:baseline;" id="TBL-3-1-"><td style="white-space:nowrap; text-align:center;" id="TBL-3-1-1" -class="td11"><img -src="tutorial4x.png" alt="PIC" class="graphics" width="100.375pt" height="100.375pt" ><!--tex4ht:graphics -name="tutorial4x.png" src="2_home_red_coding_godot_doc_math_normals.eps" ---></td> -</tr><tr - style="vertical-align:baseline;" id="TBL-3-2-"><td style="white-space:nowrap; text-align:center;" id="TBL-3-2-1" -class="td11"> <span -class="ecrm-0700">Normal vectors aroud the origin. </span></td> -</tr><tr - style="vertical-align:baseline;" id="TBL-3-3-"><td style="white-space:nowrap; text-align:center;" id="TBL-3-3-1" -class="td11"> </td> </tr></table> -</div> -<!--l. 148--><p class="indent" > Normal vectors have endless uses in 3D graphics programming, so it’s -recommended to get familiar with them as much as possible. -<!--l. 152--><p class="noindent" > - <h5 class="subsubsectionHead"><span class="titlemark">1.2.4 </span> <a - id="x1-70001.2.4"></a>Normalization</h5> -<!--l. 154--><p class="noindent" >Normalization is the process through which normal vectors are obtained -from regular vectors. In other words, normalization is used to reduce the -<span -class="ecti-1000">magnitude </span>of any vector to <span -class="ecti-1000">1</span>. (except of course, unless the vector is (0,0,0) -). -<!--l. 159--><p class="indent" > To normalize a vector, it must be divided by its magnitude (which should be -greater than zero): - <!--l. 163--> - <div class="lstlisting"><span class="label"><a - id="x1-7001r1"></a></span><span -class="ecti-1000">//</span><span -class="ecti-1000"> </span><span -class="ecti-1000">a</span><span -class="ecti-1000"> </span><span -class="ecti-1000">custom</span><span -class="ecti-1000"> </span><span -class="ecti-1000">vector</span><span -class="ecti-1000"> </span><span -class="ecti-1000">is</span><span -class="ecti-1000"> </span><span -class="ecti-1000">created</span> <br /><span class="label"><a - id="x1-7002r2"></a></span>a = Vector3(4,5,6) <br /><span class="label"><a - id="x1-7003r3"></a></span><span -class="ecti-1000">//</span><span -class="ecti-1000"> </span><span -class="ecti-1000">’</span><span -class="ecti-1000">l</span><span -class="ecti-1000">’</span><span -class="ecti-1000"> </span><span -class="ecti-1000">is</span><span -class="ecti-1000"> </span><span -class="ecti-1000">a</span><span -class="ecti-1000"> </span><span -class="ecti-1000">single</span><span -class="ecti-1000"> </span><span -class="ecti-1000">real</span><span -class="ecti-1000"> </span><span -class="ecti-1000">number</span><span -class="ecti-1000"> </span><span -class="ecti-1000">(</span><span -class="ecti-1000">or</span><span -class="ecti-1000"> </span><span -class="ecti-1000">scalar</span><span -class="ecti-1000">)</span><span -class="ecti-1000"> </span><span -class="ecti-1000">containight</span><span -class="ecti-1000"> </span><span -class="ecti-1000">the</span><span -class="ecti-1000"> </span><span -class="ecti-1000">length</span> <br /><span class="label"><a - id="x1-7004r4"></a></span>l = Math.sqrt( a.x<span -class="cmsy-10">*</span>a.x + a.y<span -class="cmsy-10">*</span>a.y + a.z<span -class="cmsy-10">*</span>a.z ) <br /><span class="label"><a - id="x1-7005r5"></a></span><span -class="ecti-1000">//</span><span -class="ecti-1000"> </span><span -class="ecti-1000">the</span><span -class="ecti-1000"> </span><span -class="ecti-1000">vector</span><span -class="ecti-1000"> </span><span -class="ecti-1000">’</span><span -class="ecti-1000">a</span><span -class="ecti-1000">’</span><span -class="ecti-1000"> </span><span -class="ecti-1000">is</span><span -class="ecti-1000"> </span><span -class="ecti-1000">divided</span><span -class="ecti-1000"> </span><span -class="ecti-1000">by</span><span -class="ecti-1000"> </span><span -class="ecti-1000">its</span><span -class="ecti-1000"> </span><span -class="ecti-1000">length</span><span -class="ecti-1000">,</span><span -class="ecti-1000"> </span><span -class="ecti-1000">by</span><span -class="ecti-1000"> </span><span -class="ecti-1000">performing</span><span -class="ecti-1000"> </span><span -class="ecti-1000">scalar</span><span -class="ecti-1000"> </span><span -class="ecti-1000">divide</span> <br /><span class="label"><a - id="x1-7006r6"></a></span>a = a / l <br /><span class="label"><a - id="x1-7007r7"></a></span><span -class="ecti-1000">//</span><span -class="ecti-1000"> </span><span -class="ecti-1000">which</span><span -class="ecti-1000"> </span><span -class="ecti-1000">is</span><span -class="ecti-1000"> </span><span -class="ecti-1000">the</span><span -class="ecti-1000"> </span><span -class="ecti-1000">same</span><span -class="ecti-1000"> </span><span -class="ecti-1000">as</span> <br /><span class="label"><a - id="x1-7008r8"></a></span>a.x = a.x / l <br /><span class="label"><a - id="x1-7009r9"></a></span>a.y = a.y / l <br /><span class="label"><a - id="x1-7010r10"></a></span>a.z = a.z / l - - </div> -<!--l. 177--><p class="indent" > Vector3 contains two built in functions for normalization: - <!--l. 180--> - <div class="lstlisting"><span class="label"><a - id="x1-7011r1"></a></span>a = Vector3(4,5,6) <br /><span class="label"><a - id="x1-7012r2"></a></span>a.normalize() <span -class="ecti-1000">//</span><span -class="ecti-1000"> </span><span -class="ecti-1000">in</span><span -class="cmsy-10">-</span><span -class="ecti-1000">place</span><span -class="ecti-1000"> </span><span -class="ecti-1000">normalization</span> <br /><span class="label"><a - id="x1-7013r3"></a></span>b = a.normalized() <span -class="ecti-1000">//</span><span -class="ecti-1000"> </span><span -class="ecti-1000">returns</span><span -class="ecti-1000"> </span><span -class="ecti-1000">a</span><span -class="ecti-1000"> </span><span -class="ecti-1000">copy</span><span -class="ecti-1000"> </span><span -class="ecti-1000">of</span><span -class="ecti-1000"> </span><span -class="ecti-1000">a</span><span -class="ecti-1000">,</span><span -class="ecti-1000"> </span><span -class="ecti-1000">normalized</span> - </div> -<!--l. 188--><p class="noindent" > - <h5 class="subsubsectionHead"><span class="titlemark">1.2.5 </span> <a - id="x1-80001.2.5"></a>Dot Product</h5> -<!--l. 190--><p class="noindent" >The dot product is, pheraps, the most useful operation that can be applied to 3D -vectors. In the surface, it’s multiple usages are not very obvious, but in depth it can -provide very useful information between two vectors (be it direction or just points in -space). -<!--l. 195--><p class="indent" > The dot product takes two vectors (<span -class="ecti-1000">a </span>and <span -class="ecti-1000">b </span>in the example) and returns a scalar -(single real number): -<div class="center" -> -<!--l. 198--><p class="noindent" > -<!--l. 199--><p class="noindent" ><span -class="cmmi-10">a</span><sub><span -class="cmmi-7">x</span></sub><span -class="cmmi-10">b</span><sub><span -class="cmmi-7">x</span></sub> <span -class="cmr-10">+ </span><span -class="cmmi-10">a</span><sub><span -class="cmmi-7">y</span></sub><span -class="cmmi-10">b</span><sub><span -class="cmmi-7">y</span></sub> <span -class="cmr-10">+ </span><span -class="cmmi-10">a</span><sub><span -class="cmmi-7">z</span></sub><span -class="cmmi-10">b</span><sub><span -class="cmmi-7">z</span></sub> -</div> -<!--l. 202--><p class="indent" > The same expressed in code: - <!--l. 205--> - <div class="lstlisting"><span class="label"><a - id="x1-8001r1"></a></span>a = Vector3(...) <br /><span class="label"><a - id="x1-8002r2"></a></span>b = Vector3(...) <br /><span class="label"><a - id="x1-8003r3"></a></span> <br /><span class="label"><a - id="x1-8004r4"></a></span>c = a.x<span -class="cmsy-10">*</span>b.x + a.y<span -class="cmsy-10">*</span>b.y + a.z<span -class="cmsy-10">*</span>b.z <br /><span class="label"><a - id="x1-8005r5"></a></span> <br /><span class="label"><a - id="x1-8006r6"></a></span><span -class="ecti-1000">//</span><span -class="ecti-1000"> </span><span -class="ecti-1000">using</span><span -class="ecti-1000"> </span><span -class="ecti-1000">built</span><span -class="cmsy-10">-</span><span -class="ecti-1000">in</span><span -class="ecti-1000"> </span><span -class="ecti-1000">dot</span><span -class="ecti-1000">()</span><span -class="ecti-1000"> </span><span -class="ecti-1000">function</span> <br /><span class="label"><a - id="x1-8007r7"></a></span> <br /><span class="label"><a - id="x1-8008r8"></a></span>c = a.dot(b) - </div> -<!--l. 218--><p class="indent" > The dot product presents several useful properties: - <ul class="itemize1"> - <li class="itemize">If both <span -class="ecti-1000">a </span>and <span -class="ecti-1000">b </span>parameters to a <span -class="ecti-1000">dot product </span>are direction vectors, dot - product will return positive if both point towards the same direction, - negative if both point towards opposite directions, and zero if they are - orthogonal (one is perpendicular to the other). - </li> - <li class="itemize">If both <span -class="ecti-1000">a </span>and <span -class="ecti-1000">b </span>parameters to a <span -class="ecti-1000">dot product </span>are <span -class="ecti-1000">normalized </span>direction - vectors, then the dot product will return the cosine of the angle between - them (ranging from 1 if they are equal, 0 if they are orthogonal, and -1 if - they are opposed (a == -b)). - </li> - <li class="itemize">If <span -class="ecti-1000">a </span>is a <span -class="ecti-1000">normalized </span>direction vector and <span -class="ecti-1000">b </span>is a point, the dot product will - return the distance from <span -class="ecti-1000">b </span>to the plane passing through the origin, with - normal <span -class="ecti-1000">a (see item about planes)</span> - - </li> - <li class="itemize">More uses will be presented later in this tutorial.</li></ul> -<!--l. 236--><p class="noindent" > - <h5 class="subsubsectionHead"><span class="titlemark">1.2.6 </span> <a - id="x1-90001.2.6"></a>Cross Product</h5> -<!--l. 238--><p class="noindent" >The <span -class="ecti-1000">cross product </span>also takes two vectors <span -class="ecti-1000">a </span>and <span -class="ecti-1000">b</span>, but returns another vector <span -class="ecti-1000">c </span>that is -orthogonal to the two previous ones. -<div class="center" -> -<!--l. 242--><p class="noindent" > -<!--l. 243--><p class="noindent" ><span -class="cmmi-10">c</span><sub><span -class="cmmi-7">x</span></sub> <span -class="cmr-10">= </span><span -class="cmmi-10">a</span><sub><span -class="cmmi-7">x</span></sub><span -class="cmmi-10">b</span><sub><span -class="cmmi-7">z</span></sub> <span -class="cmsy-10">- </span><span -class="cmmi-10">a</span><sub><span -class="cmmi-7">z</span></sub><span -class="cmmi-10">b</span><sub><span -class="cmmi-7">y</span></sub> -</div> -<div class="center" -> -<!--l. 246--><p class="noindent" > -<!--l. 247--><p class="noindent" ><span -class="cmmi-10">c</span><sub><span -class="cmmi-7">y</span></sub> <span -class="cmr-10">= </span><span -class="cmmi-10">a</span><sub><span -class="cmmi-7">z</span></sub><span -class="cmmi-10">b</span><sub><span -class="cmmi-7">x</span></sub> <span -class="cmsy-10">- </span><span -class="cmmi-10">a</span><sub><span -class="cmmi-7">x</span></sub><span -class="cmmi-10">b</span><sub><span -class="cmmi-7">z</span></sub> -</div> -<div class="center" -> -<!--l. 250--><p class="noindent" > -<!--l. 251--><p class="noindent" ><span -class="cmmi-10">c</span><sub><span -class="cmmi-7">z</span></sub> <span -class="cmr-10">= </span><span -class="cmmi-10">a</span><sub><span -class="cmmi-7">x</span></sub><span -class="cmmi-10">b</span><sub><span -class="cmmi-7">y</span></sub> <span -class="cmsy-10">- </span><span -class="cmmi-10">a</span><sub><span -class="cmmi-7">y</span></sub><span -class="cmmi-10">b</span><sub><span -class="cmmi-7">x</span></sub> -</div> -<!--l. 254--><p class="indent" > The same in code: - <!--l. 257--> - <div class="lstlisting"><span class="label"><a - id="x1-9001r1"></a></span>a = Vector3(...) <br /><span class="label"><a - id="x1-9002r2"></a></span>b = Vector3(...) <br /><span class="label"><a - id="x1-9003r3"></a></span>c = Vector3(...) <br /><span class="label"><a - id="x1-9004r4"></a></span> <br /><span class="label"><a - id="x1-9005r5"></a></span>c.x = a.x<span -class="cmsy-10">*</span>b.z <span -class="cmsy-10">-</span> a.z<span -class="cmsy-10">*</span>b.y <br /><span class="label"><a - id="x1-9006r6"></a></span>c.y = a.z<span -class="cmsy-10">*</span>b.x <span -class="cmsy-10">-</span> a.x<span -class="cmsy-10">*</span>b.z <br /><span class="label"><a - id="x1-9007r7"></a></span>c.z = a.x<span -class="cmsy-10">*</span>b.y <span -class="cmsy-10">-</span> a.y<span -class="cmsy-10">*</span>b.x <br /><span class="label"><a - id="x1-9008r8"></a></span> <br /><span class="label"><a - id="x1-9009r9"></a></span>// or using the built<span -class="cmsy-10">-</span>in function <br /><span class="label"><a - id="x1-9010r10"></a></span> <br /><span class="label"><a - id="x1-9011r11"></a></span>c = a.cross(b) - </div> -<!--l. 273--><p class="indent" > The <span -class="ecti-1000">cross product </span>also presents several useful properties: - <ul class="itemize1"> - <li class="itemize">As mentioned, the resulting vector <span -class="ecti-1000">c </span>is orthogonal to the input vectors <span -class="ecti-1000">a</span> - and <span -class="ecti-1000">b.</span> - </li> - <li class="itemize">Since the <span -class="ecti-1000">cross product </span>is anticommutative, swapping <span -class="ecti-1000">a </span>and <span -class="ecti-1000">b </span>will result - in a negated vector <span -class="ecti-1000">c.</span> - - </li> - <li class="itemize">if <span -class="ecti-1000">a </span>and <span -class="ecti-1000">b </span>are taken from two of the segmets <span -class="ecti-1000">AB</span>, <span -class="ecti-1000">BC </span>or <span -class="ecti-1000">CA </span>that form a - 3D triangle, the magnitude of the resulting vector divided by 2 is the area - of that triangle. - </li> - <li class="itemize">The direction of the resulting vector <span -class="ecti-1000">c </span>in the previous triangle example - determines wether the points A,B and C are arranged in clocwise or - counter-clockwise order.</li></ul> -<!--l. 287--><p class="noindent" > - <h4 class="subsectionHead"><span class="titlemark">1.3 </span> <a - id="x1-100001.3"></a>Plane</h4> -<!--l. 290--><p class="noindent" > - <h5 class="subsubsectionHead"><span class="titlemark">1.3.1 </span> <a - id="x1-110001.3.1"></a>Theory</h5> -<!--l. 292--><p class="noindent" >A plane can be considered as an infinite, flat surface that splits space in two halves, -usually one named positive and one named negative. In regular mathematics, a plane -formula is described as: -<div class="center" -> -<!--l. 296--><p class="noindent" > -<!--l. 297--><p class="noindent" ><span -class="cmmi-10">ax </span><span -class="cmr-10">+ </span><span -class="cmmi-10">by </span><span -class="cmr-10">+ </span><span -class="cmmi-10">cz </span><span -class="cmr-10">+ </span><span -class="cmmi-10">d</span> -</div> -<!--l. 300--><p class="indent" > However, in 3D programming, this form alone is often of little use. For planes to -become useful, they must be in normalized form. -<!--l. 303--><p class="indent" > A normalized plane consists of a <span -class="ecti-1000">normal vector n </span>and a <span -class="ecti-1000">distance d. </span>To normalize -a plane, a vector <span -class="ecti-1000">n </span>and distance <span -class="ecti-1000">d’ </span>are created this way: -<!--l. 307--><p class="indent" > <span -class="cmmi-10">n</span><sub><span -class="cmmi-7">x</span></sub> <span -class="cmr-10">= </span><span -class="cmmi-10">a</span> -<!--l. 309--><p class="indent" > <span -class="cmmi-10">n</span><sub><span -class="cmmi-7">y</span></sub> <span -class="cmr-10">= </span><span -class="cmmi-10">b</span> -<!--l. 311--><p class="indent" > <span -class="cmmi-10">n</span><sub><span -class="cmmi-7">z</span></sub> <span -class="cmr-10">= </span><span -class="cmmi-10">c</span> -<!--l. 313--><p class="indent" > <span -class="cmmi-10">d</span><span -class="cmsy-10">′ </span><span -class="cmr-10">= </span><span -class="cmmi-10">d</span> -<!--l. 315--><p class="indent" > Finally, both <span -class="ecti-1000">n </span>and <span -class="ecti-1000">d’ </span>are both divided by the magnitude of n. -<!--l. 318--><p class="indent" > In any case, normalizing planes is not often needed (this was mostly for -explanation purposes), and normalized planes are useful because they can be created -and used easily. -<!--l. 322--><p class="indent" > A normalized plane could be visualized as a plane pointing towards normal <span -class="ecti-1000">n,</span> -offseted by <span -class="ecti-1000">d </span>in the direction of <span -class="ecti-1000">n</span>. -<!--l. 325--><p class="indent" > In other words, take <span -class="ecti-1000">n</span>, multiply it by scalar <span -class="ecti-1000">d </span>and the resulting point will be part -of the plane. This may need some thinking, so an example with a 2D normal vector -(z is 0, so plane is orthogonal to it) is provided: -<!--l. 330--><p class="indent" > Some operations can be done with normalized planes: - - <ul class="itemize1"> - <li class="itemize">Given any point <span -class="ecti-1000">p</span>, the distance from it to a plane can be computed by - doing: n.dot(p) - d - </li> - <li class="itemize">If the resulting distance in the previous point is negative, the point is - below the plane. - </li> - <li class="itemize">Convex polygonal shapes can be defined by enclosing them in planes (the - physics engine uses this property)</li></ul> -<!--l. 340--><p class="noindent" > - <h5 class="subsubsectionHead"><span class="titlemark">1.3.2 </span> <a - id="x1-120001.3.2"></a>Implementation</h5> -<!--l. 342--><p class="noindent" >Godot Engine implements normalized planes by using the <span -class="ecti-1000">Plane </span>class. - <!--l. 346--> - <div class="lstlisting"><span class="label"><a - id="x1-12001r1"></a></span>//creates a plane with normal (0,1,0) and distance 5 <br /><span class="label"><a - id="x1-12002r2"></a></span>p = Plane( Vector3(0,1,0), 5 ) <br /><span class="label"><a - id="x1-12003r3"></a></span>// get the distance to a point <br /><span class="label"><a - id="x1-12004r4"></a></span>d = p.distance( Vector3(4,5,6) ) - </div> -<!--l. 355--><p class="noindent" > - <h4 class="subsectionHead"><span class="titlemark">1.4 </span> <a - id="x1-130001.4"></a>Matrices, Quaternions and Coordinate Systems</h4> -<!--l. 357--><p class="noindent" >It is very often needed to store the location/rotation of something. In 2D, it is often -enough to store an <span -class="ecti-1000">x,y </span>location and maybe an angle as the rotation, as that should -be enough to represent any posible position. -<!--l. 362--><p class="indent" > In 3D this becomes a little more difficult, as there is nothing as simple as an angle -to store a 3-axis rotation. -<!--l. 365--><p class="indent" > The first think that may come to mind is to use 3 angles, one for x, one for y and -one for z. However this suffers from the problem that it becomes very cumbersome to -use, as the individual rotations in each axis need to be performed one after another -(they can’t be performed at the same time), leading to a problem called “gimbal -lock”. Also, it becomes impossible to accumulate rotations (add a rotation to an -existing one). -<!--l. 373--><p class="indent" > To solve this, there are two known diferent approaches that aid in solving -rotation, <span -class="ecti-1000">Quaternions </span>and <span -class="ecti-1000">Oriented Coordinate Systems.</span> -<!--l. 378--><p class="noindent" > - <h5 class="subsubsectionHead"><span class="titlemark">1.4.1 </span> <a - id="x1-140001.4.1"></a>Oriented Coordinate Systems</h5> -<!--l. 380--><p class="noindent" ><span -class="ecti-1000">Oriented Coordinate Systems </span>(<span -class="ecti-1000">OCS</span>) are a way of representing a coordinate system -inside the cartesian coordinate system. They are mainly composed of 3 Vectors, one -for each axis. The first vector is the <span -class="ecti-1000">x </span>axis, the second the <span -class="ecti-1000">y </span>axis, and the third is the - -<span -class="ecti-1000">z </span>axis. The OCS vectors can be rotated around freely as long as they are kept the -same length (as changing the length of an axis changes its cale), and as long as they -remain orthogonal to eachother (as in, the same as the default cartesian system, -with <span -class="ecti-1000">y </span>pointing up, <span -class="ecti-1000">x </span>pointing left and <span -class="ecti-1000">z </span>pointing front, but all rotated -together). -<!--l. 391--><p class="indent" > <span -class="ecti-1000">Oriented Coordinate Systems </span>are represented in 3D programming as a 3x3 matrix, -where each row (or column, depending on the implementation) contains one of the -axis vectors. Transforming a Vector by a rotated OCS Matrix results in the rotation -being applied to the resulting vector. OCS Matrices can also be multiplied to -accumulate their transformations. -<!--l. 397--><p class="indent" > Godot Engine implements OCS Matrices in the <span -class="ecti-1000">Matrix3 </span>class: - <!--l. 400--> - <div class="lstlisting"><span class="label"><a - id="x1-14001r1"></a></span><span -class="ecti-1000">//</span><span -class="ecti-1000">create</span><span -class="ecti-1000"> </span><span -class="ecti-1000">a</span><span -class="ecti-1000"> </span><span -class="ecti-1000">3</span><span -class="ecti-1000">x3</span><span -class="ecti-1000"> </span><span -class="ecti-1000">matrix</span> <br /><span class="label"><a - id="x1-14002r2"></a></span>m = Matrix3() <br /><span class="label"><a - id="x1-14003r3"></a></span><span -class="ecti-1000">//</span><span -class="ecti-1000">rotate</span><span -class="ecti-1000"> </span><span -class="ecti-1000">the</span><span -class="ecti-1000"> </span><span -class="ecti-1000">matrix</span><span -class="ecti-1000"> </span><span -class="ecti-1000">in</span><span -class="ecti-1000"> </span><span -class="ecti-1000">the</span><span -class="ecti-1000"> </span><span -class="ecti-1000">y</span><span -class="ecti-1000"> </span><span -class="ecti-1000">axis</span><span -class="ecti-1000">,</span><span -class="ecti-1000"> </span><span -class="ecti-1000">by</span><span -class="ecti-1000"> </span><span -class="ecti-1000">45</span><span -class="ecti-1000"> </span><span -class="ecti-1000">degrees</span> <br /><span class="label"><a - id="x1-14004r4"></a></span>m.rotate( Vector3(0,1,0), Math.deg2rad(45) ) <br /><span class="label"><a - id="x1-14005r5"></a></span><span -class="ecti-1000">//</span><span -class="ecti-1000">transform</span><span -class="ecti-1000"> </span><span -class="ecti-1000">a</span><span -class="ecti-1000"> </span><span -class="ecti-1000">vector</span><span -class="ecti-1000"> </span><span -class="ecti-1000">v</span><span -class="ecti-1000"> </span><span -class="ecti-1000">(</span><span -class="ecti-1000">xform</span><span -class="ecti-1000"> </span><span -class="ecti-1000">method</span><span -class="ecti-1000"> </span><span -class="ecti-1000">is</span><span -class="ecti-1000"> </span><span -class="ecti-1000">used</span><span -class="ecti-1000">)</span> <br /><span class="label"><a - id="x1-14006r6"></a></span>v = Vector3(...) <br /><span class="label"><a - id="x1-14007r7"></a></span>result = m.xform( v ) - </div> -<!--l. 412--><p class="indent" > However, in most usage cases, one wants to store a translation together with the -rotation. For this, an <span -class="ecti-1000">origin </span>vector must be added to the OCS, thus transforming it -into a 3x4 (or 4x3, depending on preference) matrix. Godot engine implements this -functionality in the <span -class="ecti-1000">Transform </span>class: - <!--l. 419--> - <div class="lstlisting"><span class="label"><a - id="x1-14010r1"></a></span>t = Transform() <br /><span class="label"><a - id="x1-14011r2"></a></span>//rotate the transform in the y axis, by 45 degrees <br /><span class="label"><a - id="x1-14012r3"></a></span>t.rotate( Vector3(0,1,0), Math.deg2rad(45) ) <br /><span class="label"><a - id="x1-14013r4"></a></span>//translate the transform by 5 in the z axis <br /><span class="label"><a - id="x1-14014r5"></a></span>t.translate( Vector3( 0,0,5 ) ) <br /><span class="label"><a - id="x1-14015r6"></a></span>//transform a vector v (xform method is used) <br /><span class="label"><a - id="x1-14016r7"></a></span>v = Vector3(...) <br /><span class="label"><a - id="x1-14017r8"></a></span>result = t.xform( v ) - </div> -<!--l. 431--><p class="indent" > Transform contains internally a Matrix3 “basis” and a Vector3 “origin” (which can -be modified individually). -<!--l. 435--><p class="noindent" > - <h5 class="subsubsectionHead"><span class="titlemark">1.4.2 </span> <a - id="x1-150001.4.2"></a>Transform Internals</h5> -<!--l. 437--><p class="noindent" >Internally, the xform() process is quite simple, to apply a 3x3 transform to a vector, -the transposed axis vectors are used (as using the regular axis vectors will result on -an inverse of the desired transform): - <!--l. 442--> - <div class="lstlisting"><span class="label"><a - id="x1-15001r1"></a></span>m = Matrix3(...) <br /><span class="label"><a - id="x1-15002r2"></a></span>v = Vector3(..) <br /><span class="label"><a - id="x1-15003r3"></a></span>result = Vector3(...) <br /><span class="label"><a - id="x1-15004r4"></a></span> <br /><span class="label"><a - id="x1-15005r5"></a></span>x_axis = m.get_axis(0) <br /><span class="label"><a - id="x1-15006r6"></a></span>y_axis = m.get_axis(1) <br /><span class="label"><a - id="x1-15007r7"></a></span>z_axis = m.get_axis(2) <br /><span class="label"><a - id="x1-15008r8"></a></span> <br /><span class="label"><a - id="x1-15009r9"></a></span>result.x = Vector3(x_axis.x, y_axis.x, z_axis.x).dot(v) <br /><span class="label"><a - id="x1-15010r10"></a></span>result.y = Vector3(x_axis.y, y_axis.y, z_axis.y).dot(v) <br /><span class="label"><a - id="x1-15011r11"></a></span>result.z = Vector3(x_axis.z, y_axis.z, z_axis.z).dot(v) <br /><span class="label"><a - id="x1-15012r12"></a></span> <br /><span class="label"><a - id="x1-15013r13"></a></span>// is the same as doing <br /><span class="label"><a - id="x1-15014r14"></a></span> <br /><span class="label"><a - id="x1-15015r15"></a></span>result = m.xform(v) <br /><span class="label"><a - id="x1-15016r16"></a></span> <br /><span class="label"><a - id="x1-15017r17"></a></span>// if m this was a Transform(), the origin would be added <br /><span class="label"><a - id="x1-15018r18"></a></span>// like this: <br /><span class="label"><a - id="x1-15019r19"></a></span> <br /><span class="label"><a - id="x1-15020r20"></a></span>result = result + t.get_origin() - </div> -<!--l. 468--><p class="noindent" > - <h5 class="subsubsectionHead"><span class="titlemark">1.4.3 </span> <a - id="x1-160001.4.3"></a>Using The Transform</h5> -<!--l. 470--><p class="noindent" >So, it is often desired apply sucessive operations to a transformation. For example, -let’s a assume that there is a turtle sitting at the origin (the turtle is a logo reference, - -for those familiar with it). The <span -class="ecti-1000">y </span>axis is up, and the the turtle’s nose is pointing -towards the <span -class="ecti-1000">z </span>axis. -<!--l. 476--><p class="indent" > The turtle (like many other animals, or vehicles!) can only walk towards the -direction it’s looking at. So, moving the turtle around a little should be something -like this: - <!--l. 481--> - <div class="lstlisting"><span class="label"><a - id="x1-16001r1"></a></span><span -class="ecti-1000">//</span><span -class="ecti-1000"> </span><span -class="ecti-1000">turtle</span><span -class="ecti-1000"> </span><span -class="ecti-1000">at</span><span -class="ecti-1000"> </span><span -class="ecti-1000">the</span><span -class="ecti-1000"> </span><span -class="ecti-1000">origin</span> <br /><span class="label"><a - id="x1-16002r2"></a></span>turtle = Transform() <br /><span class="label"><a - id="x1-16003r3"></a></span><span -class="ecti-1000">//</span><span -class="ecti-1000"> </span><span -class="ecti-1000">turtle</span><span -class="ecti-1000"> </span><span -class="ecti-1000">will</span><span -class="ecti-1000"> </span><span -class="ecti-1000">walk</span><span -class="ecti-1000"> </span><span -class="ecti-1000">5</span><span -class="ecti-1000"> </span><span -class="ecti-1000">units</span><span -class="ecti-1000"> </span><span -class="ecti-1000">in</span><span -class="ecti-1000"> </span><span -class="ecti-1000">z</span><span -class="ecti-1000"> </span><span -class="ecti-1000">axis</span> <br /><span class="label"><a - id="x1-16004r4"></a></span>turtle.translate( Vector3(0,0,5) ) <br /><span class="label"><a - id="x1-16005r5"></a></span><span -class="ecti-1000">//</span><span -class="ecti-1000"> </span><span -class="ecti-1000">turtle</span><span -class="ecti-1000"> </span><span -class="ecti-1000">eyes</span><span -class="ecti-1000"> </span><span -class="ecti-1000">a</span><span -class="ecti-1000"> </span><span -class="ecti-1000">lettuce</span><span -class="ecti-1000"> </span><span -class="ecti-1000">3</span><span -class="ecti-1000"> </span><span -class="ecti-1000">units</span><span -class="ecti-1000"> </span><span -class="ecti-1000">away</span><span -class="ecti-1000">,</span><span -class="ecti-1000"> </span><span -class="ecti-1000">will</span><span -class="ecti-1000"> </span><span -class="ecti-1000">rotate</span><span -class="ecti-1000"> </span><span -class="ecti-1000">45</span><span -class="ecti-1000"> </span><span -class="ecti-1000">degrees</span><span -class="ecti-1000"> </span><span -class="ecti-1000">right</span> <br /><span class="label"><a - id="x1-16006r6"></a></span>turtle.rotate( Vector3(0,1,0), Math.deg2rad(45) ) <br /><span class="label"><a - id="x1-16007r7"></a></span><span -class="ecti-1000">//</span><span -class="ecti-1000"> </span><span -class="ecti-1000">turtle</span><span -class="ecti-1000"> </span><span -class="ecti-1000">approaches</span><span -class="ecti-1000"> </span><span -class="ecti-1000">the</span><span -class="ecti-1000"> </span><span -class="ecti-1000">lettuce</span> <br /><span class="label"><a - id="x1-16008r8"></a></span>turtle.translate( Vector3(0,0,5) ) <br /><span class="label"><a - id="x1-16009r9"></a></span><span -class="ecti-1000">//</span><span -class="ecti-1000"> </span><span -class="ecti-1000">happy</span><span -class="ecti-1000"> </span><span -class="ecti-1000">turtle</span><span -class="ecti-1000"> </span><span -class="ecti-1000">over</span><span -class="ecti-1000"> </span><span -class="ecti-1000">lettuce</span><span -class="ecti-1000"> </span><span -class="ecti-1000">is</span><span -class="ecti-1000"> </span><span -class="ecti-1000">at</span> <br /><span class="label"><a - id="x1-16010r10"></a></span>print(turtle.get_origin()) - </div> -<!--l. 496--><p class="indent" > As can be seen, every new action the turtle takes is based on the previous one it -took. Had the order of actions been different and the turtle would have never reached -the lettuce. -<!--l. 500--><p class="indent" > Transforms are just that, a mean of “accumulating” rotation, translation, scale, -etc. -<!--l. 504--><p class="noindent" > - <h5 class="subsubsectionHead"><span class="titlemark">1.4.4 </span> <a - id="x1-170001.4.4"></a>A Warning about Numerical Precision</h5> -<!--l. 506--><p class="noindent" >Performing several actions over a transform will slowly and gradually lead to -precision loss (objects that draw according to a transform may get jittery, bigger, -smaller, skewed, etc). This happens due to the nature of floating point numbers. if -transforms/matrices are created from other kind of values (like a position and -some angular rotation) this is not needed, but if has been accumulating -transformations and was never recreated, it can be normalized by calling the -.orthonormalize() built-in function. This function has little cost and calling it every -now and then will avoid the effects from precision loss to become visible. - -</body></html> - - - diff --git a/doc/html/tutorial01/tutorial0x.png b/doc/html/tutorial01/tutorial0x.png Binary files differdeleted file mode 100644 index a0ed4f53ff..0000000000 --- a/doc/html/tutorial01/tutorial0x.png +++ /dev/null diff --git a/doc/html/tutorial01/tutorial1x.png b/doc/html/tutorial01/tutorial1x.png Binary files differdeleted file mode 100644 index 80f0d099f7..0000000000 --- a/doc/html/tutorial01/tutorial1x.png +++ /dev/null diff --git a/doc/html/tutorial01/tutorial2x.png b/doc/html/tutorial01/tutorial2x.png Binary files differdeleted file mode 100644 index 76c502b6da..0000000000 --- a/doc/html/tutorial01/tutorial2x.png +++ /dev/null diff --git a/doc/html/tutorial01/tutorial3x.png b/doc/html/tutorial01/tutorial3x.png Binary files differdeleted file mode 100644 index 8431e9d15c..0000000000 --- a/doc/html/tutorial01/tutorial3x.png +++ /dev/null diff --git a/doc/html/tutorial01/tutorial4x.png b/doc/html/tutorial01/tutorial4x.png Binary files differdeleted file mode 100644 index 1ce7a2bb45..0000000000 --- a/doc/html/tutorial01/tutorial4x.png +++ /dev/null diff --git a/doc/notes.txt b/doc/notes.txt deleted file mode 100644 index 39c03ca4c5..0000000000 --- a/doc/notes.txt +++ /dev/null @@ -1,20 +0,0 @@ -
-in FileDialog file_selected -> file_activated
-focus script/shader editor when gaining focus
-detect if errors in editor and don't allow play
-
-
--tree of files (all recognized extensions)
-
-*export: *keep|export|bundle
-*options: [make binary for xnl], then options for each filetype (texture compress method, etc)
-
-
-config.h deberia teber varias cosas de plataforma
-
-_FORCE_INLINE_
-copymem
-ftoi
-defines de funciones matematicas
-
-
diff --git a/doc/phys_engine.png b/doc/phys_engine.png Binary files differdeleted file mode 100644 index 15539d47d7..0000000000 --- a/doc/phys_engine.png +++ /dev/null diff --git a/doc/squirrel.lyx b/doc/squirrel.lyx deleted file mode 100644 index 05270c1b8f..0000000000 --- a/doc/squirrel.lyx +++ /dev/null @@ -1,984 +0,0 @@ -#LyX 2.0 created this file. For more info see http://www.lyx.org/ -\lyxformat 413 -\begin_document -\begin_header -\textclass article -\use_default_options true -\maintain_unincluded_children false -\language english -\language_package default -\inputencoding auto -\fontencoding global -\font_roman default -\font_sans default -\font_typewriter default -\font_default_family default -\use_non_tex_fonts false -\font_sc false -\font_osf false -\font_sf_scale 100 -\font_tt_scale 100 - -\graphics default -\default_output_format default -\output_sync 0 -\bibtex_command default -\index_command default -\paperfontsize default -\use_hyperref false -\papersize default -\use_geometry false -\use_amsmath 1 -\use_esint 1 -\use_mhchem 1 -\use_mathdots 1 -\cite_engine basic -\use_bibtopic false -\use_indices false -\paperorientation portrait -\suppress_date false -\use_refstyle 1 -\index Index -\shortcut idx -\color #008000 -\end_index -\secnumdepth 3 -\tocdepth 3 -\paragraph_separation indent -\paragraph_indentation default -\quotes_language english -\papercolumns 1 -\papersides 1 -\paperpagestyle default -\tracking_changes false -\output_changes false -\html_math_output 0 -\html_css_as_file 0 -\html_be_strict false -\end_header - -\begin_body - -\begin_layout Title -Squirrel Usage in Godot -\end_layout - -\begin_layout Section -Introduction -\end_layout - -\begin_layout Standard -Squirrel is a nice scripting language. - It's sort of a mix between Lua, Java and JavaScript and ends up being easy - to learn for most programmers. - It has more language features than GDScript but it's also slower, more - limited and not as well integrated. - This guide will explain how Squirrel is integrated to Godot and all the - quirks that are needed to know in order to use it properly. -\end_layout - -\begin_layout Section -Enabling Squirrel -\end_layout - -\begin_layout Standard -Squirrel may not be enabled by default in a Godot build. - To enable it, execute SCons with the following parameters: -\end_layout - -\begin_layout Standard -\begin_inset listings -inline false -status open - -\begin_layout Plain Layout - -shell$ scons squirrel=yes <target_binary> -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Section -Documentation -\end_layout - -\begin_layout Standard -Godot utilizes Squirrel 2.2. - Documentation can be found at: -\begin_inset CommandInset href -LatexCommand href -target "http://squirrel-lang.org/#documentation" - -\end_inset - - -\end_layout - -\begin_layout Section -Class Files -\end_layout - -\begin_layout Standard -Unless writing a library, Godot expects a class for scripting an object. - Since a Squirrel source file can contain many classes, the main class must - be returned. - The following is an example of extending a button: -\end_layout - -\begin_layout Standard -\begin_inset listings -inline false -status open - -\begin_layout Plain Layout - -class MyButton extends Button { -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - - constructor() { -\end_layout - -\begin_layout Plain Layout - - // ALWAYS call parent constructor -\end_layout - -\begin_layout Plain Layout - - Button.constructor() -\end_layout - -\begin_layout Plain Layout - - } -\end_layout - -\begin_layout Plain Layout - -} -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - -return MyButton // main class returned -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Standard -Additionally, classes are all copied to the root table, so all class names - in scripts must be different if they are attempted to be loaded simultaneously. - The same can be said for any other globals declared in the script. - -\end_layout - -\begin_layout Standard -Finally, squirrel scripts must be saved with the .nut or .sq extensions (both - are recognized). -\end_layout - -\begin_layout Section -Including Other Scripts -\end_layout - -\begin_layout Standard -Other scripts can be included with the include() directive. - Full and relative paths are supported. - When included, the classes and globals are moved to the root table, so - they become immediately available. - Constants, however, are only inlined in the current class on load, so Squirrel - does not make them available. - Example of including scripts: -\end_layout - -\begin_layout Standard -\begin_inset listings -inline false -status open - -\begin_layout Plain Layout - -include("my_button.nut") # // relative to current script, expected to be - in the same path -\end_layout - -\begin_layout Plain Layout - -include("res://buttons/my_button.nut") // using resource path -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Section -Built-In Types -\end_layout - -\begin_layout Standard -There are some small differences between the Built-In types in Godot and - the ones in Squirrel, so the documentation will not match. - The differences are documented here. -\end_layout - -\begin_layout Standard -An attempt will be made to document everything here,but if in doubt about - bindings on built-in types, you can always take a loot at the bindings - source file in script/squirrel/sq_bind_types.cpp. -\end_layout - -\begin_layout Standard -Built-In Types in Squirrel are passed by reference (unlike by value like - in GD). - They also don't need to be freed. -\end_layout - -\begin_layout Subsection -AABB -\end_layout - -\begin_layout Standard -\begin_inset Quotes eld -\end_inset - -pos -\begin_inset Quotes erd -\end_inset - -, -\begin_inset Quotes eld -\end_inset - -size -\begin_inset Quotes erd -\end_inset - - and -\begin_inset Quotes eld -\end_inset - -end -\begin_inset Quotes erd -\end_inset - - are not available Use get_pos()/set_pos and get_size()/set_size(). -\end_layout - -\begin_layout Subsection -InputEvent -\end_layout - -\begin_layout Standard -InputEvent is a single datatype and contains everything. - Use only the fields meant for the event type: -\end_layout - -\begin_layout Standard -\begin_inset listings -inline false -status open - -\begin_layout Plain Layout - -//for mouse motion and button -\end_layout - -\begin_layout Plain Layout - -int mouse_x -\end_layout - -\begin_layout Plain Layout - -int mouse_y -\end_layout - -\begin_layout Plain Layout - -int mouse_button_mask -\end_layout - -\begin_layout Plain Layout - -int mouse_global_x -\end_layout - -\begin_layout Plain Layout - -int mouse_global_y -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - -//for mouse button -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - -int mouse_button_index -\end_layout - -\begin_layout Plain Layout - -bool mouse_button_pressed -\end_layout - -\begin_layout Plain Layout - -bool mouse_button_doubleclick -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - -//for mouse motion -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - -int mouse_motion_x -\end_layout - -\begin_layout Plain Layout - -int mouse_motion_y -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - -//for keyboard -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - -int key_scancode -\end_layout - -\begin_layout Plain Layout - -int key_unicode -\end_layout - -\begin_layout Plain Layout - -bool key_pressed -\end_layout - -\begin_layout Plain Layout - -bool key_echo -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - -//for keyboard and mouse -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - -bool mod_alt -\end_layout - -\begin_layout Plain Layout - -bool mod_shift -\end_layout - -\begin_layout Plain Layout - -bool mod_meta -\end_layout - -\begin_layout Plain Layout - -bool mod_control -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - -//joy button -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - -int joy_button_index -\end_layout - -\begin_layout Plain Layout - -bool joy_button_pressed -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - -//joy axis -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - -int joy_axis -\end_layout - -\begin_layout Plain Layout - -float joy_axis_value -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - -//screen drag and touch -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - -int screen_index -\end_layout - -\begin_layout Plain Layout - -int screen_x -\end_layout - -\begin_layout Plain Layout - -int screen_y -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - -//screen touch -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - -int screen_index -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - -//action -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - -int action_id -\end_layout - -\begin_layout Plain Layout - -bool action_pressed -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Subsection -Matrix3 -\end_layout - -\begin_layout Standard -x,y,z member vectors are not available. - Use get_row() and set_row() instead. - Individual float values of the matrix are available as swizzle masks such - as xxy, xyz, zzx, etc. -\end_layout - -\begin_layout Standard -Additional in-place versions of some functions are available: transpose(), - invert(), rotate(), scale(), orthonormalize(). -\end_layout - -\begin_layout Subsection -Transform -\end_layout - -\begin_layout Standard -\begin_inset Quotes eld -\end_inset - -basis -\begin_inset Quotes erd -\end_inset - - and -\begin_inset Quotes eld -\end_inset - -origin -\begin_inset Quotes erd -\end_inset - - members are not available. - Use get_basis()/set_basis() and get_origin()/set_origin() instead. - Additional in-place versions of some functions are available: invert(), - affine_invert(), orthonormalize(), rotate(), translate(), scale(). -\end_layout - -\begin_layout Standard -Vector2 -\end_layout - -\begin_layout Subsection -Plane -\end_layout - -\begin_layout Standard -\begin_inset Quotes eld -\end_inset - -normal -\begin_inset Quotes erd -\end_inset - - member vector is not available. - Use get_normal(), set_normal() instead. -\end_layout - -\begin_layout Subsection -Rect2 -\end_layout - -\begin_layout Standard -\begin_inset Quotes eld -\end_inset - -pos -\begin_inset Quotes erd -\end_inset - -, -\begin_inset Quotes eld -\end_inset - -size -\begin_inset Quotes erd -\end_inset - - and -\begin_inset Quotes eld -\end_inset - -end -\begin_inset Quotes erd -\end_inset - - are not available Use get_pos()/set_pos and get_size()/set_size(). -\end_layout - -\begin_layout Subsection -Native Arrays -\end_layout - -\begin_layout Standard -Native arrays such as RawArray, IntArray,StringArray, etc are not supported. - Use regular squirrel arrays instead, since conversion to/from them will - happen automatically. -\end_layout - -\begin_layout Subsection -Math Functions -\end_layout - -\begin_layout Standard -Math functions are inside the Math namespace in Squirrel. - For example Math.sin , Math.PI, Math.atan2(). -\end_layout - -\begin_layout Subsection -Native Types -\end_layout - -\begin_layout Standard -Array, Dictionary and NodePath are not available. - Use a native array, table and string respectively. -\end_layout - -\begin_layout Section -_get , _set -\end_layout - -\begin_layout Standard -_get and _set are reserved in Squirrel, for overriding Godot Object property - getter/setter, use _get_property and _set_property. -\end_layout - -\begin_layout Section -Member Export -\end_layout - -\begin_layout Standard -Simple exporting of members (so far only integer, floating point and string - are supported) is supported by the @export extension. - It is used like this: -\end_layout - -\begin_layout Standard -\begin_inset listings -inline false -status open - -\begin_layout Plain Layout - -class MyButton extends Button { -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - - aprop=1 // @export -\end_layout - -\begin_layout Plain Layout - - bprop=2.0 // @export -\end_layout - -\begin_layout Plain Layout - - cprop="3" // @export -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - - //these will be available to the property editor, and will be loaded/saved - with the scene. -\end_layout - -\begin_layout Plain Layout - -} -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Section -Always Enabled Scripts -\end_layout - -\begin_layout Standard -Scripts are not enabled in the editor by default. - To enable a script always, add an @always_enabled comment. - Example: -\end_layout - -\begin_layout Standard -\begin_inset listings -inline false -status open - -\begin_layout Plain Layout - -//@always_enabled -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - -class MyButton extends Button { -\end_layout - -\begin_layout Plain Layout - -\end_layout - -\begin_layout Plain Layout - -... -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Section -Threads -\end_layout - -\begin_layout Standard -Thread support in Squirrel is very poor. - This is because of the stack-based nature of the language implementation. - Since godot can run in multiple threads, it will forcibily lock the whole - VM when accessed from multiple threads, which will result in degraded performan -ce. - Creating user threads in Squirrel is definitely not recomended, as it may - completely lock the main thread. -\end_layout - -\begin_layout Section -References -\end_layout - -\begin_layout Standard -Godot has a built-in reference counted type used in conjunction with a template - (objects that inherit the -\begin_inset Quotes eld -\end_inset - -Reference -\begin_inset Quotes erd -\end_inset - - class). - Since Squirrel also uses reference counting, it becomes impossible for - such types in godot to contain a script, because it would result in an - un-breakable reference cycle. - To avoid this, a Ref() class was created in Squirrel. - -\end_layout - -\begin_layout Standard -When calling Godot API functions, returned references are wrapped inside - Ref() transparently, but the problem arises when creating a Reference-derived - object from the code. - In such cases, the reference must be wrapped manually like this: -\end_layout - -\begin_layout Standard -\begin_inset listings -inline false -status open - -\begin_layout Plain Layout - -local f = Ref( File() ) -\end_layout - -\begin_layout Plain Layout - -local err = f.open("hello.txt",File.READ) -\end_layout - -\end_inset - - -\end_layout - -\begin_layout Standard -Anything not a reference that inherits from Object can be freed manually - by calling .free(), just like in GDScript. - Object classes are in itself weak references to engine objects, and their - validity can be checked by calling the -\begin_inset Quotes eld -\end_inset - -has_instance() -\begin_inset Quotes erd -\end_inset - - built-in method. -\end_layout - -\begin_layout Section -Unicode -\end_layout - -\begin_layout Standard -Squirrel source code is supposed to support Unicode, but the implementation - is very broken (Squirrel attempts to use 16 bit chars no matter what, making - it incompatible when the host OS is 32 bit, like Linux). - Squirrel source code is parsed as UTF-8, and strings also contain UTF-8. - Wide char access in strings is not supported. -\end_layout - -\begin_layout Section -Debugging -\end_layout - -\begin_layout Standard -Squirrel is well integrated into the Godot debugger. - To run the project in debug mode, execute the godot binary with the -debug - argument. - Godot will break on squirrel errors and allow the programmer to debug. -\end_layout - -\begin_layout Section -Utility Functions -\end_layout - -\begin_layout Standard -There are a few squirrel-only utility functions available: -\end_layout - -\begin_layout Subsection -print(value[,value]) -\end_layout - -\begin_layout Standard -Print stuff to stdout. -\end_layout - -\begin_layout Subsection -dofile(path) -\end_layout - -\begin_layout Standard -Execute a squirrel script file and return whatever the file returns. - Not recommended to use in production because it can't be optimized. -\end_layout - -\begin_layout Subsection -nativeref(var) -\end_layout - -\begin_layout Standard -Convert any squirrel type to an engine type. - When this type returns to squirrel, it's converted back. - This is useful to add to Godot callbacks to ensure that the datatype is - not converted. -\end_layout - -\begin_layout Subsection -unicode_split(string) -\end_layout - -\begin_layout Standard -Split an unicode string (utf8) into an array of widechars. - Useful since there is no wide char access from Squirrel. -\end_layout - -\begin_layout Subsection -breakpoint() -\end_layout - -\begin_layout Standard -Stop the debugger when reaches here (when run inside the debugger). -\end_layout - -\begin_layout Subsection -backtrace() -\end_layout - -\begin_layout Standard -Print a backtrace of the call stack. -\end_layout - -\begin_layout Subsection -tr(text) -\end_layout - -\begin_layout Standard -Translate text (use string lookup in Godot translation system). -\end_layout - -\begin_layout Subsection -printerr(text) -\end_layout - -\begin_layout Standard -Print a string to stderr. -\end_layout - -\end_body -\end_document diff --git a/doc/todo.txt b/doc/todo.txt deleted file mode 100644 index 511b5dbbe2..0000000000 --- a/doc/todo.txt +++ /dev/null @@ -1,39 +0,0 @@ --Fisica 2D - *terminar constraints - *terminar queries - *desactivar on suspend - -bugs supongo? - --Fisica 3D - -portar engine 2D a 3D mayoritariamente (si puedo esperar, mejor) - -hacer que skeletons se vuelvan ragdolls de alguna forma - -hacer bien lo de enganchar cosas a huesos de esqueleto - --GUI - - Tree necesita resizear desde los headers - --Escena 3D - -Deshabilitar 3D (Opcional en compilacion) - -Particulas 3D - -Heightmaps - -Arreglar fixed pipeline - -arreglar glow y ssao - --Editor codigo - -Editor de codigo (esta, pero esta lleno de bugs) - -Debugger (esta, pero hay que integrar bien) - --UI General - -Cambiar lugar el tema de resources porque es MUY poco intuitivo - -Tal vez arreglar un poquito el theme y la estetica (para release, low priority) - -Run deberia correr la escena main - -new script deberia dar opcion de crear en disco - -los scripts de deberian mantener abiertos al abrir otra escena - - - --Settings - -Hacer pantalla de optimizacion general del proyecto - --A futuro: - -Scripting Propio - -Portar a DX9/GL3
\ No newline at end of file diff --git a/doc/tutorial/01 Getting Started.lyx b/doc/tutorial/01 Getting Started.lyx deleted file mode 100644 index bdb4c7706d..0000000000 --- a/doc/tutorial/01 Getting Started.lyx +++ /dev/null @@ -1,557 +0,0 @@ -#LyX 1.6.5 created this file. For more info see http://www.lyx.org/ -\lyxformat 345 -\begin_document -\begin_header -\textclass article -\use_default_options true -\language english -\inputencoding auto -\font_roman default -\font_sans default -\font_typewriter default -\font_default_family default -\font_sc false -\font_osf false -\font_sf_scale 100 -\font_tt_scale 100 - -\graphics default -\paperfontsize default -\use_hyperref false -\papersize default -\use_geometry false -\use_amsmath 1 -\use_esint 1 -\cite_engine basic -\use_bibtopic false -\paperorientation portrait -\secnumdepth 3 -\tocdepth 3 -\paragraph_separation indent -\defskip medskip -\quotes_language english -\papercolumns 1 -\papersides 1 -\paperpagestyle default -\tracking_changes false -\output_changes false -\author "" -\author "" -\end_header - -\begin_body - -\begin_layout Title -01. - Getting Started with Godot Engine -\end_layout - -\begin_layout Section* -Introduction: -\end_layout - -\begin_layout Standard -Godot Engine is designed to be useful. - This may sound rather vague and is difficult to explain without repeating - the same claims that every other engine does, but, as we progress through - this (and the next) tutorials, hopefully it will be made clear what -\begin_inset Quotes eld -\end_inset - -useful -\begin_inset Quotes erd -\end_inset - - means. -\end_layout - -\begin_layout Standard -Godot Engine has many components, both high and low level, and is usually - more abstract and complex than most other engines. - This is, however, to the advantage of the user as complexity is presented - in a way that it only needs to be discovered when more power needs to be - untapped. - This helps to provide an easy learning curve. -\end_layout - -\begin_layout Standard -Design wise, the whole API and set of components were created with a clear - goal in mind, which is to allow for smooth integration of design ideas, - code and assets. - This is achieved by defining the following rules: -\end_layout - -\begin_layout Itemize -Implementing a game feature should never be too many steps away from an - existing component. -\end_layout - -\begin_layout Itemize -More complex features should be leveraged by combining or extending existing - components. -\end_layout - -\begin_layout Itemize -If the above fails, creating custom components should be extremely simple. -\end_layout - -\begin_layout Standard -Ultimately, Godot Engine provides an editor and tools that allows everyone - to work with it: -\end_layout - -\begin_layout Itemize -Programmers can script and extend any component of the project. -\end_layout - -\begin_layout Itemize -Designers can tweak and animate any parameter from a friendly user interface. -\end_layout - -\begin_layout Itemize -Artists can import their art and models and tweak the look of everything - in realtime. -\end_layout - -\begin_layout Section* -Editor: -\end_layout - -\begin_layout Standard -As mentioned before, Godot Engine is very abstract so projects consist of - just a -\emph on -path -\emph default - (ie: C: -\backslash -games -\backslash -mygame5). - Projects don't have to be specifically created, and many can be placed - inside the same path (useful for not wasting folders on tests and experiments). - -\end_layout - -\begin_layout Standard -In any case, to ease the management of projects, a graphical util exists. -\end_layout - -\begin_layout Subsection* -Running From The Project Manager -\end_layout - -\begin_layout Standard -Godot Engine includes a built-in project manager. - This is installed by default on Windows and OSX and it allows for the creation - and removal projects that will be remembered at the next startup: -\end_layout - -\begin_layout Standard -\align center -\begin_inset Graphics - filename pm.png - -\end_inset - - -\end_layout - -\begin_layout Standard -To create a new project, the [Create] button must be pressed and a dialog - will appear, prompting for a path and project name. - Afterwards, the [Open] button will close the project manager and open the - desired project. -\end_layout - -\begin_layout Subsection* -Running From the Command Line -\end_layout - -\begin_layout Standard -To create and manage projects, it is perfectly possible to use the command - line. - Many users prefer this way of working with project data. -\end_layout - -\begin_layout Standard -\align center -\begin_inset Graphics - filename pmc.png - -\end_inset - - -\end_layout - -\begin_layout Standard -For ease of use, it is recommended that the -\begin_inset Quotes eld -\end_inset - -godot -\begin_inset Quotes erd -\end_inset - - binary exists in the path, so any project can be opened easily aywhere - just by changing location to the projec and executing the editor. -\end_layout - -\begin_layout Subsection* -Godot Editor -\end_layout - -\begin_layout Standard -Godot Editor should have been opened by now, if not please check the previous - steps again. -\end_layout - -\begin_layout Standard -Godot has a powerful buit-in editor. - It uses the graphics toolkint within itself to display the UI, so it runs - identical on any platform (even consoles or phones!). -\end_layout - -\begin_layout Standard -\align center -\begin_inset Graphics - filename editor.png - -\end_inset - - -\end_layout - -\begin_layout Standard -In the above screenshots, a few regions are labelled to be explained as - follows: -\end_layout - -\begin_layout Subsubsection* -Viewport -\end_layout - -\begin_layout Standard -The -\emph on -Viewport -\emph default - is the main space where the content is displayed. - Content includes 3D Nodes or Graphical User Interface (GUI) controls. - Other types of data spawn editors of their own when being edited. - The default viewport is the 3D viewport, which can be panned, zoomed, etc. -\end_layout - -\begin_layout Subsubsection* -Scene Tree -\end_layout - -\begin_layout Standard -The -\emph on -Scene Tree -\emph default - is a small dock that displays the tree of the current scene being edited. - A scene is a collection of nodes arranged in a tree-hierarchy (any node - can have several owned children-nodes). - The meaning of this ownership depends purely on the -\emph on -type -\emph default - of the node, but it will become clear after going through the examples. - In a -\emph on -MVC -\emph default - pattern, the scene tree could be considered the -\emph on -View -\emph default -. -\end_layout - -\begin_layout Subsubsection* -Property Editor -\end_layout - -\begin_layout Standard -The -\emph on -Property Editor -\emph default - is another small dock. - Every node contains a finite number of -\emph on -properties -\emph default -, which can be edited. - Properties can be of several types, such as integers, strings, images, - matrices, etc. - Usually, changes to properties are reflected in the -\emph on -viewport -\emph default - in real time. -\end_layout - -\begin_layout Section* -Examples: -\end_layout - -\begin_layout Standard -From now, a few, simple examples will be presented that will help understand - a little better how Godot Engine works. - -\end_layout - -\begin_layout Subsubsection* -Hello, World! -\end_layout - -\begin_layout Enumerate -Open the editor -\end_layout - -\begin_layout Enumerate -Click on -\begin_inset Quotes eld -\end_inset - -Node -\begin_inset Quotes erd -\end_inset - - (Node Menu), then on -\begin_inset Quotes eld -\end_inset - -Create Root -\begin_inset Quotes erd -\end_inset - - -\end_layout - -\begin_deeper -\begin_layout Standard -\align center -\begin_inset Graphics - filename tute1_1.png - -\end_inset - - -\end_layout - -\end_deeper -\begin_layout Enumerate -Create a node of type -\emph on -Label, -\emph default -then instruct the -\emph on -editor -\emph default -to switch to GUI editing mode. - A few red squares will appear on the top left corner, don't mind them yet. -\end_layout - -\begin_deeper -\begin_layout Standard -\align center -\begin_inset Graphics - filename tute1_2.png - -\end_inset - - -\end_layout - -\begin_layout Standard -\align center -\begin_inset Graphics - filename tute1_2b.png - -\end_inset - - -\end_layout - -\begin_layout Standard -\align center -\begin_inset Graphics - filename tute1_3c.png - -\end_inset - - -\end_layout - -\end_deeper -\begin_layout Enumerate -Select the -\emph on -Label -\emph default -node in the -\emph on -Scene Tree -\emph default - (if it's not selected yet), the properties of the selected node will appear - in the -\emph on -Property Editor -\end_layout - -\begin_deeper -\begin_layout Standard -\align center -\begin_inset Graphics - filename tute1_3a.png - -\end_inset - - -\end_layout - -\begin_layout Standard -\align center -\begin_inset Graphics - filename tute1_3b.png - -\end_inset - - -\end_layout - -\end_deeper -\begin_layout Enumerate -Look for the -\emph on -Text -\emph default - property in the -\emph on -Property Editor -\emph default - and click the right column, so it becomes editable. - Enter the text -\begin_inset Quotes eld -\end_inset - -Hello, World! -\begin_inset Quotes erd -\end_inset - -. - A red square containing -\begin_inset Quotes eld -\end_inset - -Hello World! -\begin_inset Quotes erd -\end_inset - - will appear at the top left, move it to the center. -\end_layout - -\begin_deeper -\begin_layout Standard -\align center -\begin_inset Graphics - filename tute1_4a.png - -\end_inset - - -\end_layout - -\begin_layout Standard -\align center -\begin_inset Graphics - filename tute1_4b.png - -\end_inset - - -\end_layout - -\end_deeper -\begin_layout Enumerate -Save the scene. -\end_layout - -\begin_deeper -\begin_layout Standard -\align center -\begin_inset Graphics - filename tute1_5a.png - -\end_inset - - -\end_layout - -\begin_layout Standard -\align center -\begin_inset Graphics - filename tute1_5b.png - -\end_inset - - -\end_layout - -\end_deeper -\begin_layout Enumerate -Press PLAY. - A new window will appear running the application. -\end_layout - -\begin_deeper -\begin_layout Standard -\align center -\begin_inset Graphics - filename tute1_6.png - -\end_inset - - -\end_layout - -\begin_layout Standard -\align center -\begin_inset Graphics - filename tute1_7.png - -\end_inset - - -\end_layout - -\end_deeper -\begin_layout Subsubsection* -Hello World 2 (a little more complex) -\end_layout - -\begin_layout Subsubsection* -A 3D Cube in Space -\end_layout - -\begin_layout Standard - -\end_layout - -\begin_layout Standard -In many cases, nodes and other types of engine objects need to express changes - in their state, such as a button being pressed, a scroll being dragged, - or a projectile colliding against a tank. - Godot Engine utilizes the concept of signals for this. - Different types of nodes and objects can emit signals, and any other node - or object can connect to them. - -\end_layout - -\end_body -\end_document diff --git a/doc/tutorial/editor.png b/doc/tutorial/editor.png Binary files differdeleted file mode 100644 index 92255a6f17..0000000000 --- a/doc/tutorial/editor.png +++ /dev/null diff --git a/doc/tutorial/pm.png b/doc/tutorial/pm.png Binary files differdeleted file mode 100644 index 00d46d9a64..0000000000 --- a/doc/tutorial/pm.png +++ /dev/null diff --git a/doc/tutorial/pmc.png b/doc/tutorial/pmc.png Binary files differdeleted file mode 100644 index 847d32b3a2..0000000000 --- a/doc/tutorial/pmc.png +++ /dev/null diff --git a/doc/tutorial/tute1_1.png b/doc/tutorial/tute1_1.png Binary files differdeleted file mode 100644 index 82152c7255..0000000000 --- a/doc/tutorial/tute1_1.png +++ /dev/null diff --git a/doc/tutorial/tute1_2.png b/doc/tutorial/tute1_2.png Binary files differdeleted file mode 100644 index 852015894c..0000000000 --- a/doc/tutorial/tute1_2.png +++ /dev/null diff --git a/doc/tutorial/tute1_2b.png b/doc/tutorial/tute1_2b.png Binary files differdeleted file mode 100644 index e97a40b4c5..0000000000 --- a/doc/tutorial/tute1_2b.png +++ /dev/null diff --git a/doc/tutorial/tute1_3a.png b/doc/tutorial/tute1_3a.png Binary files differdeleted file mode 100644 index 5feef01e03..0000000000 --- a/doc/tutorial/tute1_3a.png +++ /dev/null diff --git a/doc/tutorial/tute1_3b.png b/doc/tutorial/tute1_3b.png Binary files differdeleted file mode 100644 index 1f2ded42bb..0000000000 --- a/doc/tutorial/tute1_3b.png +++ /dev/null diff --git a/doc/tutorial/tute1_3c.png b/doc/tutorial/tute1_3c.png Binary files differdeleted file mode 100644 index 2c52ccd780..0000000000 --- a/doc/tutorial/tute1_3c.png +++ /dev/null diff --git a/doc/tutorial/tute1_4a.png b/doc/tutorial/tute1_4a.png Binary files differdeleted file mode 100644 index 8d0d04ff6b..0000000000 --- a/doc/tutorial/tute1_4a.png +++ /dev/null diff --git a/doc/tutorial/tute1_4b.png b/doc/tutorial/tute1_4b.png Binary files differdeleted file mode 100644 index fff5f8d723..0000000000 --- a/doc/tutorial/tute1_4b.png +++ /dev/null diff --git a/doc/tutorial/tute1_5a.png b/doc/tutorial/tute1_5a.png Binary files differdeleted file mode 100644 index 37bea04570..0000000000 --- a/doc/tutorial/tute1_5a.png +++ /dev/null diff --git a/doc/tutorial/tute1_5b.png b/doc/tutorial/tute1_5b.png Binary files differdeleted file mode 100644 index df9a987ef3..0000000000 --- a/doc/tutorial/tute1_5b.png +++ /dev/null diff --git a/doc/tutorial/tute1_6.png b/doc/tutorial/tute1_6.png Binary files differdeleted file mode 100644 index bbe04c8547..0000000000 --- a/doc/tutorial/tute1_6.png +++ /dev/null diff --git a/doc/tutorial/tute1_7.png b/doc/tutorial/tute1_7.png Binary files differdeleted file mode 100644 index 7653a89064..0000000000 --- a/doc/tutorial/tute1_7.png +++ /dev/null diff --git a/doc/undoredoapi.txt b/doc/undoredoapi.txt deleted file mode 100644 index eb73b8ccff..0000000000 --- a/doc/undoredoapi.txt +++ /dev/null @@ -1,25 +0,0 @@ -undo/redo api proposal - - - -o o o o o o o o - - -undoredo.create_method(); -undoredo.add_do_method(node,"add_child",node_to_add); -undoredo.add_undo_method(node,"remove_child",node_to_add); -undoredo.add_add_data(node_to_add); -undoredo.commit() - -undoredo.create_method(); -undoredo.add_do_method(node,"remove_node",node_to_remove); -undoredo.add_undo_method(node,"add_node",node_to_remove); -undoredo.add_remove_data(node_to_remove); -undoredo.commit() - - -undoredo.create_property(); -undoredo.add_do_set(node,"property",value); -undoredo.add_undo_set(node,"property",previous_value); -undoredo.add_remove_data(node_to_remove); -undoredo.commit() |