Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


eyeTextureHeight

The current height of an eye texture for the loaded device.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine.XR
  • Assembly: UnityEngine.VRModule
public static int eyeTextureHeight { get; }

Remarks

This value will be the product of the default eye texture size for the HMD and XRSettings.eyeTextureResolutionScale. If XR isn't enabled this value will be zero.