Partilhar via


OpenXRTime.GetPredictedDisplayTimeInXrTime(FrameTime) Method

Definition

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.

Applies to