Class

ARSkeleton

The interface for the skeleton of a tracked body.

Declaration

@interface ARSkeleton : NSObject

Overview

As a collection of joints, this protocol describes the state of a human body whose movements ARKit can track.

The ARSkeleton3D subclass provides you with the position of a tracked body's joints in 3D space, specifically with its jointLocalTransforms and jointModelTransforms properties.

The ARSkeleton2D subclass provides you with the position of a tracked body's joints in 2D space, by way of its jointLandmarks property.

Topics

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.

ARSkeletonJointName

A name identifier for a joint.

Relationships

Inherits From

See Also

Getting Joint Information

skeleton

An object that contains the screen position of a body's joints.

ARSkeleton2D

An object that describes where a body's joints are located in the camera feed.