Type Alias

ARSkeletonJointName

A name identifier for a joint.

Declaration

typedef NSString *ARSkeletonJointName;

Discussion

You 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

Identifying Joints

ARSkeletonJointNameHead

A skeletal joint that ARKit tracks representing the head.

ARSkeletonJointNameLeftFoot

A skeletal joint that ARKit tracks representing the left foot.

ARSkeletonJointNameLeftHand

A skeletal joint that ARKit tracks representing the left hand.

ARSkeletonJointNameLeftShoulder

A skeletal joint that ARKit tracks representing the left shoulder.

ARSkeletonJointNameRightFoot

A skeletal joint that ARKit tracks representing the right foot.

ARSkeletonJointNameRightHand

A skeletal joint that ARKit tracks representing the right hand.

ARSkeletonJointNameRightShoulder

A skeletal joint that ARKit tracks representing the right shoulder.

ARSkeletonJointNameRoot

A skeletal joint that's the root of all other joints.

See Also

Getting Joint Information

definition

The particular configuration of joints that define a body's current state.

ARSkeletonDefinition

The hierarchy of joints and their names.

jointCount

The skeleton's total number of joints.

- isJointTracked:

Tells you whether ARKit tracks a joint at a particular index.