Contents

ARSkeleton.JointName

A name identifier for a joint.

Declaration

struct JointName

Discussion

Use this class to access information about a named joint, such as its index in a skeleton’s array of joints, or its position on the screen or in the physical environment.

When you’re tracking a body in 2D space, you get the screen-space position of a named joint by using the landmark(for:) function.

When you’re tracking a body in 3D space, you get a named joint’s position in either local or model space by using the localTransform(for:) or modelTransform(for:) functions, respectively.

Topics

Creating a Joint Name

Identifying Joints

See Also

Getting Joint Information