Partager via


OpenXRTime.ConvertXrTimeToQpcTime(Int64) Method

Definition

Converts a time value from XR time to Query Performance Counter (QPC) time.

public long ConvertXrTimeToQpcTime (long xrTime);
member this.ConvertXrTimeToQpcTime : int64 -> int64
Public Function ConvertXrTimeToQpcTime (xrTime As Long) As Long

Parameters

xrTime
Int64

The time in XR time units to be converted.

Returns

The equivalent time in QPC units. If the conversion cannot be performed the function returns 0.

Remarks

Will return 0 if called from Unity Editor.

Applies to