Structure

BodyTrackingComponent

A component for tracking people in an AR session.

Declaration

struct BodyTrackingComponent

Topics

Creating a Body Tracking Component

init()

Creates a body-tracking component.

init(BodyTrackingComponent.Target)

Creates a body-tracking component for the given target.

Pausing Body Tracking

var isPaused: Bool

A Boolean that you can set to temporarily stop applying body tracking to the model and freeze the model in its current pose.

Selecting a Body to Track

enum BodyTrackingComponent.Target

Body-tracking settings for selecting a person to track.

Registering a Component Type

static func registerComponent()

Registers a new component type.

Comparing Body Tracking Components

static func == (BodyTrackingComponent, BodyTrackingComponent) -> Bool

Indicates whether two body tracking components are equal.

static func != (BodyTrackingComponent, BodyTrackingComponent) -> Bool

Indicates whether two body tracking components are not equal.

Relationships

Conforms To

See Also

Configuring Body Tracking

var bodyTracking: BodyTrackingComponent

The body-tracking component for the body-tracked entity.

protocol HasBodyTracking

An interface that enables the animation of a virtual character by tracking a real person in AR.