mirror of
https://github.com/godotengine/godot-docs.git
synced 2025-12-31 17:49:03 +03:00
classref: Sync with current master branch (705b7a0)
This commit is contained in:
@@ -177,7 +177,7 @@ Signals
|
||||
|
||||
.. rst-class:: classref-signal
|
||||
|
||||
**visibility_changed**\ (\ )
|
||||
**visibility_changed**\ (\ ) :ref:`🔗<class_Node3D_signal_visibility_changed>`
|
||||
|
||||
Emitted when node visibility changes.
|
||||
|
||||
@@ -194,7 +194,7 @@ Enumerations
|
||||
|
||||
.. rst-class:: classref-enumeration
|
||||
|
||||
enum **RotationEditMode**:
|
||||
enum **RotationEditMode**: :ref:`🔗<enum_Node3D_RotationEditMode>`
|
||||
|
||||
.. _class_Node3D_constant_ROTATION_EDIT_MODE_EULER:
|
||||
|
||||
@@ -233,7 +233,7 @@ Constants
|
||||
|
||||
.. rst-class:: classref-constant
|
||||
|
||||
**NOTIFICATION_TRANSFORM_CHANGED** = ``2000``
|
||||
**NOTIFICATION_TRANSFORM_CHANGED** = ``2000`` :ref:`🔗<class_Node3D_constant_NOTIFICATION_TRANSFORM_CHANGED>`
|
||||
|
||||
**Node3D** nodes receive this notification when their global transform changes. This means that either the current or a parent node changed its transform.
|
||||
|
||||
@@ -243,7 +243,7 @@ In order for :ref:`NOTIFICATION_TRANSFORM_CHANGED<class_Node3D_constant_NOTIFICA
|
||||
|
||||
.. rst-class:: classref-constant
|
||||
|
||||
**NOTIFICATION_ENTER_WORLD** = ``41``
|
||||
**NOTIFICATION_ENTER_WORLD** = ``41`` :ref:`🔗<class_Node3D_constant_NOTIFICATION_ENTER_WORLD>`
|
||||
|
||||
**Node3D** nodes receive this notification when they are registered to new :ref:`World3D<class_World3D>` resource.
|
||||
|
||||
@@ -251,7 +251,7 @@ In order for :ref:`NOTIFICATION_TRANSFORM_CHANGED<class_Node3D_constant_NOTIFICA
|
||||
|
||||
.. rst-class:: classref-constant
|
||||
|
||||
**NOTIFICATION_EXIT_WORLD** = ``42``
|
||||
**NOTIFICATION_EXIT_WORLD** = ``42`` :ref:`🔗<class_Node3D_constant_NOTIFICATION_EXIT_WORLD>`
|
||||
|
||||
**Node3D** nodes receive this notification when they are unregistered from current :ref:`World3D<class_World3D>` resource.
|
||||
|
||||
@@ -259,7 +259,7 @@ In order for :ref:`NOTIFICATION_TRANSFORM_CHANGED<class_Node3D_constant_NOTIFICA
|
||||
|
||||
.. rst-class:: classref-constant
|
||||
|
||||
**NOTIFICATION_VISIBILITY_CHANGED** = ``43``
|
||||
**NOTIFICATION_VISIBILITY_CHANGED** = ``43`` :ref:`🔗<class_Node3D_constant_NOTIFICATION_VISIBILITY_CHANGED>`
|
||||
|
||||
**Node3D** nodes receive this notification when their visibility changes.
|
||||
|
||||
@@ -267,7 +267,7 @@ In order for :ref:`NOTIFICATION_TRANSFORM_CHANGED<class_Node3D_constant_NOTIFICA
|
||||
|
||||
.. rst-class:: classref-constant
|
||||
|
||||
**NOTIFICATION_LOCAL_TRANSFORM_CHANGED** = ``44``
|
||||
**NOTIFICATION_LOCAL_TRANSFORM_CHANGED** = ``44`` :ref:`🔗<class_Node3D_constant_NOTIFICATION_LOCAL_TRANSFORM_CHANGED>`
|
||||
|
||||
**Node3D** nodes receive this notification when their local transform changes. This is not received when the transform of a parent node is changed.
|
||||
|
||||
@@ -286,7 +286,7 @@ Property Descriptions
|
||||
|
||||
.. rst-class:: classref-property
|
||||
|
||||
:ref:`Basis<class_Basis>` **basis**
|
||||
:ref:`Basis<class_Basis>` **basis** :ref:`🔗<class_Node3D_property_basis>`
|
||||
|
||||
.. rst-class:: classref-property-setget
|
||||
|
||||
@@ -303,7 +303,7 @@ Basis of the :ref:`transform<class_Node3D_property_transform>` property. Represe
|
||||
|
||||
.. rst-class:: classref-property
|
||||
|
||||
:ref:`Basis<class_Basis>` **global_basis**
|
||||
:ref:`Basis<class_Basis>` **global_basis** :ref:`🔗<class_Node3D_property_global_basis>`
|
||||
|
||||
.. rst-class:: classref-property-setget
|
||||
|
||||
@@ -320,7 +320,7 @@ Global basis of this node. This is equivalent to ``global_transform.basis``.
|
||||
|
||||
.. rst-class:: classref-property
|
||||
|
||||
:ref:`Vector3<class_Vector3>` **global_position**
|
||||
:ref:`Vector3<class_Vector3>` **global_position** :ref:`🔗<class_Node3D_property_global_position>`
|
||||
|
||||
.. rst-class:: classref-property-setget
|
||||
|
||||
@@ -337,7 +337,7 @@ Global position of this node. This is equivalent to ``global_transform.origin``.
|
||||
|
||||
.. rst-class:: classref-property
|
||||
|
||||
:ref:`Vector3<class_Vector3>` **global_rotation**
|
||||
:ref:`Vector3<class_Vector3>` **global_rotation** :ref:`🔗<class_Node3D_property_global_rotation>`
|
||||
|
||||
.. rst-class:: classref-property-setget
|
||||
|
||||
@@ -356,7 +356,7 @@ Rotation part of the global transformation in radians, specified in terms of YXZ
|
||||
|
||||
.. rst-class:: classref-property
|
||||
|
||||
:ref:`Vector3<class_Vector3>` **global_rotation_degrees**
|
||||
:ref:`Vector3<class_Vector3>` **global_rotation_degrees** :ref:`🔗<class_Node3D_property_global_rotation_degrees>`
|
||||
|
||||
.. rst-class:: classref-property-setget
|
||||
|
||||
@@ -373,7 +373,7 @@ Helper property to access :ref:`global_rotation<class_Node3D_property_global_rot
|
||||
|
||||
.. rst-class:: classref-property
|
||||
|
||||
:ref:`Transform3D<class_Transform3D>` **global_transform**
|
||||
:ref:`Transform3D<class_Transform3D>` **global_transform** :ref:`🔗<class_Node3D_property_global_transform>`
|
||||
|
||||
.. rst-class:: classref-property-setget
|
||||
|
||||
@@ -390,7 +390,7 @@ World3D space (global) :ref:`Transform3D<class_Transform3D>` of this node.
|
||||
|
||||
.. rst-class:: classref-property
|
||||
|
||||
:ref:`Vector3<class_Vector3>` **position** = ``Vector3(0, 0, 0)``
|
||||
:ref:`Vector3<class_Vector3>` **position** = ``Vector3(0, 0, 0)`` :ref:`🔗<class_Node3D_property_position>`
|
||||
|
||||
.. rst-class:: classref-property-setget
|
||||
|
||||
@@ -407,7 +407,7 @@ Local position or translation of this node relative to the parent. This is equiv
|
||||
|
||||
.. rst-class:: classref-property
|
||||
|
||||
:ref:`Quaternion<class_Quaternion>` **quaternion**
|
||||
:ref:`Quaternion<class_Quaternion>` **quaternion** :ref:`🔗<class_Node3D_property_quaternion>`
|
||||
|
||||
.. rst-class:: classref-property-setget
|
||||
|
||||
@@ -424,7 +424,7 @@ Access to the node rotation as a :ref:`Quaternion<class_Quaternion>`. This prope
|
||||
|
||||
.. rst-class:: classref-property
|
||||
|
||||
:ref:`Vector3<class_Vector3>` **rotation** = ``Vector3(0, 0, 0)``
|
||||
:ref:`Vector3<class_Vector3>` **rotation** = ``Vector3(0, 0, 0)`` :ref:`🔗<class_Node3D_property_rotation>`
|
||||
|
||||
.. rst-class:: classref-property-setget
|
||||
|
||||
@@ -445,7 +445,7 @@ Rotation part of the local transformation in radians, specified in terms of Eule
|
||||
|
||||
.. rst-class:: classref-property
|
||||
|
||||
:ref:`Vector3<class_Vector3>` **rotation_degrees**
|
||||
:ref:`Vector3<class_Vector3>` **rotation_degrees** :ref:`🔗<class_Node3D_property_rotation_degrees>`
|
||||
|
||||
.. rst-class:: classref-property-setget
|
||||
|
||||
@@ -462,7 +462,7 @@ Helper property to access :ref:`rotation<class_Node3D_property_rotation>` in deg
|
||||
|
||||
.. rst-class:: classref-property
|
||||
|
||||
:ref:`RotationEditMode<enum_Node3D_RotationEditMode>` **rotation_edit_mode** = ``0``
|
||||
:ref:`RotationEditMode<enum_Node3D_RotationEditMode>` **rotation_edit_mode** = ``0`` :ref:`🔗<class_Node3D_property_rotation_edit_mode>`
|
||||
|
||||
.. rst-class:: classref-property-setget
|
||||
|
||||
@@ -479,7 +479,7 @@ Specify how rotation (and scale) will be presented in the editor.
|
||||
|
||||
.. rst-class:: classref-property
|
||||
|
||||
:ref:`EulerOrder<enum_@GlobalScope_EulerOrder>` **rotation_order** = ``2``
|
||||
:ref:`EulerOrder<enum_@GlobalScope_EulerOrder>` **rotation_order** = ``2`` :ref:`🔗<class_Node3D_property_rotation_order>`
|
||||
|
||||
.. rst-class:: classref-property-setget
|
||||
|
||||
@@ -496,7 +496,7 @@ Specify the axis rotation order of the :ref:`rotation<class_Node3D_property_rota
|
||||
|
||||
.. rst-class:: classref-property
|
||||
|
||||
:ref:`Vector3<class_Vector3>` **scale** = ``Vector3(1, 1, 1)``
|
||||
:ref:`Vector3<class_Vector3>` **scale** = ``Vector3(1, 1, 1)`` :ref:`🔗<class_Node3D_property_scale>`
|
||||
|
||||
.. rst-class:: classref-property-setget
|
||||
|
||||
@@ -517,7 +517,7 @@ Scale part of the local transformation.
|
||||
|
||||
.. rst-class:: classref-property
|
||||
|
||||
:ref:`bool<class_bool>` **top_level** = ``false``
|
||||
:ref:`bool<class_bool>` **top_level** = ``false`` :ref:`🔗<class_Node3D_property_top_level>`
|
||||
|
||||
.. rst-class:: classref-property-setget
|
||||
|
||||
@@ -534,7 +534,7 @@ If ``true``, the node will not inherit its transformations from its parent. Node
|
||||
|
||||
.. rst-class:: classref-property
|
||||
|
||||
:ref:`Transform3D<class_Transform3D>` **transform** = ``Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0)``
|
||||
:ref:`Transform3D<class_Transform3D>` **transform** = ``Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0)`` :ref:`🔗<class_Node3D_property_transform>`
|
||||
|
||||
.. rst-class:: classref-property-setget
|
||||
|
||||
@@ -551,7 +551,7 @@ Local space :ref:`Transform3D<class_Transform3D>` of this node, with respect to
|
||||
|
||||
.. rst-class:: classref-property
|
||||
|
||||
:ref:`NodePath<class_NodePath>` **visibility_parent** = ``NodePath("")``
|
||||
:ref:`NodePath<class_NodePath>` **visibility_parent** = ``NodePath("")`` :ref:`🔗<class_Node3D_property_visibility_parent>`
|
||||
|
||||
.. rst-class:: classref-property-setget
|
||||
|
||||
@@ -568,7 +568,7 @@ Defines the visibility range parent for this node and its subtree. The visibilit
|
||||
|
||||
.. rst-class:: classref-property
|
||||
|
||||
:ref:`bool<class_bool>` **visible** = ``true``
|
||||
:ref:`bool<class_bool>` **visible** = ``true`` :ref:`🔗<class_Node3D_property_visible>`
|
||||
|
||||
.. rst-class:: classref-property-setget
|
||||
|
||||
@@ -590,7 +590,7 @@ Method Descriptions
|
||||
|
||||
.. rst-class:: classref-method
|
||||
|
||||
|void| **add_gizmo**\ (\ gizmo\: :ref:`Node3DGizmo<class_Node3DGizmo>`\ )
|
||||
|void| **add_gizmo**\ (\ gizmo\: :ref:`Node3DGizmo<class_Node3DGizmo>`\ ) :ref:`🔗<class_Node3D_method_add_gizmo>`
|
||||
|
||||
Attach an editor gizmo to this **Node3D**.
|
||||
|
||||
@@ -604,7 +604,7 @@ Attach an editor gizmo to this **Node3D**.
|
||||
|
||||
.. rst-class:: classref-method
|
||||
|
||||
|void| **clear_gizmos**\ (\ )
|
||||
|void| **clear_gizmos**\ (\ ) :ref:`🔗<class_Node3D_method_clear_gizmos>`
|
||||
|
||||
Clear all gizmos attached to this **Node3D**.
|
||||
|
||||
@@ -616,7 +616,7 @@ Clear all gizmos attached to this **Node3D**.
|
||||
|
||||
.. rst-class:: classref-method
|
||||
|
||||
|void| **clear_subgizmo_selection**\ (\ )
|
||||
|void| **clear_subgizmo_selection**\ (\ ) :ref:`🔗<class_Node3D_method_clear_subgizmo_selection>`
|
||||
|
||||
Clears subgizmo selection for this node in the editor. Useful when subgizmo IDs become invalid after a property change.
|
||||
|
||||
@@ -628,7 +628,7 @@ Clears subgizmo selection for this node in the editor. Useful when subgizmo IDs
|
||||
|
||||
.. rst-class:: classref-method
|
||||
|
||||
|void| **force_update_transform**\ (\ )
|
||||
|void| **force_update_transform**\ (\ ) :ref:`🔗<class_Node3D_method_force_update_transform>`
|
||||
|
||||
Forces the transform to update. Transform changes in physics are not instant for performance reasons. Transforms are accumulated and then set. Use this if you need an up-to-date transform when doing physics operations.
|
||||
|
||||
@@ -640,7 +640,7 @@ Forces the transform to update. Transform changes in physics are not instant for
|
||||
|
||||
.. rst-class:: classref-method
|
||||
|
||||
:ref:`Array<class_Array>`\[:ref:`Node3DGizmo<class_Node3DGizmo>`\] **get_gizmos**\ (\ ) |const|
|
||||
:ref:`Array<class_Array>`\[:ref:`Node3DGizmo<class_Node3DGizmo>`\] **get_gizmos**\ (\ ) |const| :ref:`🔗<class_Node3D_method_get_gizmos>`
|
||||
|
||||
Returns all the gizmos attached to this **Node3D**.
|
||||
|
||||
@@ -652,7 +652,7 @@ Returns all the gizmos attached to this **Node3D**.
|
||||
|
||||
.. rst-class:: classref-method
|
||||
|
||||
:ref:`Node3D<class_Node3D>` **get_parent_node_3d**\ (\ ) |const|
|
||||
:ref:`Node3D<class_Node3D>` **get_parent_node_3d**\ (\ ) |const| :ref:`🔗<class_Node3D_method_get_parent_node_3d>`
|
||||
|
||||
Returns the parent **Node3D**, or ``null`` if no parent exists, the parent is not of type **Node3D**, or :ref:`top_level<class_Node3D_property_top_level>` is ``true``.
|
||||
|
||||
@@ -666,7 +666,7 @@ Returns the parent **Node3D**, or ``null`` if no parent exists, the parent is no
|
||||
|
||||
.. rst-class:: classref-method
|
||||
|
||||
:ref:`World3D<class_World3D>` **get_world_3d**\ (\ ) |const|
|
||||
:ref:`World3D<class_World3D>` **get_world_3d**\ (\ ) |const| :ref:`🔗<class_Node3D_method_get_world_3d>`
|
||||
|
||||
Returns the current :ref:`World3D<class_World3D>` resource this **Node3D** node is registered to.
|
||||
|
||||
@@ -678,7 +678,7 @@ Returns the current :ref:`World3D<class_World3D>` resource this **Node3D** node
|
||||
|
||||
.. rst-class:: classref-method
|
||||
|
||||
|void| **global_rotate**\ (\ axis\: :ref:`Vector3<class_Vector3>`, angle\: :ref:`float<class_float>`\ )
|
||||
|void| **global_rotate**\ (\ axis\: :ref:`Vector3<class_Vector3>`, angle\: :ref:`float<class_float>`\ ) :ref:`🔗<class_Node3D_method_global_rotate>`
|
||||
|
||||
Rotates the global (world) transformation around axis, a unit :ref:`Vector3<class_Vector3>`, by specified angle in radians. The rotation axis is in global coordinate system.
|
||||
|
||||
@@ -690,7 +690,7 @@ Rotates the global (world) transformation around axis, a unit :ref:`Vector3<clas
|
||||
|
||||
.. rst-class:: classref-method
|
||||
|
||||
|void| **global_scale**\ (\ scale\: :ref:`Vector3<class_Vector3>`\ )
|
||||
|void| **global_scale**\ (\ scale\: :ref:`Vector3<class_Vector3>`\ ) :ref:`🔗<class_Node3D_method_global_scale>`
|
||||
|
||||
Scales the global (world) transformation by the given :ref:`Vector3<class_Vector3>` scale factors.
|
||||
|
||||
@@ -702,7 +702,7 @@ Scales the global (world) transformation by the given :ref:`Vector3<class_Vector
|
||||
|
||||
.. rst-class:: classref-method
|
||||
|
||||
|void| **global_translate**\ (\ offset\: :ref:`Vector3<class_Vector3>`\ )
|
||||
|void| **global_translate**\ (\ offset\: :ref:`Vector3<class_Vector3>`\ ) :ref:`🔗<class_Node3D_method_global_translate>`
|
||||
|
||||
Moves the global (world) transformation by :ref:`Vector3<class_Vector3>` offset. The offset is in global coordinate system.
|
||||
|
||||
@@ -714,7 +714,7 @@ Moves the global (world) transformation by :ref:`Vector3<class_Vector3>` offset.
|
||||
|
||||
.. rst-class:: classref-method
|
||||
|
||||
|void| **hide**\ (\ )
|
||||
|void| **hide**\ (\ ) :ref:`🔗<class_Node3D_method_hide>`
|
||||
|
||||
Disables rendering of this node. Changes :ref:`visible<class_Node3D_property_visible>` to ``false``.
|
||||
|
||||
@@ -726,7 +726,7 @@ Disables rendering of this node. Changes :ref:`visible<class_Node3D_property_vis
|
||||
|
||||
.. rst-class:: classref-method
|
||||
|
||||
:ref:`bool<class_bool>` **is_local_transform_notification_enabled**\ (\ ) |const|
|
||||
:ref:`bool<class_bool>` **is_local_transform_notification_enabled**\ (\ ) |const| :ref:`🔗<class_Node3D_method_is_local_transform_notification_enabled>`
|
||||
|
||||
Returns whether node notifies about its local transformation changes. **Node3D** will not propagate this by default.
|
||||
|
||||
@@ -738,7 +738,7 @@ Returns whether node notifies about its local transformation changes. **Node3D**
|
||||
|
||||
.. rst-class:: classref-method
|
||||
|
||||
:ref:`bool<class_bool>` **is_scale_disabled**\ (\ ) |const|
|
||||
:ref:`bool<class_bool>` **is_scale_disabled**\ (\ ) |const| :ref:`🔗<class_Node3D_method_is_scale_disabled>`
|
||||
|
||||
Returns whether this node uses a scale of ``(1, 1, 1)`` or its local transformation scale.
|
||||
|
||||
@@ -750,7 +750,7 @@ Returns whether this node uses a scale of ``(1, 1, 1)`` or its local transformat
|
||||
|
||||
.. rst-class:: classref-method
|
||||
|
||||
:ref:`bool<class_bool>` **is_transform_notification_enabled**\ (\ ) |const|
|
||||
:ref:`bool<class_bool>` **is_transform_notification_enabled**\ (\ ) |const| :ref:`🔗<class_Node3D_method_is_transform_notification_enabled>`
|
||||
|
||||
Returns whether the node notifies about its global and local transformation changes. **Node3D** will not propagate this by default.
|
||||
|
||||
@@ -762,7 +762,7 @@ Returns whether the node notifies about its global and local transformation chan
|
||||
|
||||
.. rst-class:: classref-method
|
||||
|
||||
:ref:`bool<class_bool>` **is_visible_in_tree**\ (\ ) |const|
|
||||
:ref:`bool<class_bool>` **is_visible_in_tree**\ (\ ) |const| :ref:`🔗<class_Node3D_method_is_visible_in_tree>`
|
||||
|
||||
Returns ``true`` if the node is present in the :ref:`SceneTree<class_SceneTree>`, its :ref:`visible<class_Node3D_property_visible>` property is ``true`` and all its ancestors are also visible. If any ancestor is hidden, this node will not be visible in the scene tree.
|
||||
|
||||
@@ -774,7 +774,7 @@ Returns ``true`` if the node is present in the :ref:`SceneTree<class_SceneTree>`
|
||||
|
||||
.. rst-class:: classref-method
|
||||
|
||||
|void| **look_at**\ (\ target\: :ref:`Vector3<class_Vector3>`, up\: :ref:`Vector3<class_Vector3>` = Vector3(0, 1, 0), use_model_front\: :ref:`bool<class_bool>` = false\ )
|
||||
|void| **look_at**\ (\ target\: :ref:`Vector3<class_Vector3>`, up\: :ref:`Vector3<class_Vector3>` = Vector3(0, 1, 0), use_model_front\: :ref:`bool<class_bool>` = false\ ) :ref:`🔗<class_Node3D_method_look_at>`
|
||||
|
||||
Rotates the node so that the local forward axis (-Z, :ref:`Vector3.FORWARD<class_Vector3_constant_FORWARD>`) points toward the ``target`` position.
|
||||
|
||||
@@ -794,7 +794,7 @@ If ``use_model_front`` is ``true``, the +Z axis (asset front) is treated as forw
|
||||
|
||||
.. rst-class:: classref-method
|
||||
|
||||
|void| **look_at_from_position**\ (\ position\: :ref:`Vector3<class_Vector3>`, target\: :ref:`Vector3<class_Vector3>`, up\: :ref:`Vector3<class_Vector3>` = Vector3(0, 1, 0), use_model_front\: :ref:`bool<class_bool>` = false\ )
|
||||
|void| **look_at_from_position**\ (\ position\: :ref:`Vector3<class_Vector3>`, target\: :ref:`Vector3<class_Vector3>`, up\: :ref:`Vector3<class_Vector3>` = Vector3(0, 1, 0), use_model_front\: :ref:`bool<class_bool>` = false\ ) :ref:`🔗<class_Node3D_method_look_at_from_position>`
|
||||
|
||||
Moves the node to the specified ``position``, and then rotates the node to point toward the ``target`` as per :ref:`look_at<class_Node3D_method_look_at>`. Operations take place in global space.
|
||||
|
||||
@@ -806,7 +806,7 @@ Moves the node to the specified ``position``, and then rotates the node to point
|
||||
|
||||
.. rst-class:: classref-method
|
||||
|
||||
|void| **orthonormalize**\ (\ )
|
||||
|void| **orthonormalize**\ (\ ) :ref:`🔗<class_Node3D_method_orthonormalize>`
|
||||
|
||||
Resets this node's transformations (like scale, skew and taper) preserving its rotation and translation by performing Gram-Schmidt orthonormalization on this node's :ref:`Transform3D<class_Transform3D>`.
|
||||
|
||||
@@ -818,7 +818,7 @@ Resets this node's transformations (like scale, skew and taper) preserving its r
|
||||
|
||||
.. rst-class:: classref-method
|
||||
|
||||
|void| **rotate**\ (\ axis\: :ref:`Vector3<class_Vector3>`, angle\: :ref:`float<class_float>`\ )
|
||||
|void| **rotate**\ (\ axis\: :ref:`Vector3<class_Vector3>`, angle\: :ref:`float<class_float>`\ ) :ref:`🔗<class_Node3D_method_rotate>`
|
||||
|
||||
Rotates the local transformation around axis, a unit :ref:`Vector3<class_Vector3>`, by specified angle in radians.
|
||||
|
||||
@@ -830,7 +830,7 @@ Rotates the local transformation around axis, a unit :ref:`Vector3<class_Vector3
|
||||
|
||||
.. rst-class:: classref-method
|
||||
|
||||
|void| **rotate_object_local**\ (\ axis\: :ref:`Vector3<class_Vector3>`, angle\: :ref:`float<class_float>`\ )
|
||||
|void| **rotate_object_local**\ (\ axis\: :ref:`Vector3<class_Vector3>`, angle\: :ref:`float<class_float>`\ ) :ref:`🔗<class_Node3D_method_rotate_object_local>`
|
||||
|
||||
Rotates the local transformation around axis, a unit :ref:`Vector3<class_Vector3>`, by specified angle in radians. The rotation axis is in object-local coordinate system.
|
||||
|
||||
@@ -842,7 +842,7 @@ Rotates the local transformation around axis, a unit :ref:`Vector3<class_Vector3
|
||||
|
||||
.. rst-class:: classref-method
|
||||
|
||||
|void| **rotate_x**\ (\ angle\: :ref:`float<class_float>`\ )
|
||||
|void| **rotate_x**\ (\ angle\: :ref:`float<class_float>`\ ) :ref:`🔗<class_Node3D_method_rotate_x>`
|
||||
|
||||
Rotates the local transformation around the X axis by angle in radians.
|
||||
|
||||
@@ -854,7 +854,7 @@ Rotates the local transformation around the X axis by angle in radians.
|
||||
|
||||
.. rst-class:: classref-method
|
||||
|
||||
|void| **rotate_y**\ (\ angle\: :ref:`float<class_float>`\ )
|
||||
|void| **rotate_y**\ (\ angle\: :ref:`float<class_float>`\ ) :ref:`🔗<class_Node3D_method_rotate_y>`
|
||||
|
||||
Rotates the local transformation around the Y axis by angle in radians.
|
||||
|
||||
@@ -866,7 +866,7 @@ Rotates the local transformation around the Y axis by angle in radians.
|
||||
|
||||
.. rst-class:: classref-method
|
||||
|
||||
|void| **rotate_z**\ (\ angle\: :ref:`float<class_float>`\ )
|
||||
|void| **rotate_z**\ (\ angle\: :ref:`float<class_float>`\ ) :ref:`🔗<class_Node3D_method_rotate_z>`
|
||||
|
||||
Rotates the local transformation around the Z axis by angle in radians.
|
||||
|
||||
@@ -878,7 +878,7 @@ Rotates the local transformation around the Z axis by angle in radians.
|
||||
|
||||
.. rst-class:: classref-method
|
||||
|
||||
|void| **scale_object_local**\ (\ scale\: :ref:`Vector3<class_Vector3>`\ )
|
||||
|void| **scale_object_local**\ (\ scale\: :ref:`Vector3<class_Vector3>`\ ) :ref:`🔗<class_Node3D_method_scale_object_local>`
|
||||
|
||||
Scales the local transformation by given 3D scale factors in object-local coordinate system.
|
||||
|
||||
@@ -890,7 +890,7 @@ Scales the local transformation by given 3D scale factors in object-local coordi
|
||||
|
||||
.. rst-class:: classref-method
|
||||
|
||||
|void| **set_disable_scale**\ (\ disable\: :ref:`bool<class_bool>`\ )
|
||||
|void| **set_disable_scale**\ (\ disable\: :ref:`bool<class_bool>`\ ) :ref:`🔗<class_Node3D_method_set_disable_scale>`
|
||||
|
||||
Sets whether the node uses a scale of ``(1, 1, 1)`` or its local transformation scale. Changes to the local transformation scale are preserved.
|
||||
|
||||
@@ -902,7 +902,7 @@ Sets whether the node uses a scale of ``(1, 1, 1)`` or its local transformation
|
||||
|
||||
.. rst-class:: classref-method
|
||||
|
||||
|void| **set_identity**\ (\ )
|
||||
|void| **set_identity**\ (\ ) :ref:`🔗<class_Node3D_method_set_identity>`
|
||||
|
||||
Reset all transformations for this node (sets its :ref:`Transform3D<class_Transform3D>` to the identity matrix).
|
||||
|
||||
@@ -914,7 +914,7 @@ Reset all transformations for this node (sets its :ref:`Transform3D<class_Transf
|
||||
|
||||
.. rst-class:: classref-method
|
||||
|
||||
|void| **set_ignore_transform_notification**\ (\ enabled\: :ref:`bool<class_bool>`\ )
|
||||
|void| **set_ignore_transform_notification**\ (\ enabled\: :ref:`bool<class_bool>`\ ) :ref:`🔗<class_Node3D_method_set_ignore_transform_notification>`
|
||||
|
||||
Sets whether the node ignores notification that its transformation (global or local) changed.
|
||||
|
||||
@@ -926,7 +926,7 @@ Sets whether the node ignores notification that its transformation (global or lo
|
||||
|
||||
.. rst-class:: classref-method
|
||||
|
||||
|void| **set_notify_local_transform**\ (\ enable\: :ref:`bool<class_bool>`\ )
|
||||
|void| **set_notify_local_transform**\ (\ enable\: :ref:`bool<class_bool>`\ ) :ref:`🔗<class_Node3D_method_set_notify_local_transform>`
|
||||
|
||||
Sets whether the node notifies about its local transformation changes. **Node3D** will not propagate this by default.
|
||||
|
||||
@@ -938,7 +938,7 @@ Sets whether the node notifies about its local transformation changes. **Node3D*
|
||||
|
||||
.. rst-class:: classref-method
|
||||
|
||||
|void| **set_notify_transform**\ (\ enable\: :ref:`bool<class_bool>`\ )
|
||||
|void| **set_notify_transform**\ (\ enable\: :ref:`bool<class_bool>`\ ) :ref:`🔗<class_Node3D_method_set_notify_transform>`
|
||||
|
||||
Sets whether the node notifies about its global and local transformation changes. **Node3D** will not propagate this by default, unless it is in the editor context and it has a valid gizmo.
|
||||
|
||||
@@ -950,7 +950,7 @@ Sets whether the node notifies about its global and local transformation changes
|
||||
|
||||
.. rst-class:: classref-method
|
||||
|
||||
|void| **set_subgizmo_selection**\ (\ gizmo\: :ref:`Node3DGizmo<class_Node3DGizmo>`, id\: :ref:`int<class_int>`, transform\: :ref:`Transform3D<class_Transform3D>`\ )
|
||||
|void| **set_subgizmo_selection**\ (\ gizmo\: :ref:`Node3DGizmo<class_Node3DGizmo>`, id\: :ref:`int<class_int>`, transform\: :ref:`Transform3D<class_Transform3D>`\ ) :ref:`🔗<class_Node3D_method_set_subgizmo_selection>`
|
||||
|
||||
Set subgizmo selection for this node in the editor.
|
||||
|
||||
@@ -964,7 +964,7 @@ Set subgizmo selection for this node in the editor.
|
||||
|
||||
.. rst-class:: classref-method
|
||||
|
||||
|void| **show**\ (\ )
|
||||
|void| **show**\ (\ ) :ref:`🔗<class_Node3D_method_show>`
|
||||
|
||||
Enables rendering of this node. Changes :ref:`visible<class_Node3D_property_visible>` to ``true``.
|
||||
|
||||
@@ -976,7 +976,7 @@ Enables rendering of this node. Changes :ref:`visible<class_Node3D_property_visi
|
||||
|
||||
.. rst-class:: classref-method
|
||||
|
||||
:ref:`Vector3<class_Vector3>` **to_global**\ (\ local_point\: :ref:`Vector3<class_Vector3>`\ ) |const|
|
||||
:ref:`Vector3<class_Vector3>` **to_global**\ (\ local_point\: :ref:`Vector3<class_Vector3>`\ ) |const| :ref:`🔗<class_Node3D_method_to_global>`
|
||||
|
||||
Transforms ``local_point`` from this node's local space to world space.
|
||||
|
||||
@@ -988,7 +988,7 @@ Transforms ``local_point`` from this node's local space to world space.
|
||||
|
||||
.. rst-class:: classref-method
|
||||
|
||||
:ref:`Vector3<class_Vector3>` **to_local**\ (\ global_point\: :ref:`Vector3<class_Vector3>`\ ) |const|
|
||||
:ref:`Vector3<class_Vector3>` **to_local**\ (\ global_point\: :ref:`Vector3<class_Vector3>`\ ) |const| :ref:`🔗<class_Node3D_method_to_local>`
|
||||
|
||||
Transforms ``global_point`` from world space to this node's local space.
|
||||
|
||||
@@ -1000,7 +1000,7 @@ Transforms ``global_point`` from world space to this node's local space.
|
||||
|
||||
.. rst-class:: classref-method
|
||||
|
||||
|void| **translate**\ (\ offset\: :ref:`Vector3<class_Vector3>`\ )
|
||||
|void| **translate**\ (\ offset\: :ref:`Vector3<class_Vector3>`\ ) :ref:`🔗<class_Node3D_method_translate>`
|
||||
|
||||
Changes the node's position by the given offset :ref:`Vector3<class_Vector3>`.
|
||||
|
||||
@@ -1014,7 +1014,7 @@ Note that the translation ``offset`` is affected by the node's scale, so if scal
|
||||
|
||||
.. rst-class:: classref-method
|
||||
|
||||
|void| **translate_object_local**\ (\ offset\: :ref:`Vector3<class_Vector3>`\ )
|
||||
|void| **translate_object_local**\ (\ offset\: :ref:`Vector3<class_Vector3>`\ ) :ref:`🔗<class_Node3D_method_translate_object_local>`
|
||||
|
||||
Changes the node's position by the given offset :ref:`Vector3<class_Vector3>` in local space.
|
||||
|
||||
@@ -1026,7 +1026,7 @@ Changes the node's position by the given offset :ref:`Vector3<class_Vector3>` in
|
||||
|
||||
.. rst-class:: classref-method
|
||||
|
||||
|void| **update_gizmos**\ (\ )
|
||||
|void| **update_gizmos**\ (\ ) :ref:`🔗<class_Node3D_method_update_gizmos>`
|
||||
|
||||
Updates all the **Node3D** gizmos attached to this node.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user