One Logo Pool Ball
RealityFoundation · IOS API REFERENCE

BodyTrackingComponent

struct · iOS 13.0+ · SDK 27.1

struct BodyTrackingComponent

A component for tracking people in an AR session. Body tracking requires a compatible rigged model. For more information on creating a compatible model, see <doc://com.apple.documentation/documentation/arkit/content_anchors/rigging_a_model_for_motion_capture>. For a sample app that uses body tracking, see <doc://com.apple.documentation/documentation/arkit/content_anchors/capturing_body_motion_in_3d>

Members (6)

get · iOS 13.0+

target

TypeScript
get target(): BodyTrackingComponent_Target
Swift declaration
var target: BodyTrackingComponent.Target

The body-tracking setting.

set · iOS 13.0+

target

TypeScript
set target(value: BodyTrackingComponent_Target)
Swift declaration
var target: BodyTrackingComponent.Target

The body-tracking setting.

get · iOS 13.0+

isPaused

TypeScript
get isPaused(): boolean
Swift declaration
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.

set · iOS 13.0+

isPaused

TypeScript
set isPaused(value: boolean)
Swift declaration
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.

init · iOS 13.0+

init

TypeScript
static init(): BodyTrackingComponent
Swift declaration
init()

Creates a body-tracking component.

init · iOS 13.0+

init

TypeScript
static init20015(target: BodyTrackingComponent_Target): BodyTrackingComponent
Swift declaration
init(_ target: BodyTrackingComponent.Target)

Creates a body-tracking component for the given target. - Parameters: - target: An indication of the person to track.

Skipped declarations

No declarations were skipped in this snapshot.

All RealityFoundation types →