Skip to content

GLTFSkeleton

Inherits: Resource < RefCounted < Object

Type Name Default
PackedInt32Array joints PackedInt32Array()
PackedInt32Array roots PackedInt32Array()
Returns Method
BoneAttachment3D get_bone_attachment(idx: int)
int get_bone_attachment_count()
Dictionary get_orblit_bone_node()
Skeleton3D get_orblit_skeleton()
Array[String] get_unique_names()
void set_orblit_bone_node(orblit_bone_node: Dictionary)
void set_unique_names(unique_names: Array[String])

joints

PackedInt32Array joints = PackedInt32Array()

roots

PackedInt32Array roots = PackedInt32Array()

get_bone_attachment

BoneAttachment3D get_bone_attachment(idx: int)

get_bone_attachment_count

int get_bone_attachment_count()

get_orblit_bone_node

Dictionary get_orblit_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 Orblit converts skeleton bones to glTF nodes.

get_orblit_skeleton

Skeleton3D get_orblit_skeleton()

get_unique_names

Array[String] get_unique_names()

set_orblit_bone_node

void set_orblit_bone_node(orblit_bone_node: Dictionary)

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 Orblit converts skeleton bones to glTF nodes.

set_unique_names

void set_unique_names(unique_names: Array[String])