target
TypeScriptget target(): BodyTrackingComponent_TargetSwift declarationvar target: BodyTrackingComponent.TargetThe body-tracking setting.
struct · iOS 13.0+ · SDK 27.1
struct BodyTrackingComponentA 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>
get target(): BodyTrackingComponent_TargetSwift declarationvar target: BodyTrackingComponent.TargetThe body-tracking setting.
set target(value: BodyTrackingComponent_Target)Swift declarationvar target: BodyTrackingComponent.TargetThe body-tracking setting.
get isPaused(): booleanSwift declarationvar isPaused: BoolA Boolean that you can set to temporarily stop applying body tracking to the model and freeze the model in its current pose.
set isPaused(value: boolean)Swift declarationvar isPaused: BoolA Boolean that you can set to temporarily stop applying body tracking to the model and freeze the model in its current pose.
static init(): BodyTrackingComponentSwift declarationinit()Creates a body-tracking component.
static init20015(target: BodyTrackingComponent_Target): BodyTrackingComponentSwift declarationinit(_ target: BodyTrackingComponent.Target)Creates a body-tracking component for the given target. - Parameters: - target: An indication of the person to track.
No declarations were skipped in this snapshot.