Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
godotengine
GitHub Repository: godotengine/godot
Path: blob/master/modules/gltf/doc_classes/GLTFSkeleton.xml
10279 views
1
<?xml version="1.0" encoding="UTF-8" ?>
2
<class name="GLTFSkeleton" inherits="Resource" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd">
3
<brief_description>
4
</brief_description>
5
<description>
6
</description>
7
<tutorials>
8
<link title="Runtime file loading and saving">$DOCS_URL/tutorials/io/runtime_file_loading_and_saving.html</link>
9
</tutorials>
10
<methods>
11
<method name="get_bone_attachment">
12
<return type="BoneAttachment3D" />
13
<param index="0" name="idx" type="int" />
14
<description>
15
</description>
16
</method>
17
<method name="get_bone_attachment_count">
18
<return type="int" />
19
<description>
20
</description>
21
</method>
22
<method name="get_godot_bone_node">
23
<return type="Dictionary" />
24
<description>
25
Returns a [Dictionary] that maps skeleton bone indices to the indices of glTF nodes. This property is unused during import, and only set during export. In a glTF file, a bone is a node, so Godot converts skeleton bones to glTF nodes.
26
</description>
27
</method>
28
<method name="get_godot_skeleton">
29
<return type="Skeleton3D" />
30
<description>
31
</description>
32
</method>
33
<method name="get_unique_names">
34
<return type="String[]" />
35
<description>
36
</description>
37
</method>
38
<method name="set_godot_bone_node">
39
<return type="void" />
40
<param index="0" name="godot_bone_node" type="Dictionary" />
41
<description>
42
Sets a [Dictionary] that maps skeleton bone indices to the indices of glTF nodes. This property is unused during import, and only set during export. In a glTF file, a bone is a node, so Godot converts skeleton bones to glTF nodes.
43
</description>
44
</method>
45
<method name="set_unique_names">
46
<return type="void" />
47
<param index="0" name="unique_names" type="String[]" />
48
<description>
49
</description>
50
</method>
51
</methods>
52
<members>
53
<member name="joints" type="PackedInt32Array" setter="set_joints" getter="get_joints" default="PackedInt32Array()">
54
</member>
55
<member name="roots" type="PackedInt32Array" setter="set_roots" getter="get_roots" default="PackedInt32Array()">
56
</member>
57
</members>
58
</class>
59
60