Up to date
This page is up to date for Godot 4.2
.
If you still find outdated information, please open an issue.
GLTFSkeleton¶
继承: Resource < RefCounted < Object
目前没有这个类的描述。请帮我们贡献一个!
教程¶
属性¶
|
||
|
方法¶
get_bone_attachment ( int idx ) |
|
get_unique_names ( ) |
|
void |
set_godot_bone_node ( Dictionary godot_bone_node ) |
void |
set_unique_names ( String[] unique_names ) |
属性说明¶
PackedInt32Array joints = PackedInt32Array()
void set_joints ( PackedInt32Array value )
PackedInt32Array get_joints ( )
目前没有这个属性的描述。请帮我们贡献一个!
PackedInt32Array roots = PackedInt32Array()
void set_roots ( PackedInt32Array value )
PackedInt32Array get_roots ( )
目前没有这个属性的描述。请帮我们贡献一个!
方法说明¶
BoneAttachment3D get_bone_attachment ( int idx )
目前没有这个方法的描述。请帮我们贡献一个!
int get_bone_attachment_count ( )
目前没有这个方法的描述。请帮我们贡献一个!
Dictionary get_godot_bone_node ( )
返回将骨架的骨骼索引映射到 GLTF 节点索引的 Dictionary。导入时不使用该属性,仅在导出时设置。在 GLTF 文件中,骨骼是一种节点,因此 Godot 将骨架中的骨骼转换为 GLTF 节点。
Skeleton3D get_godot_skeleton ( )
目前没有这个方法的描述。请帮我们贡献一个!
String[] get_unique_names ( )
目前没有这个方法的描述。请帮我们贡献一个!
void set_godot_bone_node ( Dictionary godot_bone_node )
设置将骨架的骨骼索引映射到 GLTF 节点索引的 Dictionary。导入时不使用该属性,仅在导出时设置。在 GLTF 文件中,骨骼是一种节点,因此 Godot 将骨架中的骨骼转换为 GLTF 节点。
void set_unique_names ( String[] unique_names )
目前没有这个方法的描述。请帮我们贡献一个!