Documentation

Unity Engine

Download Unity

Unity Engine

zFar

Set DisplaySubsystem to use zFar for rendering.
Read time 1 minuteLast updated 2 months ago

Definition

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

Remarks

zFar is the far plane in meters from the main camera. ZFar and ZNear are used for explicit XR depth buffer sharing.