ドキュメント

Unity Engine

Unity Engine

XRStats

Timing and other statistics from the XR subsystem.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Class
  • Namespace: UnityEngine.XR
  • Assembly: UnityEngine.XRModule
注意
Deprecated. UnityEngine.VRModule is deprecated and will be removed in a future version. Please use the APIs in the UnityEngine.XRModule instead
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 XRSettings.eyeTextureResolutionScale or XRSettings.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.