58 lines
2.1 KiB
XML
58 lines
2.1 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="GLTFSkeleton" inherits="Resource" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd">
|
|
<brief_description>
|
|
</brief_description>
|
|
<description>
|
|
</description>
|
|
<tutorials>
|
|
<link title="Runtime file loading and saving">$DOCS_URL/tutorials/io/runtime_file_loading_and_saving.html</link>
|
|
</tutorials>
|
|
<methods>
|
|
<method name="get_bone_attachment">
|
|
<return type="BoneAttachment3D" />
|
|
<param index="0" name="idx" type="int" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="get_bone_attachment_count">
|
|
<return type="int" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="get_godot_bone_node">
|
|
<return type="Dictionary" />
|
|
<description>
|
|
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.
|
|
</description>
|
|
</method>
|
|
<method name="get_godot_skeleton">
|
|
<return type="Skeleton3D" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="get_unique_names">
|
|
<return type="String[]" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="set_godot_bone_node">
|
|
<return type="void" />
|
|
<param index="0" name="godot_bone_node" type="Dictionary" />
|
|
<description>
|
|
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.
|
|
</description>
|
|
</method>
|
|
<method name="set_unique_names">
|
|
<return type="void" />
|
|
<param index="0" name="unique_names" type="String[]" />
|
|
<description>
|
|
</description>
|
|
</method>
|
|
</methods>
|
|
<members>
|
|
<member name="joints" type="PackedInt32Array" setter="set_joints" getter="get_joints" default="PackedInt32Array()">
|
|
</member>
|
|
<member name="roots" type="PackedInt32Array" setter="set_roots" getter="get_roots" default="PackedInt32Array()">
|
|
</member>
|
|
</members>
|
|
</class>
|