Merge pull request #77718 from aaronfranke/gltf-skel-map

GLTF: Document `gltf_skeleton->godot_bone_node` is unused when importing
This commit is contained in:
Rémi Verschelde 2023-06-05 13:42:46 +02:00
commit 7d3eca38f0
No known key found for this signature in database
GPG Key ID: C3336907360768E1

View File

@ -21,6 +21,7 @@
<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">
@ -37,6 +38,7 @@
<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">