[Animation] Expose SkeletonProfile.set/is_required
This commit is contained in:
@ -83,6 +83,14 @@
|
||||
Returns the texture of the group at [param group_idx] that will be the drawing group background image in the [BoneMap] editor.
|
||||
</description>
|
||||
</method>
|
||||
<method name="is_required" qualifiers="const">
|
||||
<return type="bool" />
|
||||
<param index="0" name="bone_idx" type="int" />
|
||||
<description>
|
||||
Returns whether the bone at [param bone_idx] is required for retargeting.
|
||||
This value is used by the bone map editor. If this method returns [code]true[/code], and no bone is assigned, the handle color will be red on the bone map editor.
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_bone_name">
|
||||
<return type="void" />
|
||||
<param index="0" name="bone_idx" type="int" />
|
||||
@ -141,6 +149,14 @@
|
||||
Sets the reference pose transform for bone [param bone_idx].
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_required">
|
||||
<return type="void" />
|
||||
<param index="0" name="bone_idx" type="int" />
|
||||
<param index="1" name="required" type="bool" />
|
||||
<description>
|
||||
Sets the required status for bone [param bone_idx] to [param required].
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_tail_direction">
|
||||
<return type="void" />
|
||||
<param index="0" name="bone_idx" type="int" />
|
||||
|
||||
Reference in New Issue
Block a user