cmbruns / pyopenxr

Unofficial python bindings for OpenXR access to VR and AR devices
Apache License 2.0
103 stars 8 forks source link

Create a get_time_now() method #98

Open cmbruns opened 11 months ago

cmbruns commented 11 months ago

Returning an xr.Time value. This would be part of the "level 3" API because it's not present in C++ OpenXR.

Because the details of getting this value differ between Windows and Linux it would be nice to have this platform agnostic way of getting the time.

This would be used by a future level 3 headless example, because xr.locate_space requires a time value.