How to implement function such like xrGetCurrentTime( )?
sockyjam opened this issue · comments
SockyJam commented
In some case, I need to get the current time of XrTime, to get the current pose of HMD.
Rylie Pavlik commented
This is intentionally not provided, there is no reason a normal app would need the "current" pose. Use the predicted display time instead, for most purposes. Otherwise you are likely to introduce judder or other artifacts.
SockyJam commented
@rpavlik thanks for reply. I see now. Please forget "current pose". Is there any function I can get the current time for some application reason?
Alexey commented
xrWaitFrame -> XrFrameState -> predictedDisplayTime