Debian Codegraph @

doc/classes/BoneConstraint3D.xml

raw symbols SCIP
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <class name="BoneConstraint3D" inherits="SkeletonModifier3D" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
3 <brief_description>
4 A node that may modify Skeleton3D's bone with associating the two bones.
5 </brief_description>
6 <description>
7 Base class of [SkeletonModifier3D] that modifies the bone set in [method set_apply_bone] based on the transform of the bone retrieved by [method get_reference_bone].
8 </description>
9 <tutorials>
10 </tutorials>
11 <methods>
12 <method name="clear_setting">
13 <return type="void" />
14 <description>
15 Clear all settings.
16 </description>
17 </method>
18 <method name="get_amount" qualifiers="const">
19 <return type="float" />
20 <param index="0" name="index" type="int" />
21 <description>
22 Returns the apply amount of the setting at [param index].
23 </description>
24 </method>
25 <method name="get_apply_bone" qualifiers="const">
26 <return type="int" />
27 <param index="0" name="index" type="int" />
28 <description>
29 Returns the apply bone of the setting at [param index]. This bone will be modified.
30 </description>
31 </method>
32 <method name="get_apply_bone_name" qualifiers="const">
33 <return type="String" />
34 <param index="0" name="index" type="int" />
35 <description>
36 Returns the apply bone name of the setting at [param index]. This bone will be modified.
37 </description>
38 </method>
39 <method name="get_reference_bone" qualifiers="const">
40 <return type="int" />
41 <param index="0" name="index" type="int" />
42 <description>
43 Returns the reference bone of the setting at [param index].
44 This bone will be only referenced and not modified by this modifier.
45 </description>
46 </method>
47 <method name="get_reference_bone_name" qualifiers="const">
48 <return type="String" />
49 <param index="0" name="index" type="int" />
50 <description>
51 Returns the reference bone name of the setting at [param index].
52 This bone will be only referenced and not modified by this modifier.
53 </description>
54 </method>
55 <method name="get_reference_node" qualifiers="const">
56 <return type="NodePath" />
57 <param index="0" name="index" type="int" />
58 <description>
59 Returns the reference node path of the setting at [param index].
60 This node will be only referenced and not modified by this modifier.
61 </description>
62 </method>
63 <method name="get_reference_type" qualifiers="const">
64 <return type="int" enum="BoneConstraint3D.ReferenceType" />
65 <param index="0" name="index" type="int" />
66 <description>
67 Returns the reference target type of the setting at [param index]. See also [enum ReferenceType].
68 </description>
69 </method>
70 <method name="get_setting_count" qualifiers="const">
71 <return type="int" />
72 <description>
73 Returns the number of settings in the modifier.
74 </description>
75 </method>
76 <method name="set_amount">
77 <return type="void" />
78 <param index="0" name="index" type="int" />
79 <param index="1" name="amount" type="float" />
80 <description>
81 Sets the apply amount of the setting at [param index] to [param amount].
82 </description>
83 </method>
84 <method name="set_apply_bone">
85 <return type="void" />
86 <param index="0" name="index" type="int" />
87 <param index="1" name="bone" type="int" />
88 <description>
89 Sets the apply bone of the setting at [param index] to [param bone]. This bone will be modified.
90 </description>
91 </method>
92 <method name="set_apply_bone_name">
93 <return type="void" />
94 <param index="0" name="index" type="int" />
95 <param index="1" name="bone_name" type="String" />
96 <description>
97 Sets the apply bone of the setting at [param index] to [param bone_name]. This bone will be modified.
98 </description>
99 </method>
100 <method name="set_reference_bone">
101 <return type="void" />
102 <param index="0" name="index" type="int" />
103 <param index="1" name="bone" type="int" />
104 <description>
105 Sets the reference bone of the setting at [param index] to [param bone].
106 This bone will be only referenced and not modified by this modifier.
107 </description>
108 </method>
109 <method name="set_reference_bone_name">
110 <return type="void" />
111 <param index="0" name="index" type="int" />
112 <param index="1" name="bone_name" type="String" />
113 <description>
114 Sets the reference bone of the setting at [param index] to [param bone_name].
115 This bone will be only referenced and not modified by this modifier.
116 </description>
117 </method>
118 <method name="set_reference_node">
119 <return type="void" />
120 <param index="0" name="index" type="int" />
121 <param index="1" name="node" type="NodePath" />
122 <description>
123 Sets the reference node path of the setting at [param index] to [param node].
124 This node will be only referenced and not modified by this modifier.
125 </description>
126 </method>
127 <method name="set_reference_type">
128 <return type="void" />
129 <param index="0" name="index" type="int" />
130 <param index="1" name="type" type="int" enum="BoneConstraint3D.ReferenceType" />
131 <description>
132 Sets the reference target type of the setting at [param index] to [param type]. See also [enum ReferenceType].
133 </description>
134 </method>
135 <method name="set_setting_count">
136 <return type="void" />
137 <param index="0" name="count" type="int" />
138 <description>
139 Sets the number of settings in the modifier.
140 </description>
141 </method>
142 </methods>
143 <constants>
144 <constant name="REFERENCE_TYPE_BONE" value="0" enum="ReferenceType">
145 The reference target is a bone. In this case, the reference target spaces is local space.
146 </constant>
147 <constant name="REFERENCE_TYPE_NODE" value="1" enum="ReferenceType">
148 The reference target is a [Node3D]. In this case, the reference target spaces is model space.
149 In other words, the reference target's coordinates are treated as if it were placed directly under [Skeleton3D] which parent of the [BoneConstraint3D].
150 </constant>
151 </constants>
152 </class>