mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-01-15 08:08:18 +03:00
60 lines
2.0 KiB
C++
60 lines
2.0 KiB
C++
#include "vrclient_private.h"
|
|
#include "vrclient_defs.h"
|
|
#include "openvr_v1.23.7/ivrclientcore.h"
|
|
using namespace vr;
|
|
extern "C" {
|
|
#include "struct_converters.h"
|
|
}
|
|
#include "cppIVRChaperone_IVRChaperone_004.h"
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
vr::ChaperoneCalibrationState cppIVRChaperone_IVRChaperone_004_GetCalibrationState(void *linux_side)
|
|
{
|
|
return ((IVRChaperone*)linux_side)->GetCalibrationState();
|
|
}
|
|
|
|
bool cppIVRChaperone_IVRChaperone_004_GetPlayAreaSize(void *linux_side, float * pSizeX, float * pSizeZ)
|
|
{
|
|
return ((IVRChaperone*)linux_side)->GetPlayAreaSize((float *)pSizeX, (float *)pSizeZ);
|
|
}
|
|
|
|
bool cppIVRChaperone_IVRChaperone_004_GetPlayAreaRect(void *linux_side, HmdQuad_t * rect)
|
|
{
|
|
return ((IVRChaperone*)linux_side)->GetPlayAreaRect((vr::HmdQuad_t *)rect);
|
|
}
|
|
|
|
void cppIVRChaperone_IVRChaperone_004_ReloadInfo(void *linux_side)
|
|
{
|
|
((IVRChaperone*)linux_side)->ReloadInfo();
|
|
}
|
|
|
|
void cppIVRChaperone_IVRChaperone_004_SetSceneColor(void *linux_side, HmdColor_t color)
|
|
{
|
|
((IVRChaperone*)linux_side)->SetSceneColor((vr::HmdColor_t)color);
|
|
}
|
|
|
|
void cppIVRChaperone_IVRChaperone_004_GetBoundsColor(void *linux_side, HmdColor_t * pOutputColorArray, int nNumOutputColors, float flCollisionBoundsFadeDistance, HmdColor_t * pOutputCameraColor)
|
|
{
|
|
((IVRChaperone*)linux_side)->GetBoundsColor((vr::HmdColor_t *)pOutputColorArray, (int)nNumOutputColors, (float)flCollisionBoundsFadeDistance, (vr::HmdColor_t *)pOutputCameraColor);
|
|
}
|
|
|
|
bool cppIVRChaperone_IVRChaperone_004_AreBoundsVisible(void *linux_side)
|
|
{
|
|
return ((IVRChaperone*)linux_side)->AreBoundsVisible();
|
|
}
|
|
|
|
void cppIVRChaperone_IVRChaperone_004_ForceBoundsVisible(void *linux_side, bool bForce)
|
|
{
|
|
((IVRChaperone*)linux_side)->ForceBoundsVisible((bool)bForce);
|
|
}
|
|
|
|
void cppIVRChaperone_IVRChaperone_004_ResetZeroPose(void *linux_side, ETrackingUniverseOrigin eTrackingUniverseOrigin)
|
|
{
|
|
((IVRChaperone*)linux_side)->ResetZeroPose((vr::ETrackingUniverseOrigin)eTrackingUniverseOrigin);
|
|
}
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|