Type Property

personSegmentationWithDepth

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

Declaration

static var personSegmentationWithDepth: ARConfiguration.FrameSemantics { get }

Discussion

When this option is enabled, the renderer occludes your app's virtual content with any people that ARKit recognizes in the camera feed only if the person's position is closer to the camera than the position of the virtual content.

See Also

Occluding Virtual Content with People

static var personSegmentation: ARConfiguration.FrameSemantics

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