summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-06-05 13:42:46 +0200
committerRémi Verschelde <rverschelde@gmail.com>2023-06-05 13:42:46 +0200
commit7d3eca38f0dd3a6025753e9f90d59cd3608c102a (patch)
tree5d983a1e5d27ab5a5aa7558ae8cf86ba0d7b4fd5
parente3681eb05f2843f88320432b6b697c5fec13c0e3 (diff)
parent629613a86769de26eacbcdd2ea0b01a743a1a92f (diff)
downloadredot-engine-7d3eca38f0dd3a6025753e9f90d59cd3608c102a.tar.gz
Merge pull request #77718 from aaronfranke/gltf-skel-map
GLTF: Document `gltf_skeleton->godot_bone_node` is unused when importing
-rw-r--r--modules/gltf/doc_classes/GLTFSkeleton.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/gltf/doc_classes/GLTFSkeleton.xml b/modules/gltf/doc_classes/GLTFSkeleton.xml
index eb06249e45..8073db3ce9 100644
--- a/modules/gltf/doc_classes/GLTFSkeleton.xml
+++ b/modules/gltf/doc_classes/GLTFSkeleton.xml
@@ -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">