Class GLTFSkeleton
- Inheritance
-
GLTFSkeleton
See Also
Properties
joints
var joints : PackedInt32Array = PackedInt32Array()
Property Value
Remarks
- void set_joints(PackedInt32Array value)
- PackedInt32Array get_joints
roots
var roots : PackedInt32Array = PackedInt32Array()
Property Value
Remarks
- void set_roots(PackedInt32Array value)
- PackedInt32Array get_roots
Methods
get_bone_attachment(int)
BoneAttachment3D get_bone_attachment(int idx)
Parameters
idx
int
get_bone_attachment_count
int get_bone_attachment_count
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 Godot converts skeleton bones to glTF nodes.
Dictionary get_godot_bone_node
get_godot_skeleton
Skeleton3D get_godot_skeleton
get_unique_names
String[] get_unique_names
set_godot_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 Godot converts skeleton bones to glTF nodes.
void set_godot_bone_node(Dictionary godot_bone_node)
Parameters
godot_bone_node
Dictionary
set_unique_names(String[])
void set_unique_names(String[] unique_names)
Parameters
unique_names
String[]