Documentation

Unity Engine


Unity Engine


deviceEyeTextureDimension

Fetch the device eye texture dimension from the active stereo device.
Read time 1 minuteLast updated a month ago

Definition

  • Type: Property
  • Namespace: UnityEngine.XR
  • Assembly: UnityEngine.XRModule
public static TextureDimension deviceEyeTextureDimension { get; }

Remarks

If XR is enabled, this returns a TextureDimension configured by the stereo device. The device eye texture dimension represents the native stereo layout that the stereo device will use when submitting the back buffer to the stereo display.