기술 자료

Unity Engine

Unity Engine

XRStats

Timing and other statistics from the XR subsystem.
읽는 시간 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.