OpenXRTime.GetPredictedDisplayTimeInXrTime(FrameTime) 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.
Retrieves the predicted display time for the current frame based on the specified frame timing.
public long GetPredictedDisplayTimeInXrTime (Microsoft.MixedReality.OpenXR.FrameTime frameTime);
member this.GetPredictedDisplayTimeInXrTime : Microsoft.MixedReality.OpenXR.FrameTime -> int64
Public Function GetPredictedDisplayTimeInXrTime (frameTime As FrameTime) As Long
Parameters
- frameTime
- FrameTime
The time of a frame in pipelined rendering for which to retrieve the predicted display time. FrameTime
Returns
The predicted display time if available, otherwise 0
Remarks
Will return 0 if called from Unity Editor.