init(_:restPoseTransform:children:)
Creates a joint with the provided name, rest pose transform, and optional children.
Declaration
init(_ name: String, restPoseTransform: Transform = .identity, @SkeletonResource.JointBuilder children: () throws -> [SkeletonResource.Joint] = { [] }) throwsParameters
- name:
The unique name of the new joint
- restPoseTransform:
The local space transformation relative to the parent joint
- children:
A result builder closure that returns child joints