mirror of
https://github.com/mitch030504/Wiicompiled_VR_Frame.git
synced 2026-10-06 07:00:30 +02:00
Added hotkey/menu recenter & Removed head orientation into the view rotation
This commit is contained in:
1 parent
bf8539999d
commit
6e7e0f075b
4 files changed
+150
-54
No files matched your search
@@ -36,4 +36,12 @@ void OpenXRServiceProducerFrameBoundary() noexcept;
|
||||
bool OpenXRIsRunning() noexcept;
|
||||
std::string OpenXRLastError();
|
||||
|
||||
// Recenters the view on where the player is sitting now. Position only: the
|
||||
// forward direction and the horizon come from the OpenXR reference space and
|
||||
// are never relatched from the headset, so recentering cannot tilt the game's
|
||||
// horizon. Use the runtime's own recenter gesture to change forward. Callable
|
||||
// from any thread; serviced on the XR pacing thread and ignored outside an
|
||||
// immersive race, where the head-locked menu screen has no origin to recenter.
|
||||
void OpenXRRequestRecenter() noexcept;
|
||||
|
||||
} // namespace mkw::vr
|
||||
Reference in new issue
Block a user