文档

Unity Engine

Unity Engine

zNear

Set DisplaySubsystem to use zNear for rendering.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEngine.XR
  • Assembly: UnityEngine.XRModule
public float zNear { get; set; }

Remarks

zNear is the near plan in meters from the main camera. ZFar and ZNear are used for explicit XR depth buffer sharing.