Instance Method


Returns the local transform for a joint with a given name.


@nonobjc func localTransform(for jointName: ARSkeleton.JointName) -> simd_float4x4?


Local space refers to the joints position relative to its parent joint. If an invalid joint name is passed the returned matrix will be filled with NaN values.

See Also

Getting a Joint's Pose

var jointLocalTransforms: [simd_float4x4]

The local space transforms for each joint.

var jointModelTransforms: [simd_float4x4]

The model space transforms for each joint.

func modelTransform(for: ARSkeleton.JointName) -> simd_float4x4?

Returns the model transform for a joint with a given name.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software