Class reference
GLTFSkeleton
Inherits Resource
Properties
PackedInt32Array joints = PackedInt32Array()
PackedInt32Array roots = PackedInt32Array()
Methods
BoneAttachment3D get_bone_attachment(int idx)
int get_bone_attachment_count()
Dictionary get_godot_bone_node()
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 Redot converts skeleton bones to glTF nodes.
Skeleton3D get_godot_skeleton()
String[] get_unique_names()
void set_godot_bone_node(Dictionary godot_bone_node)
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 Redot converts skeleton bones to glTF nodes.