diff options
Diffstat (limited to 'doc/classes/SkeletonModification3DTwoBoneIK.xml')
-rw-r--r-- | doc/classes/SkeletonModification3DTwoBoneIK.xml | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/doc/classes/SkeletonModification3DTwoBoneIK.xml b/doc/classes/SkeletonModification3DTwoBoneIK.xml index 0576591e2e..6618ebbcfb 100644 --- a/doc/classes/SkeletonModification3DTwoBoneIK.xml +++ b/doc/classes/SkeletonModification3DTwoBoneIK.xml @@ -91,7 +91,7 @@ </method> <method name="set_auto_calculate_joint_length"> <return type="void" /> - <argument index="0" name="auto_calculate_joint_length" type="bool" /> + <param index="0" name="auto_calculate_joint_length" type="bool" /> <description> If true, the TwoBoneIK modification will attempt to autocalculate the lengths of the bones being used. The first bone will be calculated by using the distance from the origin of the first bone to the origin of the second bone. The second bone will be calculated either using the tip node if that setting is enabled, or by using the distances of the second bone's children. If the tip node is not enabled and the bone has no children, then the length cannot be autocalculated. In this case, the length will either have to be manually inputted or a tip node used to calculate the length. @@ -99,70 +99,70 @@ </method> <method name="set_joint_one_bone_idx"> <return type="void" /> - <argument index="0" name="bone_idx" type="int" /> + <param index="0" name="bone_idx" type="int" /> <description> - Sets the bone index, [code]bone_index[/code], of the first bone. When possible, this will also update the [code]bone_name[/code] of the first bone based on data provided by the [Skeleton3D]. + Sets the bone index, [param bone_idx], of the first bone. When possible, this will also update the [code]bone_name[/code] of the first bone based on data provided by the [Skeleton3D]. </description> </method> <method name="set_joint_one_bone_name"> <return type="void" /> - <argument index="0" name="bone_name" type="String" /> + <param index="0" name="bone_name" type="String" /> <description> - Sets the bone name, [code]bone_name[/code], of the first bone. When possible, this will also update the [code]bone_index[/code] of the first bone based on data provided by the [Skeleton3D]. + Sets the bone name, [param bone_name], of the first bone. When possible, this will also update the [code]bone_index[/code] of the first bone based on data provided by the [Skeleton3D]. </description> </method> <method name="set_joint_one_length"> <return type="void" /> - <argument index="0" name="bone_length" type="float" /> + <param index="0" name="bone_length" type="float" /> <description> Sets the length of the first bone in the TwoBoneIK modification. </description> </method> <method name="set_joint_one_roll"> <return type="void" /> - <argument index="0" name="roll" type="float" /> + <param index="0" name="roll" type="float" /> <description> Sets the amount of roll/twist applied to the first bone in the TwoBoneIK modification. </description> </method> <method name="set_joint_two_bone_idx"> <return type="void" /> - <argument index="0" name="bone_idx" type="int" /> + <param index="0" name="bone_idx" type="int" /> <description> - Sets the bone index, [code]bone_index[/code], of the second bone. When possible, this will also update the [code]bone_name[/code] of the second bone based on data provided by the [Skeleton3D]. + Sets the bone index, [param bone_idx], of the second bone. When possible, this will also update the [code]bone_name[/code] of the second bone based on data provided by the [Skeleton3D]. </description> </method> <method name="set_joint_two_bone_name"> <return type="void" /> - <argument index="0" name="bone_name" type="String" /> + <param index="0" name="bone_name" type="String" /> <description> - Sets the bone name, [code]bone_name[/code], of the second bone. When possible, this will also update the [code]bone_index[/code] of the second bone based on data provided by the [Skeleton3D]. + Sets the bone name, [param bone_name], of the second bone. When possible, this will also update the [code]bone_index[/code] of the second bone based on data provided by the [Skeleton3D]. </description> </method> <method name="set_joint_two_length"> <return type="void" /> - <argument index="0" name="bone_length" type="float" /> + <param index="0" name="bone_length" type="float" /> <description> Sets the length of the second bone in the TwoBoneIK modification. </description> </method> <method name="set_joint_two_roll"> <return type="void" /> - <argument index="0" name="roll" type="float" /> + <param index="0" name="roll" type="float" /> <description> Sets the amount of roll/twist applied to the second bone in the TwoBoneIK modification. </description> </method> <method name="set_pole_node"> <return type="void" /> - <argument index="0" name="pole_nodepath" type="NodePath" /> + <param index="0" name="pole_nodepath" type="NodePath" /> <description> Sets the node to be used as the for the pole of the TwoBoneIK. When a node is set and the modification is set to use the pole node, the TwoBoneIK modification will bend the nodes in the direction towards this node when the bones need to bend. </description> </method> <method name="set_tip_node"> <return type="void" /> - <argument index="0" name="tip_nodepath" type="NodePath" /> + <param index="0" name="tip_nodepath" type="NodePath" /> <description> Sets the node to be used as the tip for the second bone. This is used to calculate the length and position of the end of the second bone in the TwoBoneIK modification. [b]Note:[/b] The tip node should generally be a child node of a [BoneAttachment3D] node attached to the second bone, with the child node being offset so it is at the end of the bone. @@ -170,14 +170,14 @@ </method> <method name="set_use_pole_node"> <return type="void" /> - <argument index="0" name="use_pole_node" type="bool" /> + <param index="0" name="use_pole_node" type="bool" /> <description> When [code]true[/code], the TwoBoneIK modification will bend the bones towards the pole node, if one has been set. This gives control over the direction the TwoBoneIK solver will bend, which is helpful for joints like elbows that only bend in certain directions. </description> </method> <method name="set_use_tip_node"> <return type="void" /> - <argument index="0" name="use_tip_node" type="bool" /> + <param index="0" name="use_tip_node" type="bool" /> <description> When [code]true[/code], the TwoBoneIK modification will use the tip node to calculate the distance and position of the end/tip of the second bone. This is the most stable solution for knowing the tip position and length of the second bone. </description> |