Debian Codegraph @

doc/classes/SplineIK3D.xml

raw symbols SCIP
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <class name="SplineIK3D" inherits="ChainIK3D" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
3 <brief_description>
4 A [SkeletonModifier3D] for aligning bones along a [Path3D].
5 </brief_description>
6 <description>
7 A [SkeletonModifier3D] for aligning bones along a [Path3D]. The smoothness of the fitting depends on the [member Curve3D.bake_interval].
8 If you want the [Path3D] to attach to a specific bone, it is recommended to place a [ModifierBoneTarget3D] before the [SplineIK3D] in the [SkeletonModifier3D] list (children of the [Skeleton3D]), and then place a [Path3D] as the [ModifierBoneTarget3D]'s child.
9 Bone twist is determined based on the [method Curve3D.get_point_tilt].
10 If the root bone joint and the start point of the [Curve3D] are separated, it assumes that there is a linear line segment between them. This means that the vector pointing toward the start point of the [Curve3D] takes precedence over the shortest intersection point along the [Curve3D].
11 If the end bone joint exceeds the path length, it is bent as close as possible to the end point of the [Curve3D].
12 </description>
13 <tutorials>
14 </tutorials>
15 <methods>
16 <method name="get_path_3d" qualifiers="const">
17 <return type="NodePath" />
18 <param index="0" name="index" type="int" />
19 <description>
20 Returns the node path of the [Path3D] which is describing the path.
21 </description>
22 </method>
23 <method name="get_tilt_fade_in" qualifiers="const">
24 <return type="int" />
25 <param index="0" name="index" type="int" />
26 <description>
27 Returns the tilt interpolation method used between the root bone and the start point of the [Curve3D] when they are apart. See also [method set_tilt_fade_in].
28 </description>
29 </method>
30 <method name="get_tilt_fade_out" qualifiers="const">
31 <return type="int" />
32 <param index="0" name="index" type="int" />
33 <description>
34 Returns the tilt interpolation method used between the end bone and the end point of the [Curve3D] when they are apart. See also [method set_tilt_fade_out].
35 </description>
36 </method>
37 <method name="is_tilt_enabled" qualifiers="const">
38 <return type="bool" />
39 <param index="0" name="index" type="int" />
40 <description>
41 Returns if the tilt property of the [Curve3D] affects the bone twist.
42 </description>
43 </method>
44 <method name="set_path_3d">
45 <return type="void" />
46 <param index="0" name="index" type="int" />
47 <param index="1" name="path_3d" type="NodePath" />
48 <description>
49 Sets the node path of the [Path3D] which is describing the path.
50 </description>
51 </method>
52 <method name="set_tilt_enabled">
53 <return type="void" />
54 <param index="0" name="index" type="int" />
55 <param index="1" name="enabled" type="bool" />
56 <description>
57 Sets if the tilt property of the [Curve3D] should affect the bone twist.
58 </description>
59 </method>
60 <method name="set_tilt_fade_in">
61 <return type="void" />
62 <param index="0" name="index" type="int" />
63 <param index="1" name="size" type="int" />
64 <description>
65 If [param size] is greater than [code]0[/code], the tilt is interpolated between [param size] start bones from the start point of the [Curve3D] when they are apart.
66 If [param size] is equal [code]0[/code], the tilts between the root bone head and the start point of the [Curve3D] are unified with a tilt of the start point of the [Curve3D].
67 If [param size] is less than [code]0[/code], the tilts between the root bone and the start point of the [Curve3D] are [code]0.0[/code].
68 </description>
69 </method>
70 <method name="set_tilt_fade_out">
71 <return type="void" />
72 <param index="0" name="index" type="int" />
73 <param index="1" name="size" type="int" />
74 <description>
75 If [param size] is greater than [code]0[/code], the tilt is interpolated between [param size] end bones from the end point of the [Curve3D] when they are apart.
76 If [param size] is equal [code]0[/code], the tilts between the end bone tail and the end point of the [Curve3D] are unified with a tilt of the end point of the [Curve3D].
77 If [param size] is less than [code]0[/code], the tilts between the end bone and the end point of the [Curve3D] are [code]0.0[/code].
78 </description>
79 </method>
80 </methods>
81 <members>
82 <member name="setting_count" type="int" setter="set_setting_count" getter="get_setting_count" default="0">
83 The number of settings.
84 </member>
85 </members>
86 </class>