Contents

disableFaceOcclusions

Disable automatic face occlusion.

Declaration

static let disableFaceOcclusions: ARView.RenderOptions

Discussion

By default, ARKit detects people and hides virtual objects behind their faces. Add the disableFaceOcclusions option to the AR view’s renderOptions to disable this feature.

See Also

Disabling rendering effects