Monado OpenXR Runtime
Loading...
Searching...
No Matches
XRTVRChaperone.hpp
Go to the documentation of this file.
1// Copyright 2026, Beyley Cardellio
2// SPDX-License-Identifier: BSL-1.0
3/*!
4 * @file
5 * @brief Implementation of the latest IVRChaperone interface version.
6 *
7 * @author Beyley Cardellio <ep1cm1n10n123@gmail.com>
8 * @ingroup openvr_interfaces
9 */
10
11#pragma once
12
13#include "openvr_interfaces_unified.h"
14#include "openvr_forward_macros.h"
15
16#include "XRTVRClientCore.hpp"
17
18
19namespace xrt::state_trackers::openvr {
20
21using namespace vr;
22
23class XRTVRChaperone_004 : public vr::IVRChaperone_004
24{
25private:
27
28public:
30
31 virtual ~XRTVRChaperone_004() = default;
32
33 FnTable_IVRChaperone_004();
34
35 vr::ChaperoneCalibrationState
36 GetCalibrationState() override;
37
38 bool
39 GetPlayAreaSize(float *pSizeX, float *pSizeZ) override;
40
41 bool
42 GetPlayAreaRect(vr::HmdQuad_t *rect) override;
43
44 void
45 ReloadInfo(void) override;
46
47 void
48 SetSceneColor(vr::HmdColor_t color) override;
49
50 void
51 GetBoundsColor(vr::HmdColor_t *pOutputColorArray,
52 int nNumOutputColors,
53 float flCollisionBoundsFadeDistance,
54 vr::HmdColor_t *pOutputCameraColor) override;
55
56 bool
57 AreBoundsVisible() override;
58
59 void
60 ForceBoundsVisible(bool bForce) override;
61
62 void
63 ResetZeroPose(vr::ETrackingUniverseOrigin eTrackingUniverseOrigin) override;
64};
65
66} // namespace xrt::state_trackers::openvr
Implementation of the latest IVRClientCore interface version.
Definition XRTVRChaperone.hpp:24
Definition XRTVRClientCore.hpp:47
Definitions missing from C++ header, present in C.
Definition blockqueue.hpp:15