Skip to content

Commit

Permalink
Refactor ManyBoneIK3D.xml: Remove unused methods and members, add new…
Browse files Browse the repository at this point in the history
… methods for setting constraint count and name.
  • Loading branch information
fire committed Nov 6, 2023
1 parent 062cac8 commit 7515ed5
Showing 1 changed file with 24 additions and 32 deletions.
56 changes: 24 additions & 32 deletions doc_classes/ManyBoneIK3D.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,6 @@
<tutorials>
</tutorials>
<methods>
<method name="convert_attitude_azimuth_to_coordinate" qualifiers="static">
<return type="Vector3" />
<param index="0" name="atitude" type="float" />
<param index="1" name="azimuth" type="float" />
<description>
</description>
</method>
<method name="convert_coordinate_to_attitude_azimuth" qualifiers="static">
<return type="Vector2" />
<param index="0" name="center" type="Vector3" />
<description>
</description>
</method>
<method name="find_constraint" qualifiers="const">
<return type="int" />
<param index="0" name="name" type="String" />
Expand Down Expand Up @@ -106,12 +93,6 @@
Returns the twist of the kusudama at the specified index.
</description>
</method>
<method name="get_kusudama_twist_current" qualifiers="const">
<return type="float" />
<param index="0" name="index" type="int" />
<description>
</description>
</method>
<method name="get_pin_bone_name" qualifiers="const">
<return type="StringName" />
<param index="0" name="index" type="int" />
Expand Down Expand Up @@ -193,6 +174,19 @@
Sets the direction transform of the bone at the specified index.
</description>
</method>
<method name="set_constraint_count">
<return type="void" />
<param index="0" name="count" type="int" />
<description>
</description>
</method>
<method name="set_constraint_name">
<return type="void" />
<param index="0" name="index" type="int" />
<param index="1" name="name" type="String" />
<description>
</description>
</method>
<method name="set_constraint_orientation_transform">
<return type="void" />
<param index="0" name="index" type="int" />
Expand Down Expand Up @@ -257,9 +251,16 @@
Sets the twist of the kusudama at the specified index.
</description>
</method>
<method name="set_kusudama_twist_current" qualifiers="const">
<return type="float" />
<param index="0" name="twist_current" type="int" />
<method name="set_pin_bone_name" qualifiers="const">
<return type="void" />
<param index="0" name="index" type="int" />
<param index="1" name="name" type="StringName" />
<description>
</description>
</method>
<method name="set_pin_count">
<return type="void" />
<param index="0" name="count" type="int" />
<description>
</description>
</method>
Expand Down Expand Up @@ -297,30 +298,21 @@
</method>
</methods>
<members>
<member name="bone_direction_constraint_defaults" type="Dictionary" setter="set_bone_direction_constraint_defaults" getter="get_bone_direction_constraint_defaults" default="{}">
A dictionary containing the default values for bone direction constraints.
</member>
<member name="constraint_mode" type="bool" setter="set_constraint_mode" getter="get_constraint_mode" default="false">
A boolean value indicating whether the IK system is in constraint mode or not.
</member>
<member name="default_damp" type="float" setter="set_default_damp" getter="get_default_damp" default="0.0872665">
<member name="default_damp" type="float" setter="set_default_damp" getter="get_default_damp" default="0.00872665">
The default maximum number of radians a bone is allowed to rotate per solver iteration. The lower this value, the more natural the pose results. However, this will increase the number of iterations_per_frame the solver requires to converge.
</member>
<member name="iterations_per_frame" type="float" setter="set_iterations_per_frame" getter="get_iterations_per_frame" default="10.0">
The number of iterations performed by the solver per frame. A higher value will result in more accurate poses but may impact performance.
</member>
<member name="orientation_constraint_defaults" type="Dictionary" setter="set_orientation_constraint_defaults" getter="get_orientation_constraint_defaults" default="{}">
A dictionary containing the default values for orientation constraints.
</member>
<member name="skeleton_node_path" type="NodePath" setter="set_skeleton_node_path" getter="get_skeleton_node_path" default="NodePath(&quot;..&quot;)">
The NodePath pointing to the skeleton associated with the IK system.
</member>
<member name="stabilization_passes" type="int" setter="set_stabilization_passes" getter="get_stabilization_passes" default="4">
The number of stabilization passes performed by the solver. This can help to improve the stability of the IK solution.
</member>
<member name="twist_constraint_defaults" type="Dictionary" setter="set_twist_constraint_defaults" getter="get_twist_constraint_defaults" default="{}">
A dictionary containing the default values for twist constraints.
</member>
<member name="ui_selected_bone" type="int" setter="set_ui_selected_bone" getter="get_ui_selected_bone" default="-1">
The index of the bone currently selected in the user interface.
</member>
Expand Down

0 comments on commit 7515ed5

Please sign in to comment.