globalDynamicScale
The current scale factor applied to dynamically scalable eye textures when XR dynamic resolution is active.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Property
- Namespace: UnityEngine.XR
- Assembly: UnityEngine.XRModule
public float globalDynamicScale { get; }
Remarks
The scale factor is determined by the device and can change from frame to frame. If hardware dynamic resolution is turned off or not supported by the device, the scale factor is 1.0.
Normally, dynamic resolution is handled automatically by the render pipeline. If you are implementing a custom pipeline or custom render pass, then your implementation must handle dynamic scaling of eye textures appropriately.