ドキュメント

Unity Engine

Unity Engine

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.XRModule
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.