Structure

ARConfiguration.FrameSemantics

Types of optional frame features you can enable in your app.

Declaration

struct FrameSemantics

Overview

A frame semantic represents 2D information that ARKit extracts from a frame.

Topics

Creating a Feature

init(rawValue: UInt)

Creates a frame semantics feature.

Tracking Bodies in 2D

static var bodyDetection: ARConfiguration.FrameSemantics

An option that indicates that 2D body detection is enabled.

Occluding Virtual Content with People

static var personSegmentation: ARConfiguration.FrameSemantics

An option that indicates that people occlude your app's virtual content.

static var personSegmentationWithDepth: ARConfiguration.FrameSemantics

An option that indicates that people occlude your app's virtual content depending on depth.

Relationships

Conforms To

See Also

Enabling Frame Features

var frameSemantics: ARConfiguration.FrameSemantics

The set of active semantics on the frame.