XRStats
Timing and other statistics from the XR subsystem.
Read time 1 minuteLast updated 2 days ago
Definition
- Type: Class
- Namespace: UnityEngine.XR
- Assembly: UnityEngine.XRModule
public static class XRStats
Remarks
Some XR SDKs provide access to additional timing and other statistics. These can be used by games and applications for profiling and dynamic performance adjustments. For example, modifying _eyeTextureResolutionScale or _renderViewportScale during runtime can improve performance. This class exposes a set of information that can be optionally reported by SDKs. Make sure to use the return values of any methods to know whether the data is being reported by the SDK or not.