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

int

bone_size

0

int

group_size

0

StringName

root_bone

&""

StringName

scale_base_bone

&""

Methods

int

find_bone ( StringName bone_name ) const

StringName

get_bone_name ( int bone_idx ) const

StringName

get_bone_parent ( int bone_idx ) const

StringName

get_bone_tail ( int bone_idx ) const

StringName