diff --git a/doc/classes/@GlobalScope.xml b/doc/classes/@GlobalScope.xml index c86f264830d..e192e85cd11 100644 --- a/doc/classes/@GlobalScope.xml +++ b/doc/classes/@GlobalScope.xml @@ -2530,6 +2530,8 @@ Deprecated method flag, unused. + + Default method flags. diff --git a/doc/classes/AABB.xml b/doc/classes/AABB.xml index 8cd7e6f5fa0..b66f4d11f2d 100644 --- a/doc/classes/AABB.xml +++ b/doc/classes/AABB.xml @@ -41,14 +41,14 @@ Constructs an [AABB] from a position and size. - + Returns an AABB with equivalent position and size, modified so that the most-negative corner is the origin and the size is positive. - + @@ -57,7 +57,7 @@ Returns [code]true[/code] if this [AABB] completely encloses another one. - + @@ -66,14 +66,14 @@ Returns this [AABB] expanded to include a given point. - + Returns the volume of the [AABB]. - + @@ -82,49 +82,49 @@ Gets the position of the 8 endpoints of the [AABB] in space. - + Returns the normalized longest axis of the [AABB]. - + Returns the index of the longest axis of the [AABB] (according to [Vector3]'s [code]AXIS_*[/code] constants). - + Returns the scalar length of the longest axis of the [AABB]. - + Returns the normalized shortest axis of the [AABB]. - + Returns the index of the shortest axis of the [AABB] (according to [Vector3]::AXIS* enum). - + Returns the scalar length of the shortest axis of the [AABB]. - + @@ -133,7 +133,7 @@ Returns the support point in a given direction. This is useful for collision detection algorithms. - + @@ -142,21 +142,21 @@ Returns a copy of the [AABB] grown a given amount of units towards all the sides. - + Returns [code]true[/code] if the [AABB] is flat or empty. - + Returns [code]true[/code] if the [AABB] is empty. - + @@ -165,7 +165,7 @@ Returns [code]true[/code] if the [AABB] contains a point. - + @@ -174,7 +174,7 @@ Returns the intersection between two [AABB]. An empty AABB (size 0,0,0) is returned on failure. - + @@ -183,7 +183,7 @@ Returns [code]true[/code] if the [AABB] overlaps with another. - + @@ -192,7 +192,7 @@ Returns [code]true[/code] if the [AABB] is on both sides of a plane. - + @@ -202,7 +202,7 @@ - + @@ -213,7 +213,7 @@ Returns [code]true[/code] if the [AABB] intersects the line segment between [code]from[/code] and [code]to[/code]. - + @@ -222,7 +222,7 @@ Returns [code]true[/code] if this [AABB] and [code]aabb[/code] are approximately equal, by calling [method @GlobalScope.is_equal_approx] on each component. - + diff --git a/doc/classes/Array.xml b/doc/classes/Array.xml index 8fb688a8ae2..dcfb91eb612 100644 --- a/doc/classes/Array.xml +++ b/doc/classes/Array.xml @@ -166,7 +166,7 @@ [/codeblock] - + @@ -207,7 +207,7 @@ Clears the array. This is equivalent to using [method resize] with a size of [code]0[/code]. - + @@ -216,7 +216,7 @@ Returns the number of times an element is in the array. - + @@ -237,7 +237,7 @@ [b]Note:[/b] On large arrays, this method will be slower if the removed element is close to the beginning of the array (index 0). This is because all elements placed after the removed element have to be reindexed. - + @@ -248,7 +248,7 @@ Searches the array for a value and returns its index or [code]-1[/code] if not found. Optionally, the initial search index can be passed. - + @@ -257,7 +257,7 @@ Searches the array in reverse order for a value and returns its index or [code]-1[/code] if not found. - + @@ -265,7 +265,7 @@ [b]Note:[/b] Calling this function is not the same as writing [code]array[0][/code]. If the array is empty, accessing by index will pause project execution when running from the editor. - + @@ -307,7 +307,7 @@ [/codeblocks] - + @@ -335,21 +335,21 @@ Reverses the order of the elements in the array. - + Returns [code]true[/code] if the array is empty. - + Returns the maximum value contained in the array if all elements are of comparable types. If the elements can't be compared, [code]null[/code] is returned. - + @@ -474,7 +474,7 @@ Resizes the array to contain a different number of elements. If the array size is smaller, elements are cleared, if bigger, new elements are [code]null[/code]. - + @@ -492,14 +492,14 @@ Shuffles the array such that the items will have a random order. This method uses the global random number generator common to methods such as [method @GlobalScope.randi]. Call [method @GlobalScope.randomize] to ensure that a new seed will be used each time if you want non-reproducible shuffling. - + Returns the number of elements in the array. - + diff --git a/doc/classes/Basis.xml b/doc/classes/Basis.xml index 4c9cd5702e2..55ae58ee3a1 100644 --- a/doc/classes/Basis.xml +++ b/doc/classes/Basis.xml @@ -78,7 +78,7 @@ Constructs a basis matrix from 3 axis vectors (matrix columns). - + @@ -86,7 +86,7 @@ A negative determinant means the basis has a negative scale. A zero determinant means the basis isn't invertible, and is usually considered invalid. - + @@ -94,35 +94,35 @@ Consider using the [method get_rotation_quat] method instead, which returns a [Quat] quaternion instead of Euler angles. - + This function considers a discretization of rotations into 24 points on unit sphere, lying along the vectors (x,y,z) with each component being either -1, 0, or 1, and returns the index of the point best representing the orientation of the object. It is mainly used by the [GridMap] editor. For further details, refer to the Godot source code. - + Returns the basis's rotation in the form of a quaternion. See [method get_euler] if you need Euler angles, but keep in mind quaternions should generally be preferred to Euler angles. - + Assuming that the matrix is the combination of a rotation and scaling, return the absolute value of scaling factors along each axis. - + Returns the inverse of the matrix. - + @@ -171,14 +171,14 @@ - + Returns the orthonormalized version of the matrix (useful to call from time to time to avoid rounding error for orthogonal matrices). This performs a Gram-Schmidt orthonormalization on the basis of the matrix. - + @@ -189,7 +189,7 @@ Introduce an additional rotation around the given axis by phi (radians). The axis must be a normalized vector. - + @@ -198,7 +198,7 @@ Introduce an additional scaling specified by the given 3D scaling factor. - + @@ -209,7 +209,7 @@ Assuming that the matrix is a proper rotation matrix, slerp performs a spherical-linear interpolation with another rotation matrix. - + @@ -218,7 +218,7 @@ Transposed dot product with the X axis of the matrix. - + @@ -227,7 +227,7 @@ Transposed dot product with the Y axis of the matrix. - + @@ -236,7 +236,7 @@ Transposed dot product with the Z axis of the matrix. - + diff --git a/doc/classes/Callable.xml b/doc/classes/Callable.xml index b69768d33f8..0cfbd0270c0 100644 --- a/doc/classes/Callable.xml +++ b/doc/classes/Callable.xml @@ -63,70 +63,70 @@ Creates a new [Callable] for the method called [code]method[/code] in the specified [code]object[/code]. - + Returns a copy of this [Callable] with the arguments bound. Bound arguments are passed after the arguments supplied by [method call]. - + Calls the method represented by this [Callable]. Arguments can be passed and should match the method's signature. - + Calls the method represented by this [Callable] in deferred mode, i.e. during the idle frame. Arguments can be passed and should match the method's signature. - + Returns the name of the method represented by this [Callable]. - + Returns the object on which this [Callable] is called. - + Returns the ID of this [Callable]'s object (see [method Object.get_instance_id]). - + Returns the hash value of this [Callable]'s object. - + Returns [code]true[/code] if this [Callable] is a custom callable whose behavior differs based on implementation details. Custom callables are used in the engine for various reasons. If [code]true[/code], you can't use [method get_method]. - + Returns [code]true[/code] if this [Callable] has no target to call the method on. - + @@ -151,7 +151,7 @@ Returns [code]true[/code] if both [Callable]s invoke the same custom target. - + diff --git a/doc/classes/Color.xml b/doc/classes/Color.xml index ce88e0ae88e..c33d007735a 100644 --- a/doc/classes/Color.xml +++ b/doc/classes/Color.xml @@ -51,6 +51,15 @@ [/codeblocks] + + + + + + + Constructs a [Color] either from an HTML color code or from a standardized color name. Supported color names are the same as the constants. + + @@ -65,10 +74,22 @@ - + + + + + - Constructs a [Color] either from an HTML color code or from a standardized color name. Supported color names are the same as the constants. + Constructs a [Color] from RGB values, typically between 0 and 1. Alpha will be 1. + [codeblocks] + [gdscript] + var color = Color(0.2, 1.0, 0.7) # Similar to `Color8(51, 255, 178, 255)` + [/gdscript] + [csharp] + var color = new Color(0.2f, 1.0f, 0.7f); // Similar to `Color.Color8(51, 255, 178, 255)` + [/csharp] + [/codeblocks] @@ -94,28 +115,7 @@ [/codeblocks] - - - - - - - - - - - Constructs a [Color] from RGB values, typically between 0 and 1. Alpha will be 1. - [codeblocks] - [gdscript] - var color = Color(0.2, 1.0, 0.7) # Similar to `Color8(51, 255, 178, 255)` - [/gdscript] - [csharp] - var color = new Color(0.2f, 1.0f, 0.7f); // Similar to `Color.Color8(51, 255, 178, 255)` - [/csharp] - [/codeblocks] - - - + @@ -136,7 +136,7 @@ [/codeblocks] - + @@ -155,7 +155,87 @@ [/codeblocks] - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -172,7 +252,7 @@ [/codeblocks] - + @@ -181,7 +261,7 @@ Returns [code]true[/code] if this color and [code]color[/code] are approximately equal, by running [method @GlobalScope.is_equal_approx] on each component. - + @@ -204,7 +284,7 @@ [/codeblocks] - + @@ -323,7 +403,7 @@ - + @@ -340,7 +420,7 @@ [/codeblocks] - + @@ -357,7 +437,7 @@ [/codeblocks] - + @@ -374,7 +454,7 @@ [/codeblocks] - + @@ -391,7 +471,7 @@ [/codeblocks] - + @@ -413,7 +493,7 @@ [/codeblocks] - + @@ -430,7 +510,7 @@ [/codeblocks] - + diff --git a/doc/classes/Dictionary.xml b/doc/classes/Dictionary.xml index d3fcbc9f647..05ffd7b2acb 100644 --- a/doc/classes/Dictionary.xml +++ b/doc/classes/Dictionary.xml @@ -206,7 +206,7 @@ Clear the dictionary, removing all key/value pairs. - + @@ -224,7 +224,7 @@ Erase a dictionary key/value pair by key. Returns [code]true[/code] if the given key was present in the dictionary, [code]false[/code] otherwise. Does not erase elements while iterating over the dictionary. - + @@ -235,7 +235,7 @@ Returns the current value for the specified key in the [Dictionary]. If the key does not exist, the method returns the value of the optional default argument, or [code]null[/code] if it is omitted. - + @@ -260,7 +260,7 @@ This method (like the [code]in[/code] operator) will evaluate to [code]true[/code] as long as the key exists, even if the associated value is [code]null[/code]. - + @@ -269,7 +269,7 @@ Returns [code]true[/code] if the dictionary has all of the keys in the given array. - + @@ -292,14 +292,14 @@ [b]Note:[/b] Dictionaries with the same keys/values but in a different order will have a different hash. - + Returns [code]true[/code] if the dictionary is empty. - + @@ -330,14 +330,14 @@ - + Returns the number of keys in the dictionary. - + diff --git a/doc/classes/NodePath.xml b/doc/classes/NodePath.xml index 36835d9e94b..e3f5fa1ce53 100644 --- a/doc/classes/NodePath.xml +++ b/doc/classes/NodePath.xml @@ -66,7 +66,7 @@ [/codeblock] - + @@ -89,7 +89,7 @@ [/codeblocks] - + @@ -106,7 +106,7 @@ [/codeblocks] - + @@ -129,7 +129,7 @@ [/codeblocks] - + @@ -137,7 +137,7 @@ For example, [code]"Path2D/PathFollow2D/Sprite2D"[/code] has 3 names. - + @@ -158,7 +158,7 @@ [/codeblocks] - + @@ -166,14 +166,14 @@ For example, [code]"Path2D/PathFollow2D/Sprite2D:texture:load_path"[/code] has 2 subnames. - + Returns [code]true[/code] if the node path is absolute (as opposed to relative), which means that it starts with a slash character ([code]/[/code]). Absolute node paths can be used to access the root node ([code]"/root"[/code]) or autoloads (e.g. [code]"/global"[/code] if a "global" autoload was registered). - + diff --git a/doc/classes/PackedByteArray.xml b/doc/classes/PackedByteArray.xml index 75fb7c14652..34a55d4fe7b 100644 --- a/doc/classes/PackedByteArray.xml +++ b/doc/classes/PackedByteArray.xml @@ -52,7 +52,7 @@ Appends a [PackedByteArray] at the end of this array. - + @@ -61,7 +61,7 @@ Returns a new [PackedByteArray] with the data compressed. Set the compression mode using one of [enum File.CompressionMode]'s constants. - + @@ -72,7 +72,7 @@ Returns a new [PackedByteArray] with the data decompressed. Set [code]buffer_size[/code] to the size of the uncompressed data. Set the compression mode using one of [enum File.CompressionMode]'s constants. - + @@ -92,28 +92,28 @@ Creates a copy of the array, and returns it. - + Converts ASCII/Latin-1 encoded array to [String]. Fast alternative to [method get_string_from_utf8] if the content is ASCII/Latin-1 only. Unlike the UTF-8 function this function maps every byte to a character in the array. Multibyte sequences will not be interpreted correctly. For parsing user input always use [method get_string_from_utf8]. - + Converts UTF-16 encoded array to [String]. If the BOM is missing, system endianness is assumed. Returns empty string if source array is not valid UTF-16 string. - + Converts UTF-32 encoded array to [String]. System endianness is assumed. Returns empty string if source array is not valid UTF-32 string. - + @@ -129,7 +129,7 @@ Returns [code]true[/code] if the array contains [code]value[/code]. - + @@ -164,7 +164,7 @@ Reverses the order of the elements in the array. - + @@ -241,7 +241,7 @@ Changes the byte at the given index. - + @@ -255,7 +255,7 @@ Sorts the elements of the array in ascending order. - + diff --git a/doc/classes/PackedColorArray.xml b/doc/classes/PackedColorArray.xml index 48d5822f7c0..abfedc84cc9 100644 --- a/doc/classes/PackedColorArray.xml +++ b/doc/classes/PackedColorArray.xml @@ -86,7 +86,7 @@ Reverses the order of the elements in the array. - + @@ -163,7 +163,7 @@ Changes the [Color] at the given index. - + @@ -177,7 +177,7 @@ Sorts the elements of the array in ascending order. - + @@ -187,7 +187,7 @@ - + diff --git a/doc/classes/PackedFloat32Array.xml b/doc/classes/PackedFloat32Array.xml index 6598828089c..8918312dc72 100644 --- a/doc/classes/PackedFloat32Array.xml +++ b/doc/classes/PackedFloat32Array.xml @@ -87,7 +87,7 @@ Reverses the order of the elements in the array. - + @@ -156,7 +156,7 @@ Changes the float at the given index. - + @@ -170,7 +170,7 @@ Sorts the elements of the array in ascending order. - + @@ -180,7 +180,7 @@ - + diff --git a/doc/classes/PackedFloat64Array.xml b/doc/classes/PackedFloat64Array.xml index d116c6756be..fbb832299ee 100644 --- a/doc/classes/PackedFloat64Array.xml +++ b/doc/classes/PackedFloat64Array.xml @@ -87,7 +87,7 @@ Reverses the order of the elements in the array. - + @@ -164,7 +164,7 @@ Changes the float at the given index. - + @@ -178,7 +178,7 @@ Sorts the elements of the array in ascending order. - + @@ -188,7 +188,7 @@ - + diff --git a/doc/classes/PackedInt32Array.xml b/doc/classes/PackedInt32Array.xml index 2ac7a67b4b3..ecef2d508b4 100644 --- a/doc/classes/PackedInt32Array.xml +++ b/doc/classes/PackedInt32Array.xml @@ -87,7 +87,7 @@ Reverses the order of the elements in the array. - + @@ -164,7 +164,7 @@ Changes the integer at the given index. - + @@ -178,7 +178,7 @@ Sorts the elements of the array in ascending order. - + @@ -188,7 +188,7 @@ - + diff --git a/doc/classes/PackedInt64Array.xml b/doc/classes/PackedInt64Array.xml index a7b6bf0a0fd..19619d60cf6 100644 --- a/doc/classes/PackedInt64Array.xml +++ b/doc/classes/PackedInt64Array.xml @@ -87,7 +87,7 @@ Reverses the order of the elements in the array. - + @@ -164,7 +164,7 @@ Changes the integer at the given index. - + @@ -178,7 +178,7 @@ Sorts the elements of the array in ascending order. - + @@ -188,7 +188,7 @@ - + diff --git a/doc/classes/PackedStringArray.xml b/doc/classes/PackedStringArray.xml index fb7ed2a9068..c241573b938 100644 --- a/doc/classes/PackedStringArray.xml +++ b/doc/classes/PackedStringArray.xml @@ -87,7 +87,7 @@ Reverses the order of the elements in the array. - + @@ -164,7 +164,7 @@ Changes the [String] at the given index. - + @@ -178,7 +178,7 @@ Sorts the elements of the array in ascending order. - + @@ -188,7 +188,7 @@ - + diff --git a/doc/classes/PackedVector2Array.xml b/doc/classes/PackedVector2Array.xml index eb364ddb18e..9138dc68e10 100644 --- a/doc/classes/PackedVector2Array.xml +++ b/doc/classes/PackedVector2Array.xml @@ -87,7 +87,7 @@ Reverses the order of the elements in the array. - + @@ -172,7 +172,7 @@ Changes the [Vector2] at the given index. - + @@ -186,7 +186,7 @@ Sorts the elements of the array in ascending order. - + @@ -196,7 +196,7 @@ - + diff --git a/doc/classes/PackedVector3Array.xml b/doc/classes/PackedVector3Array.xml index 08ce187b5c6..0a3b0cf2c00 100644 --- a/doc/classes/PackedVector3Array.xml +++ b/doc/classes/PackedVector3Array.xml @@ -86,7 +86,7 @@ Reverses the order of the elements in the array. - + @@ -171,7 +171,7 @@ Changes the [Vector3] at the given index. - + @@ -185,7 +185,7 @@ Sorts the elements of the array in ascending order. - + @@ -195,7 +195,7 @@ - + diff --git a/doc/classes/Plane.xml b/doc/classes/Plane.xml index ed96f753c20..2342f00631c 100644 --- a/doc/classes/Plane.xml +++ b/doc/classes/Plane.xml @@ -76,14 +76,14 @@ Creates a plane from the three points, given in clockwise order. - + Returns the center of the plane. - + @@ -92,7 +92,7 @@ Returns the shortest distance from the plane to the position [code]point[/code]. - + @@ -103,7 +103,7 @@ Returns [code]true[/code] if [code]point[/code] is inside the plane. Comparison uses a custom minimum [code]epsilon[/code] threshold. - + @@ -114,7 +114,7 @@ Returns the intersection point of the three planes [code]b[/code], [code]c[/code] and this plane. If no intersection is found, [code]null[/code] is returned. - + @@ -125,7 +125,7 @@ Returns the intersection point of a ray consisting of the position [code]from[/code] and the direction normal [code]dir[/code] with this plane. If no intersection is found, [code]null[/code] is returned. - + @@ -136,7 +136,7 @@ Returns the intersection point of a segment from position [code]begin[/code] to position [code]end[/code] with this plane. If no intersection is found, [code]null[/code] is returned. - + @@ -145,7 +145,7 @@ Returns [code]true[/code] if this plane and [code]plane[/code] are approximately equal, by running [method @GlobalScope.is_equal_approx] on each component. - + @@ -154,7 +154,7 @@ Returns [code]true[/code] if [code]point[/code] is located above the plane. - + @@ -189,7 +189,7 @@ - + diff --git a/doc/classes/ProjectSettings.xml b/doc/classes/ProjectSettings.xml index ac63c5da795..9dad01e6dc6 100644 --- a/doc/classes/ProjectSettings.xml +++ b/doc/classes/ProjectSettings.xml @@ -1143,7 +1143,7 @@ Default cell size for 2D navigation maps. See [method NavigationServer2D.map_set_cell_size]. - + Default edge connection margin for 2D navigation maps. See [method NavigationServer2D.map_set_edge_connection_margin]. diff --git a/doc/classes/Quat.xml b/doc/classes/Quat.xml index ef83ae7fb9f..e801de12549 100644 --- a/doc/classes/Quat.xml +++ b/doc/classes/Quat.xml @@ -83,7 +83,7 @@ Constructs a quaternion defined by the given values. - + @@ -98,7 +98,7 @@ Performs a cubic spherical interpolation between quaternions [code]pre_a[/code], this vector, [code]b[/code], and [code]post_b[/code], by the given amount [code]weight[/code]. - + @@ -107,21 +107,21 @@ Returns the dot product of two quaternions. - + Returns Euler angles (in the YXZ convention: when decomposing, first Z, then X, and Y last) corresponding to the rotation represented by the unit quaternion. Returned vector contains the rotation angles in the format (X angle, Y angle, Z angle). - + Returns the inverse of the quaternion. - + @@ -130,28 +130,28 @@ Returns [code]true[/code] if this quaterion and [code]quat[/code] are approximately equal, by running [method @GlobalScope.is_equal_approx] on each component. - + Returns whether the quaternion is normalized or not. - + Returns the length of the quaternion. - + Returns the length of the quaternion, squared. - + @@ -258,7 +258,7 @@ - + @@ -270,7 +270,7 @@ [b]Note:[/b] Both quaternions must be normalized. - + diff --git a/doc/classes/RID.xml b/doc/classes/RID.xml index 0ee34d4194a..e686a4b8fdc 100644 --- a/doc/classes/RID.xml +++ b/doc/classes/RID.xml @@ -25,7 +25,7 @@ Constructs a [RID] as a copy of the given [RID]. - + diff --git a/doc/classes/Rect2.xml b/doc/classes/Rect2.xml index 5d7ff395875..ba6342ec240 100644 --- a/doc/classes/Rect2.xml +++ b/doc/classes/Rect2.xml @@ -65,14 +65,14 @@ Constructs a [Rect2] by x, y, width, and height. - + Returns a [Rect2] with equivalent position and area, modified so that the top-left corner is the origin and [code]width[/code] and [code]height[/code] are positive. - + @@ -81,7 +81,7 @@ Returns [code]true[/code] if this [Rect2] completely encloses another one. - + @@ -90,14 +90,14 @@ Returns this [Rect2] expanded to include a given point. - + Returns the area of the [Rect2]. - + @@ -106,7 +106,7 @@ Returns a copy of the [Rect2] grown by the specified [code]amount[/code] on all sides. - + @@ -121,7 +121,7 @@ Returns a copy of the [Rect2] grown by the specified amount on each side individually. - + @@ -132,14 +132,14 @@ Returns a copy of the [Rect2] grown by the specified [code]amount[/code] on the specified [enum Side]. - + Returns [code]true[/code] if the [Rect2] is flat or empty. - + @@ -148,7 +148,7 @@ Returns [code]true[/code] if the [Rect2] contains a point. - + @@ -158,7 +158,7 @@ If the rectangles do not intersect, an empty [Rect2] is returned. - + @@ -170,7 +170,7 @@ If [code]include_borders[/code] is [code]true[/code], they will also be considered overlapping if their borders touch, even without intersection. - + @@ -179,7 +179,7 @@ Returns [code]true[/code] if this [Rect2] and [code]rect[/code] are approximately equal, by calling [code]is_equal_approx[/code] on each component. - + diff --git a/doc/classes/Rect2i.xml b/doc/classes/Rect2i.xml index e581ccdb118..dd71b5a6303 100644 --- a/doc/classes/Rect2i.xml +++ b/doc/classes/Rect2i.xml @@ -63,14 +63,14 @@ Constructs a [Rect2i] by x, y, width, and height. - + Returns a [Rect2i] with equivalent position and area, modified so that the top-left corner is the origin and [code]width[/code] and [code]height[/code] are positive. - + @@ -79,7 +79,7 @@ Returns [code]true[/code] if this [Rect2i] completely encloses another one. - + @@ -88,14 +88,14 @@ Returns this [Rect2i] expanded to include a given point. - + Returns the area of the [Rect2i]. - + @@ -104,7 +104,7 @@ Returns a copy of the [Rect2i] grown by the specified [code]amount[/code] on all sides. - + @@ -119,7 +119,7 @@ Returns a copy of the [Rect2i] grown by the specified amount on each side individually. - + @@ -130,14 +130,14 @@ Returns a copy of the [Rect2i] grown by the specified [code]amount[/code] on the specified [enum Side]. - + Returns [code]true[/code] if the [Rect2i] is flat or empty. - + @@ -146,7 +146,7 @@ Returns [code]true[/code] if the [Rect2i] contains a point. - + @@ -156,7 +156,7 @@ If the rectangles do not intersect, an empty [Rect2i] is returned. - + @@ -166,7 +166,7 @@ If [code]include_borders[/code] is [code]true[/code], they will also be considered overlapping if their borders touch, even without intersection. - + diff --git a/doc/classes/Signal.xml b/doc/classes/Signal.xml index b7a2258fc1e..84efc974c01 100644 --- a/doc/classes/Signal.xml +++ b/doc/classes/Signal.xml @@ -57,42 +57,42 @@ Disconnects this signal from the specified [Callable]. - + Emits this signal to all connected objects. - + Returns the list of [Callable]s connected to this signal. - + Returns the name of this signal. - + Returns the object emitting this signal. - + Returns the ID of the object emitting this signal (see [method Object.get_instance_id]). - + @@ -101,7 +101,7 @@ Returns [code]true[/code] if the specified [Callable] is connected to this signal. - + diff --git a/doc/classes/String.xml b/doc/classes/String.xml index 475b17d3957..416438e648c 100644 --- a/doc/classes/String.xml +++ b/doc/classes/String.xml @@ -44,7 +44,7 @@ Constructs a new String from the given [StringName]. - + @@ -53,14 +53,14 @@ Returns [code]true[/code] if the string begins with the given string. - + Returns the bigrams (pairs of consecutive letters) of this string. - + @@ -77,14 +77,14 @@ [/codeblocks] - + Returns a copy of the string with special characters escaped using the C language standard. - + @@ -92,14 +92,14 @@ [b]Note:[/b] Unlike the GDScript parser, this method doesn't support the [code]\uXXXX[/code] escape sequence. - + Changes the case of some letters. Replaces underscores with spaces, adds spaces before in-word uppercase characters, converts all letters to lowercase, then capitalizes the first letter and every letter following a space character. For [code]capitalize camelCase mixed_with_underscores[/code], it will return [code]Capitalize Camel Case Mixed With Underscores[/code]. - + @@ -111,7 +111,15 @@ To get a boolean result from a string comparison, use the [code]==[/code] operator instead. See also [method nocasecmp_to] and [method naturalnocasecmp_to]. - + + + + + + + + + @@ -124,7 +132,7 @@ Returns the number of occurrences of substring [code]what[/code] between [code]from[/code] and [code]to[/code] positions. If [code]from[/code] and [code]to[/code] equals 0 the whole string will be used. If only [code]to[/code] equals 0 the remained substring will be used. - + @@ -137,14 +145,14 @@ Returns the number of occurrences of substring [code]what[/code] (ignoring case) between [code]from[/code] and [code]to[/code] positions. If [code]from[/code] and [code]to[/code] equals 0 the whole string will be used. If only [code]to[/code] equals 0 the remained substring will be used. - + Returns a copy of the string with indentation (leading tabs and spaces) removed. - + @@ -153,7 +161,7 @@ Returns [code]true[/code] if the string ends with the given string. - + @@ -174,7 +182,7 @@ [/codeblocks] - + @@ -185,7 +193,7 @@ Returns the index of the [b]first[/b] case-insensitive occurrence of the specified string in this instance, or [code]-1[/code]. Optionally, the starting search index can be specified, continuing to the end of the string. - + @@ -196,42 +204,42 @@ Formats the string by replacing all occurrences of [code]placeholder[/code] with [code]values[/code]. - + If the string is a valid file path, returns the base directory name. - + If the string is a valid file path, returns the full file path without the extension. - + If the string is a valid file path, returns the extension. - + If the string is a valid file path, returns the filename. - + Hashes the string and returns a 32-bit integer. - + @@ -248,7 +256,15 @@ [/codeblocks] - + + + + + + + + + @@ -259,28 +275,28 @@ Returns a copy of the string with the substring [code]what[/code] inserted at the given position. - + If the string is a path to a file or directory, returns [code]true[/code] if the path is absolute. - + Returns [code]true[/code] if the length of the string equals [code]0[/code]. - + If the string is a path to a file or directory, returns [code]true[/code] if the path is relative. - + @@ -289,7 +305,7 @@ Returns [code]true[/code] if this string is a subsequence of the given string. - + @@ -298,7 +314,7 @@ Returns [code]true[/code] if this string is a subsequence of the given string, without considering case. - + @@ -306,14 +322,14 @@ [code]: / \ ? * " | % < >[/code] - + Returns [code]true[/code] if this string contains a valid float. - + @@ -322,35 +338,35 @@ Returns [code]true[/code] if this string contains a valid hexadecimal number. If [code]with_prefix[/code] is [code]true[/code], then a validity of the hexadecimal number is determined by [code]0x[/code] prefix, for instance: [code]0xDEADC0DE[/code]. - + Returns [code]true[/code] if this string contains a valid color in hexadecimal HTML notation. Other HTML notations such as named colors or [code]hsl()[/code] colors aren't considered valid by this method and will return [code]false[/code]. - + Returns [code]true[/code] if this string is a valid identifier. A valid identifier may contain only letters, digits and underscores ([code]_[/code]) and the first character may not be a digit. - + Returns [code]true[/code] if this string contains a valid integer. - + Returns [code]true[/code] if this string contains only a well-formatted IPv4 or IPv6 address. This method considers [url=https://en.wikipedia.org/wiki/Reserved_IP_addresses]reserved IP addresses[/url] such as [code]0.0.0.0[/code] as valid. - + @@ -368,14 +384,14 @@ [/codeblocks] - + Returns a copy of the string with special characters escaped using the JSON standard. - + @@ -384,14 +400,14 @@ Returns a number of characters from the left of the string. - + Returns the string's amount of characters. - + @@ -402,7 +418,7 @@ Formats a string to be at least [code]min_length[/code] long by adding [code]character[/code]s to the left of the string. - + @@ -412,7 +428,7 @@ [b]Note:[/b] The [code]chars[/code] is not a prefix. See [method trim_prefix] method that will remove a single prefix string rather than a set of characters. - + @@ -421,7 +437,7 @@ Does a simple case-sensitive expression match, where [code]"*"[/code] matches zero or more arbitrary characters and [code]"?"[/code] matches any single character except a period ([code]"."[/code]). - + @@ -430,21 +446,21 @@ Does a simple case-insensitive expression match, where [code]"*"[/code] matches zero or more arbitrary characters and [code]"?"[/code] matches any single character except a period ([code]"."[/code]). - + Returns the MD5 hash of the string as an array of bytes. - + Returns the MD5 hash of the string as a string. - + @@ -457,7 +473,7 @@ To get a boolean result from a string comparison, use the [code]==[/code] operator instead. See also [method nocasecmp_to] and [method casecmp_to]. - + @@ -469,6 +485,24 @@ To get a boolean result from a string comparison, use the [code]==[/code] operator instead. See also [method casecmp_to] and [method naturalnocasecmp_to]. + + + + + + + + + + + + + + + + + + @@ -549,7 +583,7 @@ - + @@ -558,7 +592,7 @@ Formats a number to have an exact number of [code]digits[/code] after the decimal point. - + @@ -567,7 +601,7 @@ Formats a number to have an exact number of [code]digits[/code] before the decimal point. - + @@ -576,7 +610,7 @@ If the string is a path, this concatenates [code]file[/code] at the end of the string as a subpath. E.g. [code]"this/is".plus_file("path") == "this/is/path"[/code]. - + @@ -585,7 +619,7 @@ Returns original string repeated a number of times. The number of repetitions is given by the argument. - + @@ -596,7 +630,7 @@ Replaces occurrences of a case-sensitive substring with the given one inside the string. - + @@ -607,7 +641,7 @@ Replaces occurrences of a case-insensitive substring with the given one inside the string. - + @@ -618,7 +652,7 @@ Returns the index of the [b]last[/b] case-sensitive occurrence of the specified string in this instance, or [code]-1[/code]. Optionally, the starting search index can be specified, continuing to the beginning of the string. - + @@ -629,7 +663,7 @@ Returns the index of the [b]last[/b] case-insensitive occurrence of the specified string in this instance, or [code]-1[/code]. Optionally, the starting search index can be specified, continuing to the beginning of the string. - + @@ -638,7 +672,7 @@ Returns the right side of the string from a given position. - + @@ -649,7 +683,7 @@ Formats a string to be at least [code]min_length[/code] long by adding [code]character[/code]s to the right of the string. - + @@ -677,7 +711,7 @@ [/codeblocks] - + @@ -687,35 +721,35 @@ [b]Note:[/b] The [code]chars[/code] is not a suffix. See [method trim_suffix] method that will remove a single suffix string rather than a set of characters. - + Returns the SHA-1 hash of the string as an array of bytes. - + Returns the SHA-1 hash of the string as a string. - + Returns the SHA-256 hash of the string as an array of bytes. - + Returns the SHA-256 hash of the string as a string. - + @@ -724,7 +758,7 @@ Returns the similarity index of the text compared to this string. 1 means totally similar and 0 means totally dissimilar. - + @@ -755,7 +789,7 @@ If you need to split strings with more complex rules, use the [RegEx] class instead. - + @@ -767,7 +801,7 @@ For example, [code]"1,2.5,3"[/code] will return [code][1,2.5,3][/code] if split by [code]","[/code]. - + @@ -778,14 +812,14 @@ Returns a copy of the string stripped of any non-printable character (including tabulations, spaces and line breaks) at the beginning and the end. The optional arguments are used to toggle stripping on the left and right edges respectively. - + Returns a copy of the string stripped of any escape character. These include all non-printable control characters of the first page of the ASCII table (< 32), such as tabulation ([code]\t[/code] in C) and newline ([code]\n[/code] and [code]\r[/code]) characters, but not spaces. - + @@ -796,63 +830,63 @@ Returns part of the string from the position [code]from[/code] with length [code]len[/code]. Argument [code]len[/code] is optional and using [code]-1[/code] will return remaining characters from given position. - + Converts the String (which is a character array) to ASCII/Latin-1 encoded [PackedByteArray] (which is an array of bytes). The conversion is faster compared to [method to_utf8_buffer], as this method assumes that all the characters in the String are ASCII/Latin-1 characters, unsupported characters are replaced with spaces. - + Converts a string containing a decimal number into a [code]float[/code]. - + Converts a string containing an integer number into an [code]int[/code]. - + Returns the string converted to lowercase. - + Returns the string converted to uppercase. - + Converts the String (which is an array of characters) to UTF-16 encoded [PackedByteArray] (which is an array of bytes). - + Converts the String (which is an array of characters) to UTF-32 encoded [PackedByteArray] (which is an array of bytes). - + Converts the String (which is an array of characters) to UTF-8 encode [PackedByteArray] (which is an array of bytes). The conversion is a bit slower than [method to_ascii_buffer], but supports all UTF-8 characters. Therefore, you should prefer this function over [method to_ascii_buffer]. - + @@ -861,7 +895,7 @@ Removes a given string from the start if it starts with it or leaves the string unchanged. - + @@ -870,7 +904,7 @@ Removes a given string from the end if it ends with it or leaves the string unchanged. - + @@ -879,7 +913,7 @@ Returns the character code at position [code]at[/code]. - + @@ -894,7 +928,7 @@ [/codeblocks] - + @@ -909,14 +943,14 @@ [/codeblocks] - + Removes any characters from the string that are prohibited in [Node] names ([code].[/code] [code]:[/code] [code]@[/code] [code]/[/code] [code]"[/code]). - + @@ -925,7 +959,7 @@ Returns a copy of the string with special characters escaped using the XML standard. If [code]escape_quotes[/code] is [code]true[/code], the single quote ([code]'[/code]) and double quote ([code]"[/code]) characters are also escaped. - + diff --git a/doc/classes/Transform.xml b/doc/classes/Transform.xml index d75b81eece2..9d8721e2de5 100644 --- a/doc/classes/Transform.xml +++ b/doc/classes/Transform.xml @@ -58,14 +58,14 @@ Constructs a Transform from four [Vector3] values (matrix columns). Each axis corresponds to local basis vectors (some of which may be scaled). - + Returns the inverse of the transform, under the assumption that the transformation is composed of rotation, scaling and translation. - + @@ -76,14 +76,14 @@ Interpolates the transform to other Transform by weight amount (on the range of 0.0 to 1.0). - + Returns the inverse of the transform, under the assumption that the transformation is composed of rotation and translation (no scaling, use affine_inverse for transforms with scaling). - + @@ -92,7 +92,7 @@ Returns [code]true[/code] if this transform and [code]transform[/code] are approximately equal, by calling [code]is_equal_approx[/code] on each component. - + @@ -153,14 +153,14 @@ - + Returns the transform with the basis orthogonal (90 degrees), and normalized axis vectors. - + @@ -171,7 +171,7 @@ Rotates the transform around the given axis by the given angle (in radians), using matrix multiplication. The axis must be a normalized vector. - + @@ -180,7 +180,7 @@ Scales basis and origin of the transform by the given scale factor, using matrix multiplication. - + diff --git a/doc/classes/Transform2D.xml b/doc/classes/Transform2D.xml index 406774cbfea..6ae7fbcf799 100644 --- a/doc/classes/Transform2D.xml +++ b/doc/classes/Transform2D.xml @@ -54,14 +54,14 @@ Constructs the transform from 3 [Vector2] values representing [member x], [member y], and the [member origin] (the three column vectors). - + Returns the inverse of the transform, under the assumption that the transformation is composed of rotation, scaling and translation. - + @@ -71,7 +71,7 @@ This method does not account for translation (the origin vector). - + @@ -81,28 +81,28 @@ This method does not account for translation (the origin vector). - + Returns the transform's origin (translation). - + Returns the transform's rotation (in radians). - + Returns the scale. - + @@ -113,14 +113,14 @@ Returns a transform interpolated between this transform and another by a given [code]weight[/code] (on the range of 0.0 to 1.0). - + Returns the inverse of the transform, under the assumption that the transformation is composed of rotation and translation (no scaling, use [method affine_inverse] for transforms with scaling). - + @@ -185,14 +185,14 @@ - + Returns the transform with the basis orthogonal (90 degrees), and normalized axis vectors (scale of 1 or -1). - + @@ -201,7 +201,7 @@ Rotates the transform by the given angle (in radians), using matrix multiplication. - + @@ -210,7 +210,7 @@ Scales the transform by the given scale factor, using matrix multiplication. - + diff --git a/doc/classes/Vector2.xml b/doc/classes/Vector2.xml index 4159a38d968..b979425b85a 100644 --- a/doc/classes/Vector2.xml +++ b/doc/classes/Vector2.xml @@ -53,14 +53,14 @@ Constructs a new [Vector2] from the given [code]x[/code] and [code]y[/code]. - + Returns a new vector with all components in absolute values (i.e. positive). - + @@ -69,7 +69,7 @@ Equivalent to the result of [method @GlobalScope.atan2] when called with the vector's [member y] and [member x] as parameters: [code]atan2(y, x)[/code]. - + @@ -78,7 +78,7 @@ Returns the angle to the given vector, in radians. - + @@ -87,14 +87,14 @@ Returns the angle between the line connecting the two points and the X axis, in radians. - + Returns the aspect ratio of this vector, the ratio of [member x] to [member y]. - + @@ -103,14 +103,14 @@ Returns the vector "bounced off" from a plane defined by the given normal. - + Returns the vector with all components rounded up (towards positive infinity). - + @@ -119,7 +119,7 @@ Returns the vector with a maximum length by limiting its length to [code]length[/code]. - + @@ -128,7 +128,7 @@ Returns the cross product of this vector and [code]with[/code]. - + @@ -143,7 +143,7 @@ Cubically interpolates between this vector and [code]b[/code] using [code]pre_a[/code] and [code]post_b[/code] as handles, and returns the result at position [code]weight[/code]. [code]weight[/code] is on the range of 0.0 to 1.0, representing the amount of interpolation. - + @@ -152,7 +152,7 @@ Returns the normalized vector pointing from this vector to [code]b[/code]. This is equivalent to using [code](b - a).normalized()[/code]. - + @@ -162,7 +162,7 @@ This method runs faster than [method distance_to], so prefer it if you need to compare vectors or need the squared distance for some formula. - + @@ -171,7 +171,7 @@ Returns the distance between this vector and [code]to[/code]. - + @@ -183,14 +183,14 @@ [b]Note:[/b] [code]a.dot(b)[/code] is equivalent to [code]b.dot(a)[/code]. - + Returns the vector with all components rounded down (towards negative infinity). - + @@ -199,21 +199,21 @@ Returns [code]true[/code] if this vector and [code]v[/code] are approximately equal, by running [method @GlobalScope.is_equal_approx] on each component. - + Returns [code]true[/code] if the vector is normalized, [code]false[/code] otherwise. - + Returns the length (magnitude) of this vector. - + @@ -221,7 +221,7 @@ This method runs faster than [method length], so prefer it if you need to compare vectors or need the squared distance for some formula. - + @@ -232,7 +232,7 @@ Returns the result of the linear interpolation between this vector and [code]b[/code] by amount [code]t[/code]. [code]t[/code] is on the range of 0.0 to 1.0, representing the amount of interpolation. - + @@ -243,7 +243,7 @@ Moves the vector toward [code]to[/code] by the fixed [code]delta[/code] amount. - + @@ -390,14 +390,14 @@ - + Returns a perpendicular vector rotated 90 degrees counter-clockwise compared to the original, with the same length. - + @@ -406,7 +406,7 @@ Returns a vector composed of the [method @GlobalScope.fposmod] of this vector's components and [code]mod[/code]. - + @@ -415,7 +415,7 @@ Returns a vector composed of the [method @GlobalScope.fposmod] of this vector's components and [code]modv[/code]'s components. - + @@ -424,7 +424,7 @@ Returns the vector projected onto the vector [code]b[/code]. - + @@ -433,7 +433,7 @@ Returns the vector reflected from a plane defined by the given normal. - + @@ -442,21 +442,21 @@ Returns the vector rotated by [code]phi[/code] radians. See also [method @GlobalScope.deg2rad]. - + Returns the vector with all components rounded to the nearest integer, with halfway cases rounded away from zero. - + Returns the vector with each component set to one or negative one, depending on the signs of the components, or zero if the component is zero, by calling [method @GlobalScope.sign] on each component. - + @@ -468,7 +468,7 @@ [b]Note:[/b] Both vectors must be normalized. - + @@ -477,7 +477,7 @@ Returns this vector slid along a plane defined by the given normal. - + diff --git a/doc/classes/Vector2i.xml b/doc/classes/Vector2i.xml index a4ea5c2742a..b38b968ba33 100644 --- a/doc/classes/Vector2i.xml +++ b/doc/classes/Vector2i.xml @@ -50,14 +50,14 @@ Constructs a new [Vector2i] from the given [code]x[/code] and [code]y[/code]. - + Returns a new vector with all components in absolute values (i.e. positive). - + @@ -212,7 +212,7 @@ - + diff --git a/doc/classes/Vector3.xml b/doc/classes/Vector3.xml index ea80b7c2486..bd568e01ece 100644 --- a/doc/classes/Vector3.xml +++ b/doc/classes/Vector3.xml @@ -55,14 +55,14 @@ Returns a [Vector3] with the given components. - + Returns a new vector with all components in absolute values (i.e. positive). - + @@ -71,7 +71,7 @@ Returns the unsigned minimum angle to the given vector, in radians. - + @@ -80,14 +80,14 @@ Returns the vector "bounced off" from a plane defined by the given normal. - + Returns a new vector with all components rounded up (towards positive infinity). - + @@ -96,7 +96,7 @@ Returns the cross product of this vector and [code]b[/code]. - + @@ -111,7 +111,7 @@ Performs a cubic interpolation between vectors [code]pre_a[/code], [code]a[/code], [code]b[/code], [code]post_b[/code] ([code]a[/code] is current), by the given amount [code]weight[/code]. [code]weight[/code] is on the range of 0.0 to 1.0, representing the amount of interpolation. - + @@ -120,7 +120,7 @@ Returns the normalized vector pointing from this vector to [code]b[/code]. This is equivalent to using [code](b - a).normalized()[/code]. - + @@ -130,7 +130,7 @@ This method runs faster than [method distance_to], so prefer it if you need to compare vectors or need the squared distance for some formula. - + @@ -139,7 +139,7 @@ Returns the distance between this vector and [code]b[/code]. - + @@ -151,21 +151,21 @@ [b]Note:[/b] [code]a.dot(b)[/code] is equivalent to [code]b.dot(a)[/code]. - + Returns a new vector with all components rounded down (towards negative infinity). - + Returns the inverse of the vector. This is the same as [code]Vector3( 1.0 / v.x, 1.0 / v.y, 1.0 / v.z )[/code]. - + @@ -174,21 +174,21 @@ Returns [code]true[/code] if this vector and [code]v[/code] are approximately equal, by running [method @GlobalScope.is_equal_approx] on each component. - + Returns [code]true[/code] if the vector is normalized, [code]false[/code] otherwise. - + Returns the length (magnitude) of this vector. - + @@ -196,7 +196,7 @@ This method runs faster than [method length], so prefer it if you need to compare vectors or need the squared distance for some formula. - + @@ -207,21 +207,21 @@ Returns the result of the linear interpolation between this vector and [code]b[/code] by amount [code]weight[/code]. [code]weight[/code] is on the range of 0.0 to 1.0, representing the amount of interpolation. - + Returns the axis of the vector's largest value. See [code]AXIS_*[/code] constants. If all components are equal, this method returns [constant AXIS_X]. - + Returns the axis of the vector's smallest value. See [code]AXIS_*[/code] constants. If all components are equal, this method returns [constant AXIS_Z]. - + @@ -232,7 +232,7 @@ Moves this vector toward [code]to[/code] by the fixed [code]delta[/code] amount. - + @@ -395,7 +395,7 @@ - + @@ -404,7 +404,7 @@ Returns the outer product with [code]b[/code]. - + @@ -413,7 +413,7 @@ Returns a vector composed of the [method @GlobalScope.fposmod] of this vector's components and [code]mod[/code]. - + @@ -422,7 +422,7 @@ Returns a vector composed of the [method @GlobalScope.fposmod] of this vector's components and [code]modv[/code]'s components. - + @@ -431,7 +431,7 @@ Returns this vector projected onto another vector [code]b[/code]. - + @@ -440,7 +440,7 @@ Returns this vector reflected from a plane defined by the given normal. - + @@ -451,21 +451,21 @@ Rotates this vector around a given axis by [code]phi[/code] radians. The axis must be a normalized vector. - + Returns this vector with all components rounded to the nearest integer, with halfway cases rounded away from zero. - + Returns a vector with each component set to one or negative one, depending on the signs of this vector's components, or zero if the component is zero, by calling [method @GlobalScope.sign] on each component. - + @@ -476,7 +476,7 @@ Returns the signed angle to the given vector, in radians. The sign of the angle is positive in a counter-clockwise direction and negative in a clockwise direction when viewed from the side specified by the [code]axis[/code]. - + @@ -488,7 +488,7 @@ [b]Note:[/b] Both vectors must be normalized. - + @@ -497,7 +497,7 @@ Returns this vector slid along a plane defined by the given normal. - + @@ -506,7 +506,7 @@ Returns this vector with each component snapped to the nearest multiple of [code]step[/code]. This can also be used to round to an arbitrary number of decimals. - + diff --git a/doc/classes/Vector3i.xml b/doc/classes/Vector3i.xml index a1ae2aceab2..ea5945f5b73 100644 --- a/doc/classes/Vector3i.xml +++ b/doc/classes/Vector3i.xml @@ -52,20 +52,20 @@ Returns a [Vector3i] with the given components. - + - + Returns the axis of the vector's largest value. See [code]AXIS_*[/code] constants. If all components are equal, this method returns [constant AXIS_X]. - + @@ -220,7 +220,7 @@ - + diff --git a/modules/gltf/config.py b/modules/gltf/config.py index 1505a456d7b..a4ee871eff5 100644 --- a/modules/gltf/config.py +++ b/modules/gltf/config.py @@ -4,3 +4,27 @@ def can_build(env, platform): def configure(env): pass + + +def get_doc_classes(): + return [ + "EditorSceneImporterGLTF", + "GLTFAccessor", + "GLTFAnimation", + "GLTFBufferView", + "GLTFCamera", + "GLTFDocument", + "GLTFLight", + "GLTFMesh", + "GLTFNode", + "GLTFSkeleton", + "GLTFSkin", + "GLTFSpecGloss", + "GLTFState", + "GLTFTexture", + "PackedSceneGLTF", + ] + + +def get_doc_path(): + return "doc_classes" diff --git a/doc/classes/EditorSceneImporterGLTF.xml b/modules/gltf/doc_classes/EditorSceneImporterGLTF.xml similarity index 100% rename from doc/classes/EditorSceneImporterGLTF.xml rename to modules/gltf/doc_classes/EditorSceneImporterGLTF.xml diff --git a/doc/classes/GLTFAccessor.xml b/modules/gltf/doc_classes/GLTFAccessor.xml similarity index 100% rename from doc/classes/GLTFAccessor.xml rename to modules/gltf/doc_classes/GLTFAccessor.xml diff --git a/doc/classes/GLTFAnimation.xml b/modules/gltf/doc_classes/GLTFAnimation.xml similarity index 100% rename from doc/classes/GLTFAnimation.xml rename to modules/gltf/doc_classes/GLTFAnimation.xml diff --git a/doc/classes/GLTFBufferView.xml b/modules/gltf/doc_classes/GLTFBufferView.xml similarity index 100% rename from doc/classes/GLTFBufferView.xml rename to modules/gltf/doc_classes/GLTFBufferView.xml diff --git a/doc/classes/GLTFCamera.xml b/modules/gltf/doc_classes/GLTFCamera.xml similarity index 100% rename from doc/classes/GLTFCamera.xml rename to modules/gltf/doc_classes/GLTFCamera.xml diff --git a/doc/classes/GLTFDocument.xml b/modules/gltf/doc_classes/GLTFDocument.xml similarity index 100% rename from doc/classes/GLTFDocument.xml rename to modules/gltf/doc_classes/GLTFDocument.xml diff --git a/doc/classes/GLTFLight.xml b/modules/gltf/doc_classes/GLTFLight.xml similarity index 100% rename from doc/classes/GLTFLight.xml rename to modules/gltf/doc_classes/GLTFLight.xml diff --git a/doc/classes/GLTFMesh.xml b/modules/gltf/doc_classes/GLTFMesh.xml similarity index 100% rename from doc/classes/GLTFMesh.xml rename to modules/gltf/doc_classes/GLTFMesh.xml diff --git a/doc/classes/GLTFNode.xml b/modules/gltf/doc_classes/GLTFNode.xml similarity index 100% rename from doc/classes/GLTFNode.xml rename to modules/gltf/doc_classes/GLTFNode.xml diff --git a/doc/classes/GLTFSkeleton.xml b/modules/gltf/doc_classes/GLTFSkeleton.xml similarity index 100% rename from doc/classes/GLTFSkeleton.xml rename to modules/gltf/doc_classes/GLTFSkeleton.xml diff --git a/doc/classes/GLTFSkin.xml b/modules/gltf/doc_classes/GLTFSkin.xml similarity index 100% rename from doc/classes/GLTFSkin.xml rename to modules/gltf/doc_classes/GLTFSkin.xml diff --git a/doc/classes/GLTFSpecGloss.xml b/modules/gltf/doc_classes/GLTFSpecGloss.xml similarity index 100% rename from doc/classes/GLTFSpecGloss.xml rename to modules/gltf/doc_classes/GLTFSpecGloss.xml diff --git a/doc/classes/GLTFState.xml b/modules/gltf/doc_classes/GLTFState.xml similarity index 100% rename from doc/classes/GLTFState.xml rename to modules/gltf/doc_classes/GLTFState.xml diff --git a/doc/classes/GLTFTexture.xml b/modules/gltf/doc_classes/GLTFTexture.xml similarity index 89% rename from doc/classes/GLTFTexture.xml rename to modules/gltf/doc_classes/GLTFTexture.xml index be2210331f8..ece5cf3fe3c 100644 --- a/doc/classes/GLTFTexture.xml +++ b/modules/gltf/doc_classes/GLTFTexture.xml @@ -9,7 +9,7 @@ - + diff --git a/doc/classes/PackedSceneGLTF.xml b/modules/gltf/doc_classes/PackedSceneGLTF.xml similarity index 100% rename from doc/classes/PackedSceneGLTF.xml rename to modules/gltf/doc_classes/PackedSceneGLTF.xml diff --git a/modules/gltf/gltf_texture.h b/modules/gltf/gltf_texture.h index e1d0407fb49..46597255023 100644 --- a/modules/gltf/gltf_texture.h +++ b/modules/gltf/gltf_texture.h @@ -38,7 +38,7 @@ class GLTFTexture : public Resource { GDCLASS(GLTFTexture, Resource); private: - GLTFImageIndex src_image; + GLTFImageIndex src_image = 0; protected: static void _bind_methods();