Selaa lähdekoodia

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

GLTF: Document `gltf_skeleton->godot_bone_node` is unused when importing
Rémi Verschelde 2 vuotta sitten
vanhempi
commit
7d3eca38f0
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 2 0
      modules/gltf/doc_classes/GLTFSkeleton.xml

+ 2 - 0
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">