enum OcclusionMode (Niantic.ARDK.Extensions.ARDepthManager.OcclusionMode)

Overview

enum OcclusionMode {
    None            = 0,
    DepthBuffer     = 1,
    ScreenSpaceMesh = 2,
    Auto            = 3,
};

Detailed Documentation

Enum Values

None

No occlusions.

DepthBuffer

The depth of an ARFrame is written to the target’s z-buffer.

ScreenSpaceMesh

Screen space mesh with its vertices pushed out to corresponding depth values.

Auto

Uses the depth buffer on capable hardware, falls back to a screen space mesh occluder otherwise.