0.2.0-dev Download ZIP
21 lines ·1.3 KB Raw
| 1 | <?xml version="1.0" encoding="UTF-8" ?> |
| 2 | <class name="ModifierBoneTarget3D" inherits="SkeletonModifier3D" api_type="core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> |
| 3 | <brief_description> |
| 4 | А node that dynamically copies the 3D transform of a bone in its parent [Skeleton3D]. |
| 5 | </brief_description> |
| 6 | <description> |
| 7 | This node selects a bone in a [Skeleton3D] and attaches to it. This means that the [ModifierBoneTarget3D] node will dynamically copy the 3D transform of the selected bone. |
| 8 | The functionality is similar to [BoneAttachment3D], but this node adopts the [SkeletonModifier3D] cycle and is intended to be used as another [SkeletonModifier3D]'s target. |
| 9 | </description> |
| 10 | <tutorials> |
| 11 | </tutorials> |
| 12 | <members> |
| 13 | <member name="bone" type="int" setter="set_bone" getter="get_bone" default="-1"> |
| 14 | The index of the attached bone. |
| 15 | </member> |
| 16 | <member name="bone_name" type="String" setter="set_bone_name" getter="get_bone_name" default=""""> |
| 17 | The name of the attached bone. |
| 18 | </member> |
| 19 | <member name="physics_interpolation_mode" type="int" setter="set_physics_interpolation_mode" getter="get_physics_interpolation_mode" overrides="Node" enum="Node.PhysicsInterpolationMode" default="2" /> |
| 20 | </members> |
| 21 | </class> |