Show / Hide Table of Contents

Class XRStats

Inheritance
Object
XRStats
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: UnityEngine.XR
Assembly: UnityEngine.dll
Syntax
public static class XRStats

Properties

| Improve this Doc View Source

gpuTimeLastFrame

Declaration
[Obsolete("gpuTimeLastFrame is deprecated. Use XRStats.TryGetGPUTimeLastFrame instead.", false)]
public static float gpuTimeLastFrame { get; }
Property Value
Type Description
Single

Methods

TryGetDroppedFrameCount(out Int32)

Declaration
public static bool TryGetDroppedFrameCount(out int droppedFrameCount)
Parameters
Type Name Description
Int32 droppedFrameCount
Returns
Type Description
Boolean

TryGetFramePresentCount(out Int32)

Declaration
public static bool TryGetFramePresentCount(out int framePresentCount)
Parameters
Type Name Description
Int32 framePresentCount
Returns
Type Description
Boolean

TryGetGPUTimeLastFrame(out Single)

Declaration
public static bool TryGetGPUTimeLastFrame(out float gpuTimeLastFrame)
Parameters
Type Name Description
Single gpuTimeLastFrame
Returns
Type Description
Boolean
  • Improve this Doc
  • View Source
Back to top Generated by DocFX