3#include <OpenXRPlugin/Basics.h>
4#include <OpenXRPlugin/OpenXRIncludes.h>
6#include <GameEngine/XR/XRInputDevice.h>
7#include <GameEngine/XR/XRInterface.h>
11PL_DEFINE_AS_POD_TYPE(XrActionSuggestedBinding);
12PL_DEFINE_AS_POD_TYPE(XrActiveActionSet);
52 XrResult CreateActions(XrSession session, XrSpace m_sceneSpace);
53 void DestroyActions();
55 XrPath CreatePath(
const char* szPath);
56 XrResult CreateAction(
plXRDeviceFeatures::Enum feature,
const char* actionName, XrActionType actionType, XrAction& out_action);
57 XrResult SuggestInteractionProfileBindings(
const char* szInteractionProfile,
const char* szNiceName,
plArrayPtr<Bind> bindings);
58 XrResult AttachSessionActionSets(XrSession session);
59 XrResult UpdateCurrentInteractionProfile();
65 XrResult UpdateActions();
66 void UpdateControllerState();
70 XrInstance m_pInstance = XR_NULL_HANDLE;
71 XrSession m_pSession = XR_NULL_HANDLE;
76 const plInt8 m_iLeftControllerDeviceID = 1;
77 const plInt8 m_iRightControllerDeviceID = 2;
79 XrActionSet m_pActionSet = XR_NULL_HANDLE;
90 XrSpace m_gripSpace[2];
91 XrSpace m_aimSpace[2];
This class encapsulates an array and it's size. It is recommended to use this class instead of plain ...
Definition ArrayPtr.h:37
Definition HashTable.h:333
A hybrid array uses in-place storage to handle the first few elements without any allocation....
Definition HybridArray.h:12
Definition OpenXRSingleton.h:25
Wraps a C-style array, which has a fixed size at compile-time, with a more convenient interface.
Definition StaticArray.h:13
plStringView represent a read-only sub-string of a larger string, as it can store a dedicated string ...
Definition StringView.h:34
The plBitflags class allows you to work with type-safe bitflags.
Definition Bitflags.h:82
Enum
Definition Declarations.h:100
A device's pose state.
Definition Declarations.h:80