Enum AROcclusionShaderMode
Specifies which global shader keyword should be enabled. It is used in the shader to select the type of occlusion.
Namespace: UnityEngine.XR.ARFoundation
Assembly: Unity.XR.ARFoundation.dll
Syntax
public enum AROcclusionShaderMode
Fields
| Name | Description |
|---|---|
| HardOcclusion | Enable a global shader keyword for hard occlusion. |
| None | Disable global shader keywords for both soft and hard occlusion. |
| SoftOcclusion | Enable a global shader keyword for soft occlusion. |