Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


zFar

Set DisplaySubsystem to use zFar for rendering.
Read time 1 minuteLast updated 13 days 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.