mirror of
https://github.com/mitch030504/Wiicompiled_VR_Frame.git
synced 2026-10-06 06:00:25 +02:00
Added "Lean back angle" option
This commit is contained in:
1 parent
6e7e0f075b
commit
913eda2b3a
4 files changed
+99
-5
No files matched your search
@@ -44,4 +44,12 @@ std::string OpenXRLastError();
|
||||
// immersive race, where the head-locked menu screen has no origin to recenter.
|
||||
void OpenXRRequestRecenter() noexcept;
|
||||
|
||||
// Sets a fixed pitch of the game camera for a player sitting reclined, in
|
||||
// degrees, clamped to RuntimeConfigFile::kVrLeanBackDegreesLimit. Positive
|
||||
// tilts the camera back with the player, so an angle matching how far they are
|
||||
// reclined puts the track back in front of them. 0 applies no pitch at all.
|
||||
// Applies to the immersive race view only; callable from any thread and read
|
||||
// once per published frame.
|
||||
void OpenXRSetLeanBackDegrees(float degrees) noexcept;
|
||||
|
||||
} // namespace mkw::vr
|
||||
Reference in new issue
Block a user