init(id:from:)
Creates a skeletal pose from the rest pose of the model skeleton.
Declaration
init(id: SkeletalPose.ID, from skeleton: MeshResource.Skeleton)Parameters
- id:
The unique name of the pose.
- skeleton:
The skeleton to extract the joint names and rest pose transformations from.