eyeTextureWidth
The current width of an eye texture for the loaded device.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEngine.XR
- Assembly: UnityEngine.VRModule
public static int eyeTextureWidth { 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.