Merge pull request #5728 from Calinou/rename-node3d-spatial-3.4

Rename references to Node3D back to Spatial
This commit is contained in:
Max Hilbrunner
2022-04-07 18:13:42 +02:00
committed by GitHub
3 changed files with 3 additions and 3 deletions
@@ -129,7 +129,7 @@ the text. Here's the list of available tags:
+----------------------------+--------------------------------------+-----------------------------------+---------------------------------------------------+
| [method methodname] | Link to a method in this class | Call [method hide]. | Call :ref:`hide <class_Spatial_method_hide>`. |
+----------------------------+--------------------------------------+-----------------------------------+---------------------------------------------------+
| [method Class.methodname] | Link to another class's method | Call [method Node3D.hide]. | Call :ref:`hide <class_Spatial_method_hide>`. |
| [method Class.methodname] | Link to another class's method | Call [method Spatial.hide]. | Call :ref:`hide <class_Spatial_method_hide>`. |
+----------------------------+--------------------------------------+-----------------------------------+---------------------------------------------------+
| [member membername] | Link to a member in this class | Get [member scale]. | Get :ref:`scale <class_Node2D_property_scale>`. |
+----------------------------+--------------------------------------+-----------------------------------+---------------------------------------------------+
+1 -1
View File
@@ -82,7 +82,7 @@ Transparency sorting
--------------------
In Godot, transparent materials are drawn after opaque materials. Transparent
objects are sorted back to front before being drawn based on the Node3D's
objects are sorted back to front before being drawn based on the Spatial's
position, not the vertex position in world space. Due to this, overlapping
objects may often be sorted out of order. To fix improperly sorted objects, tweak
the material's :ref:`Render Priority <class_Material_property_render_priority>`
+1 -1
View File
@@ -115,7 +115,7 @@ its child. We will animate the sprite to move between two points on the screen.
.. warning::
AnimationPlayer inherits from Node instead of Node2D or Node3D, which means
AnimationPlayer inherits from Node instead of Node2D or Spatial, which means
that the child nodes will not inherit the transform from the parent nodes
due to a bare Node being present in the hierarchy.