文档

Unity Engine

Unity Engine

occlusionMesh

Represents the area in screen-space that is not visible on the XR Display.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Field
  • Namespace: UnityEngine.XR
  • Assembly: UnityEngine.XRModule
public Mesh occlusionMesh

Remarks

You can use this to prevent GPU work from happening on portions of the XR textures that aren't visible in the XR display. This is an effective way to optimize the renderer.