Jelajahi Sumber

classref: Sync with 3.5.1-stable

Rémi Verschelde 2 tahun lalu
induk
melakukan
68bb6009d7

+ 5 - 1
classes/class_area.rst

@@ -17,7 +17,11 @@ Area
 Description
 -----------
 
-3D area that detects :ref:`CollisionObject<class_CollisionObject>` nodes overlapping, entering, or exiting. Can also alter or override local physics parameters (gravity, damping) and route audio to custom audio buses.
+3D area that detects :ref:`CollisionObject<class_CollisionObject>` nodes overlapping, entering, or exiting. Can also alter or override local physics parameters (gravity, damping) and route audio to a custom audio bus.
+
+To give the area its shape, add a :ref:`CollisionShape<class_CollisionShape>` or a :ref:`CollisionPolygon<class_CollisionPolygon>` node as a *direct* child (or add multiple such nodes as direct children) of the area.
+
+\ **Warning:** See :ref:`ConcavePolygonShape<class_ConcavePolygonShape>` (also called "trimesh") for a warning about possibly unexpected behavior when using that shape for an area.
 
 Tutorials
 ---------

+ 4 - 0
classes/class_area2d.rst

@@ -19,6 +19,10 @@ Description
 
 2D area that detects :ref:`CollisionObject2D<class_CollisionObject2D>` nodes overlapping, entering, or exiting. Can also alter or override local physics parameters (gravity, damping) and route audio to a custom audio bus.
 
+To give the area its shape, add a :ref:`CollisionShape2D<class_CollisionShape2D>` or a :ref:`CollisionPolygon2D<class_CollisionPolygon2D>` node as a *direct* child (or add multiple such nodes as direct children) of the area.
+
+\ **Warning:** See :ref:`ConcavePolygonShape2D<class_ConcavePolygonShape2D>` for a warning about possibly unexpected behavior when using that shape for an area.
+
 Tutorials
 ---------
 

+ 4 - 0
classes/class_arraymesh.rst

@@ -254,6 +254,10 @@ Surfaces are created to be rendered using a ``primitive``, which may be any of t
 
 The ``arrays`` argument is an array of arrays. See :ref:`ArrayType<enum_ArrayMesh_ArrayType>` for the values used in this array. For example, ``arrays[0]`` is the array of vertices. That first vertex sub-array is always required; the others are optional. Adding an index array puts this function into "index mode" where the vertex and other arrays become the sources of data and the index array defines the vertex order. All sub-arrays must have the same length as the vertex array or be empty, except for :ref:`ARRAY_INDEX<class_ArrayMesh_constant_ARRAY_INDEX>` if it is used.
 
+\ ``compress_flags`` is a bitfield made of :ref:`ArrayFormat<enum_Mesh_ArrayFormat>` values. It defaults to :ref:`Mesh.ARRAY_COMPRESS_DEFAULT<class_Mesh_constant_ARRAY_COMPRESS_DEFAULT>`.
+
+\ **Note:** The default ``compress_flags`` enable :ref:`Mesh.ARRAY_COMPRESS_COLOR<class_Mesh_constant_ARRAY_COMPRESS_COLOR>`, which makes vertex colors stored as 8-bit unsigned integers. This will clamp overbright vertex colors to ``Color(1, 1, 1, 1)`` and reduce their precision. To store HDR vertex colors, remove the vertex color compression flag by passing ``Mesh.ARRAY_COMPRESS_DEFAULT ^ Mesh.ARRAY_COMPRESS_COLOR`` as the value of ``compress_flags``.
+
 ----
 
 .. _class_ArrayMesh_method_clear_blend_shapes:

+ 4 - 4
classes/class_collisionobject.rst

@@ -246,9 +246,9 @@ Removes the given shape owner.
 
 - void **set_collision_layer_bit** **(** :ref:`int<class_int>` bit, :ref:`bool<class_bool>` value **)**
 
-If ``value`` is ``true``, sets the specified ``bit`` in the the :ref:`collision_layer<class_CollisionObject_property_collision_layer>`.
+If ``value`` is ``true``, sets the specified ``bit`` in the :ref:`collision_layer<class_CollisionObject_property_collision_layer>`.
 
-If ``value`` is ``false``, clears the specified ``bit`` in the the :ref:`collision_layer<class_CollisionObject_property_collision_layer>`.
+If ``value`` is ``false``, clears the specified ``bit`` in the :ref:`collision_layer<class_CollisionObject_property_collision_layer>`.
 
 ----
 
@@ -256,9 +256,9 @@ If ``value`` is ``false``, clears the specified ``bit`` in the the :ref:`collisi
 
 - void **set_collision_mask_bit** **(** :ref:`int<class_int>` bit, :ref:`bool<class_bool>` value **)**
 
-If ``value`` is ``true``, sets the specified ``bit`` in the the :ref:`collision_mask<class_CollisionObject_property_collision_mask>`.
+If ``value`` is ``true``, sets the specified ``bit`` in the :ref:`collision_mask<class_CollisionObject_property_collision_mask>`.
 
-If ``value`` is ``false``, clears the specified ``bit`` in the the :ref:`collision_mask<class_CollisionObject_property_collision_mask>`.
+If ``value`` is ``false``, clears the specified ``bit`` in the :ref:`collision_mask<class_CollisionObject_property_collision_mask>`.
 
 ----
 

+ 4 - 4
classes/class_collisionobject2d.rst

@@ -254,9 +254,9 @@ Removes the given shape owner.
 
 - void **set_collision_layer_bit** **(** :ref:`int<class_int>` bit, :ref:`bool<class_bool>` value **)**
 
-If ``value`` is ``true``, sets the specified ``bit`` in the the :ref:`collision_layer<class_CollisionObject2D_property_collision_layer>`.
+If ``value`` is ``true``, sets the specified ``bit`` in the :ref:`collision_layer<class_CollisionObject2D_property_collision_layer>`.
 
-If ``value`` is ``false``, clears the specified ``bit`` in the the :ref:`collision_layer<class_CollisionObject2D_property_collision_layer>`.
+If ``value`` is ``false``, clears the specified ``bit`` in the :ref:`collision_layer<class_CollisionObject2D_property_collision_layer>`.
 
 ----
 
@@ -264,9 +264,9 @@ If ``value`` is ``false``, clears the specified ``bit`` in the the :ref:`collisi
 
 - void **set_collision_mask_bit** **(** :ref:`int<class_int>` bit, :ref:`bool<class_bool>` value **)**
 
-If ``value`` is ``true``, sets the specified ``bit`` in the the :ref:`collision_mask<class_CollisionObject2D_property_collision_mask>`.
+If ``value`` is ``true``, sets the specified ``bit`` in the :ref:`collision_mask<class_CollisionObject2D_property_collision_mask>`.
 
-If ``value`` is ``false``, clears the specified ``bit`` in the the :ref:`collision_mask<class_CollisionObject2D_property_collision_mask>`.
+If ``value`` is ``false``, clears the specified ``bit`` in the :ref:`collision_mask<class_CollisionObject2D_property_collision_mask>`.
 
 ----
 

+ 3 - 1
classes/class_collisionshape.rst

@@ -17,7 +17,9 @@ Node that represents collision shape data in 3D space.
 Description
 -----------
 
-Editor facility for creating and editing collision shapes in 3D space. You can use this node to represent all sorts of collision shapes, for example, add this to an :ref:`Area<class_Area>` to give it a detection shape, or add it to a :ref:`PhysicsBody<class_PhysicsBody>` to create a solid object. **IMPORTANT**: this is an Editor-only helper to create shapes, use :ref:`CollisionObject.shape_owner_get_shape<class_CollisionObject_method_shape_owner_get_shape>` to get the actual shape.
+Editor facility for creating and editing collision shapes in 3D space. Set the :ref:`shape<class_CollisionShape_property_shape>` property to configure the shape. **IMPORTANT**: this is an Editor-only helper to create shapes, use :ref:`CollisionObject.shape_owner_get_shape<class_CollisionObject_method_shape_owner_get_shape>` to get the actual shape.
+
+You can use this node to represent all sorts of collision shapes, for example, add this to an :ref:`Area<class_Area>` to give it a detection shape, or add it to a :ref:`PhysicsBody<class_PhysicsBody>` to create a solid object.
 
 Tutorials
 ---------

+ 3 - 1
classes/class_collisionshape2d.rst

@@ -17,7 +17,9 @@ Node that represents collision shape data in 2D space.
 Description
 -----------
 
-Editor facility for creating and editing collision shapes in 2D space. You can use this node to represent all sorts of collision shapes, for example, add this to an :ref:`Area2D<class_Area2D>` to give it a detection shape, or add it to a :ref:`PhysicsBody2D<class_PhysicsBody2D>` to create a solid object. **IMPORTANT**: this is an Editor-only helper to create shapes, use :ref:`CollisionObject2D.shape_owner_get_shape<class_CollisionObject2D_method_shape_owner_get_shape>` to get the actual shape.
+Editor facility for creating and editing collision shapes in 2D space. Set the :ref:`shape<class_CollisionShape2D_property_shape>` property to configure the shape. **IMPORTANT**: this is an Editor-only helper to create shapes, use :ref:`CollisionObject2D.shape_owner_get_shape<class_CollisionObject2D_method_shape_owner_get_shape>` to get the actual shape.
+
+You can use this node to represent all sorts of collision shapes, for example, add this to an :ref:`Area2D<class_Area2D>` to give it a detection shape, or add it to a :ref:`PhysicsBody2D<class_PhysicsBody2D>` to create a solid object.
 
 Tutorials
 ---------

+ 2 - 0
classes/class_concavepolygonshape.rst

@@ -21,6 +21,8 @@ Concave polygon shape resource, which can be set into a :ref:`PhysicsBody<class_
 
 \ **Note:** When used for collision, ``ConcavePolygonShape`` is intended to work with static :ref:`PhysicsBody<class_PhysicsBody>` nodes like :ref:`StaticBody<class_StaticBody>` and will not work with :ref:`KinematicBody<class_KinematicBody>` or :ref:`RigidBody<class_RigidBody>` with a mode other than Static.
 
+\ **Warning:** Using this shape for an :ref:`Area<class_Area>` (via a :ref:`CollisionShape<class_CollisionShape>` node, created e.g. by using the *Create Trimesh Collision Sibling* option in the *Mesh* menu that appears when selecting a :ref:`MeshInstance<class_MeshInstance>` node) may give unexpected results: when using Godot Physics, the area will only detect collisions with the triangle faces in the ``ConcavePolygonShape`` (and not with any "inside" of the shape, for example), and when using Bullet Physics the area will not detect any collisions with the concave shape at all (this is a known bug).
+
 Tutorials
 ---------
 

+ 2 - 0
classes/class_concavepolygonshape2d.rst

@@ -21,6 +21,8 @@ Concave polygon 2D shape resource for physics. It is made out of segments and is
 
 The main difference between a :ref:`ConvexPolygonShape2D<class_ConvexPolygonShape2D>` and a ``ConcavePolygonShape2D`` is that a concave polygon assumes it is concave and uses a more complex method of collision detection, and a convex one forces itself to be convex in order to speed up collision detection.
 
+\ **Warning:** Using this shape for an :ref:`Area2D<class_Area2D>` (via a :ref:`CollisionShape2D<class_CollisionShape2D>` node) may give unexpected results: the area will only detect collisions with the segments in the ``ConcavePolygonShape2D`` (and not with any "inside" of the shape, for example).
+
 Properties
 ----------
 

+ 4 - 0
classes/class_mesh.rst

@@ -195,6 +195,8 @@ enum **ArrayFormat**:
 
 - **ARRAY_COMPRESS_COLOR** = **4096** --- Flag used to mark a compressed (half float) color array.
 
+\ **Note:** If this flag is enabled, vertex colors will be stored as 8-bit unsigned integers. This will clamp overbright colors to ``Color(1, 1, 1, 1)`` and reduce colors' precision.
+
 - **ARRAY_COMPRESS_TEX_UV** = **8192** --- Flag used to mark a compressed (half float) UV coordinates array.
 
 - **ARRAY_COMPRESS_TEX_UV2** = **16384** --- Flag used to mark a compressed (half float) UV coordinates array for the second UV coordinates.
@@ -213,6 +215,8 @@ enum **ArrayFormat**:
 
 - **ARRAY_COMPRESS_DEFAULT** = **2194432** --- Used to set flags :ref:`ARRAY_COMPRESS_VERTEX<class_Mesh_constant_ARRAY_COMPRESS_VERTEX>`, :ref:`ARRAY_COMPRESS_NORMAL<class_Mesh_constant_ARRAY_COMPRESS_NORMAL>`, :ref:`ARRAY_COMPRESS_TANGENT<class_Mesh_constant_ARRAY_COMPRESS_TANGENT>`, :ref:`ARRAY_COMPRESS_COLOR<class_Mesh_constant_ARRAY_COMPRESS_COLOR>`, :ref:`ARRAY_COMPRESS_TEX_UV<class_Mesh_constant_ARRAY_COMPRESS_TEX_UV>`, :ref:`ARRAY_COMPRESS_TEX_UV2<class_Mesh_constant_ARRAY_COMPRESS_TEX_UV2>`, :ref:`ARRAY_COMPRESS_WEIGHTS<class_Mesh_constant_ARRAY_COMPRESS_WEIGHTS>`, and :ref:`ARRAY_FLAG_USE_OCTAHEDRAL_COMPRESSION<class_Mesh_constant_ARRAY_FLAG_USE_OCTAHEDRAL_COMPRESSION>` quickly.
 
+\ **Note:** Since this flag enables :ref:`ARRAY_COMPRESS_COLOR<class_Mesh_constant_ARRAY_COMPRESS_COLOR>`, vertex colors will be stored as 8-bit unsigned integers. This will clamp overbright colors to ``Color(1, 1, 1, 1)`` and reduce colors' precision.
+
 ----
 
 .. _enum_Mesh_ArrayType:

+ 3 - 1
classes/class_roommanager.rst

@@ -99,10 +99,12 @@ Property Descriptions
 
 Switches the portal culling system on and off.
 
-It is important to note that when portal culling is active, it is responsible for **all** the 3d culling. Some editor functionality may be more difficult to use, so switching the active flag is intended to be used to make sure your :ref:`Room<class_Room>` / :ref:`Portal<class_Portal>` layout works within the editor.
+It is important to note that when portal culling is active, it is responsible for **all** the 3d culling. Some editor visual debugging helpers may not be available when active, so switching the active flag is intended to be used to ensure your :ref:`Room<class_Room>` / :ref:`Portal<class_Portal>` layout works within the editor.
 
 Switching to ``active`` will have no effect when the ``room graph`` is unloaded (the rooms have not yet been converted).
 
+\ **Note:** For efficiency, the portal system is designed to work with only the core visual object types. In particular, only nodes derived from :ref:`VisualInstance<class_VisualInstance>` are expected to show when the system is active.
+
 ----
 
 .. _class_RoomManager_property_debug_sprawl:

+ 12 - 0
classes/class_scenetreetween.rst

@@ -62,12 +62,24 @@ Another interesting use for ``SceneTreeTween``\ s is animating arbitrary sets of
 
 In the example above, all children of a node are moved one after another to position (0, 0).
 
+You should avoid using more than one ``SceneTreeTween`` per object's property. If two or more tweens animate one property at the same time, the last one created will take priority and assign the final value. If you want to interrupt and restart an animation, consider assigning the ``SceneTreeTween`` to a variable:
+
+::
+
+    var tween
+    func animate():
+        if tween:
+            tween.kill() # Abort the previous animation.
+        tween = create_tween()
+
 Some :ref:`Tweener<class_Tweener>`\ s use transitions and eases. The first accepts a :ref:`TransitionType<enum_Tween_TransitionType>` constant, and refers to the way the timing of the animation is handled (see `easings.net <https://easings.net/>`__ for some examples). The second accepts an :ref:`EaseType<enum_Tween_EaseType>` constant, and controls where the ``trans_type`` is applied to the interpolation (in the beginning, the end, or both). If you don't know which transition and easing to pick, you can try different :ref:`TransitionType<enum_Tween_TransitionType>` constants with :ref:`Tween.EASE_IN_OUT<class_Tween_constant_EASE_IN_OUT>`, and use the one that looks best.
 
 \ `Tween easing and transition types cheatsheet <https://raw.githubusercontent.com/godotengine/godot-docs/master/img/tween_cheatsheet.png>`__\ 
 
 \ **Note:** All ``SceneTreeTween``\ s will automatically start by default. To prevent a ``SceneTreeTween`` from autostarting, you can call :ref:`stop<class_SceneTreeTween_method_stop>` immediately after it is created.
 
+\ **Note:** ``SceneTreeTween``\ s are processing after all of nodes in the current frame, i.e. after :ref:`Node._process<class_Node_method__process>` or :ref:`Node._physics_process<class_Node_method__physics_process>` (depending on :ref:`TweenProcessMode<enum_Tween_TweenProcessMode>`).
+
 Methods
 -------
 

+ 53 - 53
classes/class_theme.rst

@@ -221,7 +221,7 @@ Clears all values on the theme.
 
 - void **clear_color** **(** :ref:`String<class_String>` name, :ref:`String<class_String>` theme_type **)**
 
-Clears the :ref:`Color<class_Color>` at ``name`` if the theme has ``node_type``.
+Clears the :ref:`Color<class_Color>` at ``name`` if the theme has ``theme_type``.
 
 ----
 
@@ -229,7 +229,7 @@ Clears the :ref:`Color<class_Color>` at ``name`` if the theme has ``node_type``.
 
 - void **clear_constant** **(** :ref:`String<class_String>` name, :ref:`String<class_String>` theme_type **)**
 
-Clears the constant at ``name`` if the theme has ``node_type``.
+Clears the constant at ``name`` if the theme has ``theme_type``.
 
 ----
 
@@ -237,7 +237,7 @@ Clears the constant at ``name`` if the theme has ``node_type``.
 
 - void **clear_font** **(** :ref:`String<class_String>` name, :ref:`String<class_String>` theme_type **)**
 
-Clears the :ref:`Font<class_Font>` at ``name`` if the theme has ``node_type``.
+Clears the :ref:`Font<class_Font>` at ``name`` if the theme has ``theme_type``.
 
 ----
 
@@ -245,7 +245,7 @@ Clears the :ref:`Font<class_Font>` at ``name`` if the theme has ``node_type``.
 
 - void **clear_icon** **(** :ref:`String<class_String>` name, :ref:`String<class_String>` theme_type **)**
 
-Clears the icon at ``name`` if the theme has ``node_type``.
+Clears the icon at ``name`` if the theme has ``theme_type``.
 
 ----
 
@@ -253,7 +253,7 @@ Clears the icon at ``name`` if the theme has ``node_type``.
 
 - void **clear_stylebox** **(** :ref:`String<class_String>` name, :ref:`String<class_String>` theme_type **)**
 
-Clears :ref:`StyleBox<class_StyleBox>` at ``name`` if the theme has ``node_type``.
+Clears :ref:`StyleBox<class_StyleBox>` at ``name`` if the theme has ``theme_type``.
 
 ----
 
@@ -261,7 +261,7 @@ Clears :ref:`StyleBox<class_StyleBox>` at ``name`` if the theme has ``node_type`
 
 - void **clear_theme_item** **(** :ref:`DataType<enum_Theme_DataType>` data_type, :ref:`String<class_String>` name, :ref:`String<class_String>` theme_type **)**
 
-Clears the theme item of ``data_type`` at ``name`` if the theme has ``node_type``.
+Clears the theme item of ``data_type`` at ``name`` if the theme has ``theme_type``.
 
 ----
 
@@ -293,7 +293,7 @@ Sets the theme's values to a copy of a given theme.
 
 - :ref:`Color<class_Color>` **get_color** **(** :ref:`String<class_String>` name, :ref:`String<class_String>` theme_type **)** |const|
 
-Returns the :ref:`Color<class_Color>` at ``name`` if the theme has ``node_type``.
+Returns the :ref:`Color<class_Color>` at ``name`` if the theme has ``theme_type``.
 
 ----
 
@@ -301,7 +301,7 @@ Returns the :ref:`Color<class_Color>` at ``name`` if the theme has ``node_type``
 
 - :ref:`PoolStringArray<class_PoolStringArray>` **get_color_list** **(** :ref:`String<class_String>` theme_type **)** |const|
 
-Returns all the :ref:`Color<class_Color>`\ s as a :ref:`PoolStringArray<class_PoolStringArray>` filled with each :ref:`Color<class_Color>`'s name, for use in :ref:`get_color<class_Theme_method_get_color>`, if the theme has ``node_type``.
+Returns all the :ref:`Color<class_Color>`\ s as a :ref:`PoolStringArray<class_PoolStringArray>` filled with each :ref:`Color<class_Color>`'s name, for use in :ref:`get_color<class_Theme_method_get_color>`, if the theme has ``theme_type``.
 
 ----
 
@@ -317,7 +317,7 @@ Returns all the :ref:`Color<class_Color>` types as a :ref:`PoolStringArray<class
 
 - :ref:`int<class_int>` **get_constant** **(** :ref:`String<class_String>` name, :ref:`String<class_String>` theme_type **)** |const|
 
-Returns the constant at ``name`` if the theme has ``node_type``.
+Returns the constant at ``name`` if the theme has ``theme_type``.
 
 ----
 
@@ -325,7 +325,7 @@ Returns the constant at ``name`` if the theme has ``node_type``.
 
 - :ref:`PoolStringArray<class_PoolStringArray>` **get_constant_list** **(** :ref:`String<class_String>` theme_type **)** |const|
 
-Returns all the constants as a :ref:`PoolStringArray<class_PoolStringArray>` filled with each constant's name, for use in :ref:`get_constant<class_Theme_method_get_constant>`, if the theme has ``node_type``.
+Returns all the constants as a :ref:`PoolStringArray<class_PoolStringArray>` filled with each constant's name, for use in :ref:`get_constant<class_Theme_method_get_constant>`, if the theme has ``theme_type``.
 
 ----
 
@@ -341,7 +341,7 @@ Returns all the constant types as a :ref:`PoolStringArray<class_PoolStringArray>
 
 - :ref:`Font<class_Font>` **get_font** **(** :ref:`String<class_String>` name, :ref:`String<class_String>` theme_type **)** |const|
 
-Returns the :ref:`Font<class_Font>` at ``name`` if the theme has ``node_type``. If such item does not exist and :ref:`default_font<class_Theme_property_default_font>` is set on the theme, the default font will be returned.
+Returns the :ref:`Font<class_Font>` at ``name`` if the theme has ``theme_type``. If such item does not exist and :ref:`default_font<class_Theme_property_default_font>` is set on the theme, the default font will be returned.
 
 ----
 
@@ -349,7 +349,7 @@ Returns the :ref:`Font<class_Font>` at ``name`` if the theme has ``node_type``.
 
 - :ref:`PoolStringArray<class_PoolStringArray>` **get_font_list** **(** :ref:`String<class_String>` theme_type **)** |const|
 
-Returns all the :ref:`Font<class_Font>`\ s as a :ref:`PoolStringArray<class_PoolStringArray>` filled with each :ref:`Font<class_Font>`'s name, for use in :ref:`get_font<class_Theme_method_get_font>`, if the theme has ``node_type``.
+Returns all the :ref:`Font<class_Font>`\ s as a :ref:`PoolStringArray<class_PoolStringArray>` filled with each :ref:`Font<class_Font>`'s name, for use in :ref:`get_font<class_Theme_method_get_font>`, if the theme has ``theme_type``.
 
 ----
 
@@ -365,7 +365,7 @@ Returns all the :ref:`Font<class_Font>` types as a :ref:`PoolStringArray<class_P
 
 - :ref:`Texture<class_Texture>` **get_icon** **(** :ref:`String<class_String>` name, :ref:`String<class_String>` theme_type **)** |const|
 
-Returns the icon :ref:`Texture<class_Texture>` at ``name`` if the theme has ``node_type``.
+Returns the icon :ref:`Texture<class_Texture>` at ``name`` if the theme has ``theme_type``.
 
 ----
 
@@ -373,7 +373,7 @@ Returns the icon :ref:`Texture<class_Texture>` at ``name`` if the theme has ``no
 
 - :ref:`PoolStringArray<class_PoolStringArray>` **get_icon_list** **(** :ref:`String<class_String>` theme_type **)** |const|
 
-Returns all the icons as a :ref:`PoolStringArray<class_PoolStringArray>` filled with each :ref:`Texture<class_Texture>`'s name, for use in :ref:`get_icon<class_Theme_method_get_icon>`, if the theme has ``node_type``.
+Returns all the icons as a :ref:`PoolStringArray<class_PoolStringArray>` filled with each :ref:`Texture<class_Texture>`'s name, for use in :ref:`get_icon<class_Theme_method_get_icon>`, if the theme has ``theme_type``.
 
 ----
 
@@ -389,9 +389,9 @@ Returns all the icon types as a :ref:`PoolStringArray<class_PoolStringArray>` fi
 
 - :ref:`StyleBox<class_StyleBox>` **get_stylebox** **(** :ref:`String<class_String>` name, :ref:`String<class_String>` theme_type **)** |const|
 
-Returns the :ref:`StyleBox<class_StyleBox>` at ``name`` if the theme has ``node_type``.
+Returns the :ref:`StyleBox<class_StyleBox>` at ``name`` if the theme has ``theme_type``.
 
-Valid ``name``\ s may be found using :ref:`get_stylebox_list<class_Theme_method_get_stylebox_list>`. Valid ``node_type``\ s may be found using :ref:`get_stylebox_types<class_Theme_method_get_stylebox_types>`.
+Valid ``name``\ s may be found using :ref:`get_stylebox_list<class_Theme_method_get_stylebox_list>`. Valid ``theme_type``\ s may be found using :ref:`get_stylebox_types<class_Theme_method_get_stylebox_types>`.
 
 ----
 
@@ -399,9 +399,9 @@ Valid ``name``\ s may be found using :ref:`get_stylebox_list<class_Theme_method_
 
 - :ref:`PoolStringArray<class_PoolStringArray>` **get_stylebox_list** **(** :ref:`String<class_String>` theme_type **)** |const|
 
-Returns all the :ref:`StyleBox<class_StyleBox>`\ s as a :ref:`PoolStringArray<class_PoolStringArray>` filled with each :ref:`StyleBox<class_StyleBox>`'s name, for use in :ref:`get_stylebox<class_Theme_method_get_stylebox>`, if the theme has ``node_type``.
+Returns all the :ref:`StyleBox<class_StyleBox>`\ s as a :ref:`PoolStringArray<class_PoolStringArray>` filled with each :ref:`StyleBox<class_StyleBox>`'s name, for use in :ref:`get_stylebox<class_Theme_method_get_stylebox>`, if the theme has ``theme_type``.
 
-Valid ``node_type``\ s may be found using :ref:`get_stylebox_types<class_Theme_method_get_stylebox_types>`.
+Valid ``theme_type``\ s may be found using :ref:`get_stylebox_types<class_Theme_method_get_stylebox_types>`.
 
 ----
 
@@ -417,9 +417,9 @@ Returns all the :ref:`StyleBox<class_StyleBox>` types as a :ref:`PoolStringArray
 
 - :ref:`Variant<class_Variant>` **get_theme_item** **(** :ref:`DataType<enum_Theme_DataType>` data_type, :ref:`String<class_String>` name, :ref:`String<class_String>` theme_type **)** |const|
 
-Returns the theme item of ``data_type`` at ``name`` if the theme has ``node_type``.
+Returns the theme item of ``data_type`` at ``name`` if the theme has ``theme_type``.
 
-Valid ``name``\ s may be found using :ref:`get_theme_item_list<class_Theme_method_get_theme_item_list>` or a data type specific method. Valid ``node_type``\ s may be found using :ref:`get_theme_item_types<class_Theme_method_get_theme_item_types>` or a data type specific method.
+Valid ``name``\ s may be found using :ref:`get_theme_item_list<class_Theme_method_get_theme_item_list>` or a data type specific method. Valid ``theme_type``\ s may be found using :ref:`get_theme_item_types<class_Theme_method_get_theme_item_types>` or a data type specific method.
 
 ----
 
@@ -427,9 +427,9 @@ Valid ``name``\ s may be found using :ref:`get_theme_item_list<class_Theme_metho
 
 - :ref:`PoolStringArray<class_PoolStringArray>` **get_theme_item_list** **(** :ref:`DataType<enum_Theme_DataType>` data_type, :ref:`String<class_String>` theme_type **)** |const|
 
-Returns all the theme items of ``data_type`` as a :ref:`PoolStringArray<class_PoolStringArray>` filled with each theme items's name, for use in :ref:`get_theme_item<class_Theme_method_get_theme_item>` or a data type specific method, if the theme has ``node_type``.
+Returns all the theme items of ``data_type`` as a :ref:`PoolStringArray<class_PoolStringArray>` filled with each theme items's name, for use in :ref:`get_theme_item<class_Theme_method_get_theme_item>` or a data type specific method, if the theme has ``theme_type``.
 
-Valid ``node_type``\ s may be found using :ref:`get_theme_item_types<class_Theme_method_get_theme_item_types>` or a data type specific method.
+Valid ``theme_type``\ s may be found using :ref:`get_theme_item_types<class_Theme_method_get_theme_item_types>` or a data type specific method.
 
 ----
 
@@ -447,7 +447,7 @@ Returns all the theme items of ``data_type`` types as a :ref:`PoolStringArray<cl
 
 Returns all the theme types as a :ref:`PoolStringArray<class_PoolStringArray>` filled with unique type names, for use in other ``get_*`` functions of this theme.
 
-\ **Note:** ``node_type`` has no effect and will be removed in future version.
+\ **Note:** ``theme_type`` has no effect and will be removed in future version.
 
 ----
 
@@ -471,9 +471,9 @@ Returns a list of all type variations for the given ``base_type``.
 
 - :ref:`bool<class_bool>` **has_color** **(** :ref:`String<class_String>` name, :ref:`String<class_String>` theme_type **)** |const|
 
-Returns ``true`` if :ref:`Color<class_Color>` with ``name`` is in ``node_type``.
+Returns ``true`` if :ref:`Color<class_Color>` with ``name`` is in ``theme_type``.
 
-Returns ``false`` if the theme does not have ``node_type``.
+Returns ``false`` if the theme does not have ``theme_type``.
 
 ----
 
@@ -481,9 +481,9 @@ Returns ``false`` if the theme does not have ``node_type``.
 
 - :ref:`bool<class_bool>` **has_constant** **(** :ref:`String<class_String>` name, :ref:`String<class_String>` theme_type **)** |const|
 
-Returns ``true`` if constant with ``name`` is in ``node_type``.
+Returns ``true`` if constant with ``name`` is in ``theme_type``.
 
-Returns ``false`` if the theme does not have ``node_type``.
+Returns ``false`` if the theme does not have ``theme_type``.
 
 ----
 
@@ -499,9 +499,9 @@ Returns ``true`` if this theme has a valid :ref:`default_font<class_Theme_proper
 
 - :ref:`bool<class_bool>` **has_font** **(** :ref:`String<class_String>` name, :ref:`String<class_String>` theme_type **)** |const|
 
-Returns ``true`` if :ref:`Font<class_Font>` with ``name`` is in ``node_type``.
+Returns ``true`` if :ref:`Font<class_Font>` with ``name`` is in ``theme_type``.
 
-Returns ``false`` if the theme does not have ``node_type``.
+Returns ``false`` if the theme does not have ``theme_type``.
 
 ----
 
@@ -509,9 +509,9 @@ Returns ``false`` if the theme does not have ``node_type``.
 
 - :ref:`bool<class_bool>` **has_icon** **(** :ref:`String<class_String>` name, :ref:`String<class_String>` theme_type **)** |const|
 
-Returns ``true`` if icon :ref:`Texture<class_Texture>` with ``name`` is in ``node_type``.
+Returns ``true`` if icon :ref:`Texture<class_Texture>` with ``name`` is in ``theme_type``.
 
-Returns ``false`` if the theme does not have ``node_type``.
+Returns ``false`` if the theme does not have ``theme_type``.
 
 ----
 
@@ -519,9 +519,9 @@ Returns ``false`` if the theme does not have ``node_type``.
 
 - :ref:`bool<class_bool>` **has_stylebox** **(** :ref:`String<class_String>` name, :ref:`String<class_String>` theme_type **)** |const|
 
-Returns ``true`` if :ref:`StyleBox<class_StyleBox>` with ``name`` is in ``node_type``.
+Returns ``true`` if :ref:`StyleBox<class_StyleBox>` with ``name`` is in ``theme_type``.
 
-Returns ``false`` if the theme does not have ``node_type``.
+Returns ``false`` if the theme does not have ``theme_type``.
 
 ----
 
@@ -529,9 +529,9 @@ Returns ``false`` if the theme does not have ``node_type``.
 
 - :ref:`bool<class_bool>` **has_theme_item** **(** :ref:`DataType<enum_Theme_DataType>` data_type, :ref:`String<class_String>` name, :ref:`String<class_String>` theme_type **)** |const|
 
-Returns ``true`` if a theme item of ``data_type`` with ``name`` is in ``node_type``.
+Returns ``true`` if a theme item of ``data_type`` with ``name`` is in ``theme_type``.
 
-Returns ``false`` if the theme does not have ``node_type``.
+Returns ``false`` if the theme does not have ``theme_type``.
 
 ----
 
@@ -565,7 +565,7 @@ Removes the theme type, gracefully discarding defined theme items. If the type i
 
 - void **rename_color** **(** :ref:`String<class_String>` old_name, :ref:`String<class_String>` name, :ref:`String<class_String>` theme_type **)**
 
-Renames the :ref:`Color<class_Color>` at ``old_name`` to ``name`` if the theme has ``node_type``. If ``name`` is already taken, this method fails.
+Renames the :ref:`Color<class_Color>` at ``old_name`` to ``name`` if the theme has ``theme_type``. If ``name`` is already taken, this method fails.
 
 ----
 
@@ -573,7 +573,7 @@ Renames the :ref:`Color<class_Color>` at ``old_name`` to ``name`` if the theme h
 
 - void **rename_constant** **(** :ref:`String<class_String>` old_name, :ref:`String<class_String>` name, :ref:`String<class_String>` theme_type **)**
 
-Renames the constant at ``old_name`` to ``name`` if the theme has ``node_type``. If ``name`` is already taken, this method fails.
+Renames the constant at ``old_name`` to ``name`` if the theme has ``theme_type``. If ``name`` is already taken, this method fails.
 
 ----
 
@@ -581,7 +581,7 @@ Renames the constant at ``old_name`` to ``name`` if the theme has ``node_type``.
 
 - void **rename_font** **(** :ref:`String<class_String>` old_name, :ref:`String<class_String>` name, :ref:`String<class_String>` theme_type **)**
 
-Renames the :ref:`Font<class_Font>` at ``old_name`` to ``name`` if the theme has ``node_type``. If ``name`` is already taken, this method fails.
+Renames the :ref:`Font<class_Font>` at ``old_name`` to ``name`` if the theme has ``theme_type``. If ``name`` is already taken, this method fails.
 
 ----
 
@@ -589,7 +589,7 @@ Renames the :ref:`Font<class_Font>` at ``old_name`` to ``name`` if the theme has
 
 - void **rename_icon** **(** :ref:`String<class_String>` old_name, :ref:`String<class_String>` name, :ref:`String<class_String>` theme_type **)**
 
-Renames the icon at ``old_name`` to ``name`` if the theme has ``node_type``. If ``name`` is already taken, this method fails.
+Renames the icon at ``old_name`` to ``name`` if the theme has ``theme_type``. If ``name`` is already taken, this method fails.
 
 ----
 
@@ -597,7 +597,7 @@ Renames the icon at ``old_name`` to ``name`` if the theme has ``node_type``. If
 
 - void **rename_stylebox** **(** :ref:`String<class_String>` old_name, :ref:`String<class_String>` name, :ref:`String<class_String>` theme_type **)**
 
-Renames :ref:`StyleBox<class_StyleBox>` at ``old_name`` to ``name`` if the theme has ``node_type``. If ``name`` is already taken, this method fails.
+Renames :ref:`StyleBox<class_StyleBox>` at ``old_name`` to ``name`` if the theme has ``theme_type``. If ``name`` is already taken, this method fails.
 
 ----
 
@@ -605,7 +605,7 @@ Renames :ref:`StyleBox<class_StyleBox>` at ``old_name`` to ``name`` if the theme
 
 - void **rename_theme_item** **(** :ref:`DataType<enum_Theme_DataType>` data_type, :ref:`String<class_String>` old_name, :ref:`String<class_String>` name, :ref:`String<class_String>` theme_type **)**
 
-Renames the theme item of ``data_type`` at ``old_name`` to ``name`` if the theme has ``node_type``. If ``name`` is already taken, this method fails.
+Renames the theme item of ``data_type`` at ``old_name`` to ``name`` if the theme has ``theme_type``. If ``name`` is already taken, this method fails.
 
 ----
 
@@ -613,9 +613,9 @@ Renames the theme item of ``data_type`` at ``old_name`` to ``name`` if the theme
 
 - void **set_color** **(** :ref:`String<class_String>` name, :ref:`String<class_String>` theme_type, :ref:`Color<class_Color>` color **)**
 
-Sets the theme's :ref:`Color<class_Color>` to ``color`` at ``name`` in ``node_type``.
+Sets the theme's :ref:`Color<class_Color>` to ``color`` at ``name`` in ``theme_type``.
 
-Creates ``node_type`` if the theme does not have it.
+Creates ``theme_type`` if the theme does not have it.
 
 ----
 
@@ -623,9 +623,9 @@ Creates ``node_type`` if the theme does not have it.
 
 - void **set_constant** **(** :ref:`String<class_String>` name, :ref:`String<class_String>` theme_type, :ref:`int<class_int>` constant **)**
 
-Sets the theme's constant to ``constant`` at ``name`` in ``node_type``.
+Sets the theme's constant to ``constant`` at ``name`` in ``theme_type``.
 
-Creates ``node_type`` if the theme does not have it.
+Creates ``theme_type`` if the theme does not have it.
 
 ----
 
@@ -633,9 +633,9 @@ Creates ``node_type`` if the theme does not have it.
 
 - void **set_font** **(** :ref:`String<class_String>` name, :ref:`String<class_String>` theme_type, :ref:`Font<class_Font>` font **)**
 
-Sets the theme's :ref:`Font<class_Font>` to ``font`` at ``name`` in ``node_type``.
+Sets the theme's :ref:`Font<class_Font>` to ``font`` at ``name`` in ``theme_type``.
 
-Creates ``node_type`` if the theme does not have it.
+Creates ``theme_type`` if the theme does not have it.
 
 ----
 
@@ -643,9 +643,9 @@ Creates ``node_type`` if the theme does not have it.
 
 - void **set_icon** **(** :ref:`String<class_String>` name, :ref:`String<class_String>` theme_type, :ref:`Texture<class_Texture>` texture **)**
 
-Sets the theme's icon :ref:`Texture<class_Texture>` to ``texture`` at ``name`` in ``node_type``.
+Sets the theme's icon :ref:`Texture<class_Texture>` to ``texture`` at ``name`` in ``theme_type``.
 
-Creates ``node_type`` if the theme does not have it.
+Creates ``theme_type`` if the theme does not have it.
 
 ----
 
@@ -653,9 +653,9 @@ Creates ``node_type`` if the theme does not have it.
 
 - void **set_stylebox** **(** :ref:`String<class_String>` name, :ref:`String<class_String>` theme_type, :ref:`StyleBox<class_StyleBox>` texture **)**
 
-Sets theme's :ref:`StyleBox<class_StyleBox>` to ``stylebox`` at ``name`` in ``node_type``.
+Sets theme's :ref:`StyleBox<class_StyleBox>` to ``stylebox`` at ``name`` in ``theme_type``.
 
-Creates ``node_type`` if the theme does not have it.
+Creates ``theme_type`` if the theme does not have it.
 
 ----
 
@@ -663,11 +663,11 @@ Creates ``node_type`` if the theme does not have it.
 
 - void **set_theme_item** **(** :ref:`DataType<enum_Theme_DataType>` data_type, :ref:`String<class_String>` name, :ref:`String<class_String>` theme_type, :ref:`Variant<class_Variant>` value **)**
 
-Sets the theme item of ``data_type`` to ``value`` at ``name`` in ``node_type``.
+Sets the theme item of ``data_type`` to ``value`` at ``name`` in ``theme_type``.
 
 Does nothing if the ``value`` type does not match ``data_type``.
 
-Creates ``node_type`` if the theme does not have it.
+Creates ``theme_type`` if the theme does not have it.
 
 ----