Documentation

Unity Engine

Unity Engine

fovZoomFactor

The field of view zoom factor of the current XR projection.
Read time 1 minuteLast updated a month ago

Definition

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

Remarks

Scales the viewing frustrum of the XR projection matrix. This method of scaling handles asymmetric XR projections correctly.
The minimum value of this property is clamped to 1.0 (no zoom).