useOcclusionMesh
Specifies whether or not the occlusion mesh should be used when rendering. Enabled by default.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEngine.XR
- Assembly: UnityEngine.VRModule
public static bool useOcclusionMesh { get; set; }
Remarks
The occlusion mesh prevents GPU work from happening on portions of the eye texture that won't be visible in the HMD. Disabling this will lead to a decrease in GPU rendering performance. However, this may be needed to deal with certain features such as the grab pass.