#include <sOpenXR.h>
sOpenXr class
Definition at line 165 of file sOpenXR.h.
◆ sOpenXr()
sOpenXr::sOpenXr |
( |
RenderSystem |
rsys = XR_OPENGL_RENDERER , |
|
|
float |
scaleRatio = 1.0f |
|
) |
| |
◆ ~sOpenXr()
◆ Connect()
bool sOpenXr::Connect |
( |
| ) |
|
◆ CreateInstance()
sOpenXr * sOpenXr::CreateInstance |
( |
RenderSystem |
rsys = XR_OPENGL_RENDERER , |
|
|
float |
scale = 1.0f |
|
) |
| |
|
static |
◆ Disconnect()
void sOpenXr::Disconnect |
( |
| ) |
|
◆ GetControllerAnalogState()
std::vector< float > sOpenXr::GetControllerAnalogState |
( |
int |
id | ) |
|
◆ GetControllerAngularVelocity()
Vector3 sOpenXr::GetControllerAngularVelocity |
( |
int |
id | ) |
|
◆ GetControllerBones()
std::array< Position, MAX_HAND_JOINTS > sOpenXr::GetControllerBones |
( |
int |
id, |
|
|
bool & |
ret |
|
) |
| |
◆ GetControllerButtonsState()
std::vector< bool > sOpenXr::GetControllerButtonsState |
( |
int |
id | ) |
|
◆ GetControllerOrientation()
Quaternion sOpenXr::GetControllerOrientation |
( |
int |
id | ) |
|
◆ GetControllerPosition()
Vector3 sOpenXr::GetControllerPosition |
( |
int |
id | ) |
|
◆ GetControllerTouchesState()
std::vector< bool > sOpenXr::GetControllerTouchesState |
( |
int |
id | ) |
|
◆ GetControllerType()
int sOpenXr::GetControllerType |
( |
int |
id | ) |
|
◆ GetControllerVelocity()
Vector3 sOpenXr::GetControllerVelocity |
( |
int |
id | ) |
|
◆ GetControllerVisibility()
bool sOpenXr::GetControllerVisibility |
( |
int |
id | ) |
|
◆ GetExtensions()
int sOpenXr::GetExtensions |
( |
| ) |
|
◆ GetHmdName()
std::string sOpenXr::GetHmdName |
( |
| ) |
|
◆ GetHmdOrientation()
bool sOpenXr::GetHmdOrientation |
( |
Quaternion & |
quat | ) |
|
◆ GetHmdPosition()
bool sOpenXr::GetHmdPosition |
( |
Vector3 & |
vec | ) |
|
◆ GetInstance()
◆ GetPredictedDisplayTime()
XrTime sOpenXr::GetPredictedDisplayTime |
( |
| ) |
|
◆ GetProjectionMatrix()
bool sOpenXr::GetProjectionMatrix |
( |
VrEye |
eye, |
|
|
float |
nearclip, |
|
|
float |
farclip, |
|
|
Matrix4 & |
mat |
|
) |
| |
◆ GetRenderer()
RenderSystem sOpenXr::GetRenderer |
( |
| ) |
|
◆ GetStereoConfigFovY()
float sOpenXr::GetStereoConfigFovY |
( |
| ) |
|
◆ GetStereoConfigIPD()
float sOpenXr::GetStereoConfigIPD |
( |
| ) |
|
◆ GetStereoTextureSize()
bool sOpenXr::GetStereoTextureSize |
( |
unsigned int & |
w, |
|
|
unsigned int & |
h |
|
) |
| |
◆ GetXrInstance()
XrInstance sOpenXr::GetXrInstance |
( |
| ) |
|
◆ GetXrSession()
XrSession sOpenXr::GetXrSession |
( |
| ) |
|
◆ IsConnected()
bool sOpenXr::IsConnected |
( |
| ) |
|
◆ IsPassthroughSupported()
bool sOpenXr::IsPassthroughSupported |
( |
| ) |
|
◆ IsVisible()
bool sOpenXr::IsVisible |
( |
| ) |
|
◆ Kill()
◆ printReferenceSpaces()
void sOpenXr::printReferenceSpaces |
( |
| ) |
|
|
protected |
◆ printSupportedViewConfigs()
void sOpenXr::printSupportedViewConfigs |
( |
| ) |
|
|
protected |
◆ printViewconfigViewInfo()
void sOpenXr::printViewconfigViewInfo |
( |
| ) |
|
|
protected |
◆ SetAppName()
void sOpenXr::SetAppName |
( |
std::string |
name | ) |
|
◆ SetControllerVibration()
void sOpenXr::SetControllerVibration |
( |
int |
id, |
|
|
float |
value |
|
) |
| |
◆ SetExtensions()
void sOpenXr::SetExtensions |
( |
int |
extensions | ) |
|
◆ SetPassthroughState()
bool sOpenXr::SetPassthroughState |
( |
bool |
state | ) |
|
◆ SetRenderer()
void sOpenXr::SetRenderer |
( |
RenderSystem |
renderer | ) |
|
◆ SetScaleRatio()
void sOpenXr::SetScaleRatio |
( |
float |
ratio | ) |
|
◆ SetSceneBlendMode()
bool sOpenXr::SetSceneBlendMode |
( |
XrEnvironmentBlendMode |
mode | ) |
|
◆ SetState()
void sOpenXr::SetState |
( |
bool |
state | ) |
|
◆ Update()
◆ UpdateTextures()
void sOpenXr::UpdateTextures |
( |
SCOL_PTR_TYPE |
leftTexture, |
|
|
SCOL_PTR_TYPE |
rightTexture |
|
) |
| |
◆ available
◆ bones
std::array<std::array<Position, MAX_HAND_JOINTS>, 2> sOpenXr::bones |
◆ gestures
◆ mConnected
◆ passthroughFeature [1/2]
XrPassthroughFB sOpenXr::passthroughFeature |
◆ passthroughFeature [2/2]
XrPassthroughHTC sOpenXr::passthroughFeature |
◆ passthroughLayer [1/2]
XrPassthroughLayerFB sOpenXr::passthroughLayer |
◆ passthroughLayer [2/2]
XrCompositionLayerPassthroughHTC sOpenXr::passthroughLayer |
◆ pfnLocateHandJointsEXT
PFN_xrLocateHandJointsEXT sOpenXr::pfnLocateHandJointsEXT |
◆ pfnXrCreatePassthroughFBX
PFN_xrCreatePassthroughFB sOpenXr::pfnXrCreatePassthroughFBX |
◆ pfnXrCreatePassthroughHTC
PFN_xrCreatePassthroughHTC sOpenXr::pfnXrCreatePassthroughHTC |
◆ pfnXrCreatePassthroughLayerFBX
PFN_xrCreatePassthroughLayerFB sOpenXr::pfnXrCreatePassthroughLayerFBX |
◆ pfnXrDestroyPassthroughFBX
PFN_xrDestroyPassthroughFB sOpenXr::pfnXrDestroyPassthroughFBX |
◆ pfnXrDestroyPassthroughHTC
PFN_xrDestroyPassthroughHTC sOpenXr::pfnXrDestroyPassthroughHTC |
◆ pfnXrDestroyPassthroughLayerFBX
PFN_xrDestroyPassthroughLayerFB sOpenXr::pfnXrDestroyPassthroughLayerFBX |
◆ pfnXrPassthroughLayerPauseFBX
PFN_xrPassthroughLayerResumeFB sOpenXr::pfnXrPassthroughLayerPauseFBX |
◆ pfnXrPassthroughLayerResumeFBX
PFN_xrPassthroughLayerPauseFB sOpenXr::pfnXrPassthroughLayerResumeFBX |
◆ pfnXrPassthroughLayerSetStyleFB
PFN_xrPassthroughLayerSetStyleFB sOpenXr::pfnXrPassthroughLayerSetStyleFB |
◆ pfnXrPassthroughPauseFBX
PFN_xrPassthroughPauseFB sOpenXr::pfnXrPassthroughPauseFBX |
◆ pfnXrPassthroughStartFBX
PFN_xrPassthroughStartFB sOpenXr::pfnXrPassthroughStartFBX |
◆ supported
◆ system_supported
bool sOpenXr::system_supported |
◆ trackers
std::array<XrHandTrackerEXT, 2> sOpenXr::trackers |
The documentation for this class was generated from the following files: