Attention: Here be dragons

This is the latest (unstable) version of this documentation, which may document features not available in or compatible with released stable versions of Godot.

GLTFSkeleton

繼承: Resource < RefCounted < Object

There is currently no description for this class. Please help us by contributing one!

教學

屬性

PackedInt32Array

joints

PackedInt32Array()

PackedInt32Array

roots

PackedInt32Array()

方法

BoneAttachment3D

get_bone_attachment(idx: int)

int

get_bone_attachment_count()

Dictionary

get_godot_bone_node()

Skeleton3D

get_godot_skeleton()

Array[String]

get_unique_names()

void

set_godot_bone_node(godot_bone_node: Dictionary)

void

set_unique_names(unique_names: Array[String])


屬性說明

PackedInt32Array joints = PackedInt32Array() 🔗

There is currently no description for this property. Please help us by contributing one!

Note: The returned array is copied and any changes to it will not update the original property value. See PackedInt32Array for more details.


PackedInt32Array roots = PackedInt32Array() 🔗

There is currently no description for this property. Please help us by contributing one!

Note: The returned array is copied and any changes to it will not update the original property value. See PackedInt32Array for more details.


方法說明

BoneAttachment3D get_bone_attachment(idx: int) 🔗

There is currently no description for this method. Please help us by contributing one!


int get_bone_attachment_count() 🔗

There is currently no description for this method. Please help us by contributing one!


Dictionary get_godot_bone_node() 🔗

回傳將骨架的骨骼索引映射到 glTF 節點索引的 Dictionary。匯入時不使用該屬性,僅在匯出時設定。在 glTF 檔案中,骨骼是一種節點,因此 Godot 將骨架中的骨骼轉換為 glTF 節點。


Skeleton3D get_godot_skeleton() 🔗

There is currently no description for this method. Please help us by contributing one!


Array[String] get_unique_names() 🔗

There is currently no description for this method. Please help us by contributing one!


void set_godot_bone_node(godot_bone_node: Dictionary) 🔗

設定將骨架的骨骼索引映射到 glTF 節點索引的 Dictionary。匯入時不使用該屬性,僅在匯出時設定。在 glTF 檔案中,骨骼是一種節點,因此 Godot 將骨架中的骨骼轉換為 glTF 節點。


void set_unique_names(unique_names: Array[String]) 🔗

There is currently no description for this method. Please help us by contributing one!