Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


deviceEyeTextureDimension

Fetch the device eye texture dimension from the active stereo device.
Read time 1 minuteLast updated 13 days 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.