XRStats
Provides timing and other statistics from XR subsystems.
Read time 1 minuteLast updated 11 days ago
Definition
- Type: Class
- Namespace: UnityEngine.XR.Provider
- Assembly: UnityEngine.XRModule
public static class XRStats
Remarks
The XRStats class allows XR SDK providers to expose timing and other statistics related to their XR subsystems. Such statistics can be used by XR application developers for profiling and making dynamic performance adjustments. For example, an application could dynamically adjust properties like XRSettings.eyeTextureResolutionScale or XRSettings.renderViewportScale at run time to improve performance based on statistics provided by an XR subsystem.
Note:Static Methods
Method | Description |
|---|---|
| TryGetStat | Retrieve a statistic for an XR subsystem. |