Up to date
This page is up to date for Godot 4.2
.
If you still find outdated information, please open an issue.
SkeletonProfile¶
Inherits: Resource < RefCounted < Object
Inherited By: SkeletonProfileHumanoid
Base class for a profile of a virtual skeleton used as a target for retargeting.
Description¶
This resource is used in EditorScenePostImport. Some parameters are referring to bones in Skeleton3D, Skin, Animation, and some other nodes are rewritten based on the parameters of SkeletonProfile.
Note: These parameters need to be set only when creating a custom profile. In SkeletonProfileHumanoid, they are defined internally as read-only values.
Tutorials¶
Properties¶
|
||
|
||
|
||
|
Methods¶
find_bone ( StringName bone_name ) const |
|
get_bone_name ( int bone_idx ) const |
|
get_bone_parent ( int bone_idx ) const |
|
get_bone_tail ( int bone_idx ) const |
|
get_group_name ( int group_idx ) const |
|
get_handle_offset ( int bone_idx ) const |
|
get_reference_pose ( int bone_idx ) const |
|
get_tail_direction ( int bone_idx ) const |
|
get_texture ( int group_idx ) const |
|
void |
set_bone_name ( int bone_idx, StringName bone_name ) |
void |
set_bone_parent ( int bone_idx, StringName bone_parent ) |
void |
set_bone_tail ( int bone_idx, StringName bone_tail ) |
void |
set_group ( int bone_idx, StringName group ) |
void |
set_group_name ( int group_idx, StringName group_name ) |
void |
set_handle_offset ( int bone_idx, Vector2 handle_offset ) |
void |
set_reference_pose ( int bone_idx, Transform3D bone_name ) |
void |
set_tail_direction ( int bone_idx, TailDirection tail_direction ) |
void |
set_texture ( int group_idx, Texture2D texture ) |