SkeletalPosesComponent
A component that exposes the collection of named animation skeletal poses.
Declaration
struct SkeletalPosesComponentOverview
Use the entity’s skeletal poses to either read the pose evaluated from animations bound to BindTarget.jointTransforms and BindTarget.skeletalPose(_:), or write your own pose to animate the skeletal model.
Setting updated value on an entity
When an updated SkeletalPose is set on an entity as part of this component, these rules are followed:
If jointNames is reordered, following animation updated will match the new order.
If jointTransforms contains more elements than jointNames, the extra transformations are ignored.
If jointTransforms contains less elements than jointNames, the extra joint transformations are not updated.
You can use poses’s default accessor for the same skeletal pose as exposed by jointNames and jointTransforms. The access trough the component allows the reordering, addition and removal of joints from the default pose.