You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: classes/class_input.rst
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -742,6 +742,8 @@ If ``exact_match`` is ``false``, it ignores additional input modifiers for :ref:
742
742
743
743
\ **Note:** Due to keyboard ghosting, :ref:`is_action_just_pressed<class_Input_method_is_action_just_pressed>` may return ``false`` even if one of the action's keys is pressed. See `Input examples <../tutorials/inputs/input_examples.html#keyboard-events>`__ in the documentation for more information.
744
744
745
+
\ **Note:** During input handling (e.g. :ref:`Node._input<class_Node_private_method__input>`), use :ref:`InputEvent.is_action_pressed<class_InputEvent_method_is_action_pressed>` instead to query the action state of the current event.
746
+
745
747
.. rst-class:: classref-item-separator
746
748
747
749
----
@@ -758,6 +760,8 @@ Returns ``true`` when the user *stops* pressing the action event in the current
758
760
759
761
If ``exact_match`` is ``false``, it ignores additional input modifiers for :ref:`InputEventKey<class_InputEventKey>` and :ref:`InputEventMouseButton<class_InputEventMouseButton>` events, and the direction for :ref:`InputEventJoypadMotion<class_InputEventJoypadMotion>` events.
760
762
763
+
\ **Note:** During input handling (e.g. :ref:`Node._input<class_Node_private_method__input>`), use :ref:`InputEvent.is_action_released<class_InputEvent_method_is_action_released>` instead to query the action state of the current event.
Returns the :ref:`SceneTree<class_SceneTree>` that contains this node.
1938
+
Returns the :ref:`SceneTree<class_SceneTree>` that contains this node. Returns ``null`` and prints an error if this node is not inside the scene tree. See also :ref:`is_inside_tree<class_Node_method_is_inside_tree>`.
There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
496
+
Returns the pose position of the bone at ``bone_idx``. The returned :ref:`Vector3<class_Vector3>` is in the local coordinate space of the **Skeleton3D** node.
499
497
500
498
.. rst-class:: classref-item-separator
501
499
@@ -507,9 +505,7 @@ Returns the pose transform of the specified bone.
There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
508
+
Returns the pose rotation of the bone at ``bone_idx``. The returned :ref:`Quaternion<class_Quaternion>` is local to the bone with respect to the rotation of any parent bones.
513
509
514
510
.. rst-class:: classref-item-separator
515
511
@@ -521,9 +517,7 @@ Returns the pose transform of the specified bone.
There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
520
+
Returns the pose scale of the bone at ``bone_idx``.
527
521
528
522
.. rst-class:: classref-item-separator
529
523
@@ -745,9 +739,7 @@ Sets the bone index ``parent_idx`` as the parent of the bone at ``bone_idx``. If
745
739
746
740
void **set_bone_pose_position** **(** :ref:`int<class_int>` bone_idx, :ref:`Vector3<class_Vector3>` position **)**
747
741
748
-
.. container:: contribute
749
-
750
-
There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
742
+
Sets the pose position of the bone at ``bone_idx`` to ``position``. ``position`` is a :ref:`Vector3<class_Vector3>` describing a position local to the **Skeleton3D** node.
There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
754
+
Sets the pose rotation of the bone at ``bone_idx`` to ``rotation``. ``rotation`` is a :ref:`Quaternion<class_Quaternion>` describing a rotation in the bone's local coordinate space with respect to the rotation of any parent bones.
0 commit comments