From 13e2e4e5d8b2230f2e875582f1b055baadf38441 Mon Sep 17 00:00:00 2001 From: Nathan Frank Date: Fri, 15 Sep 2023 11:22:25 -0400 Subject: [PATCH] Add missing documentation for Skeleton3D methods Adds description for get/set pose position/rotation/scale. --- doc/classes/Skeleton3D.xml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/classes/Skeleton3D.xml b/doc/classes/Skeleton3D.xml index b4c42ea399f7..bc3782d1a021 100644 --- a/doc/classes/Skeleton3D.xml +++ b/doc/classes/Skeleton3D.xml @@ -126,18 +126,21 @@ + Returns the pose position of the bone at [param bone_idx]. The returned [Vector3] is in the local coordinate space of the [Skeleton3D] node. + Returns the pose rotation of the bone at [param bone_idx]. The returned [Quaternion] is local to the bone with respect to the rotation of any parent bones. + Returns the pose scale of the bone at [param bone_idx]. @@ -265,6 +268,7 @@ + Sets the pose position of the bone at [param bone_idx] to [param position]. [param position] is a [Vector3] describing a position local to the [Skeleton3D] node. @@ -272,6 +276,7 @@ + Sets the pose rotation of the bone at [param bone_idx] to [param rotation]. [param rotation] is a [Quaternion] describing a rotation in the bone's local coordinate space with respect to the rotation of any parent bones. @@ -279,6 +284,7 @@ + Sets the pose scale of the bone at [param bone_idx] to [param scale].