OpenXRTime.ConvertXrTimeToQpcTime(Int64) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.