occlusionMaskScale
A scale applied to the standard occulsion mask.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Property
- Namespace: UnityEngine.XR
- Assembly: UnityEngine.XRModule
public float occlusionMaskScale { get; set; }
Remarks
This property scales up the occlusion mask to allow pixels outside of the XR headset's field of vision are rendered to, allowing effects to access the required texture data. Scaling up the occlusion mask could incur a performance penalty on the GPU due to the extra pixels being rendered.