3#include <Foundation/Configuration/Singleton.h>
4#include <GameEngine/XR/XRHandTrackingInterface.h>
5#include <OpenXRPlugin/Basics.h>
6#include <OpenXRPlugin/OpenXRIncludes.h>
15 static bool IsHandTrackingSupported(
plOpenXR* pOpenXR);
24 void UpdateJointTransforms();
31 PL_DECLARE_POD_TYPE();
37 XrHandTrackerEXT m_HandTracker[2] = {XR_NULL_HANDLE, XR_NULL_HANDLE};
38 XrHandJointLocationEXT m_JointLocations[2][XR_HAND_JOINT_COUNT_EXT];
39 XrHandJointVelocityEXT m_JointVelocities[2][XR_HAND_JOINT_COUNT_EXT];
40 XrHandJointLocationsEXT m_Locations[2]{XR_TYPE_HAND_JOINT_LOCATIONS_EXT};
41 XrHandJointVelocitiesEXT m_Velocities[2]{XR_TYPE_HAND_JOINT_VELOCITIES_EXT};
Definition DynamicArray.h:81
Definition OpenXRHandTracking.h:11
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
XR Hand tracking interface.
Definition XRHandTrackingInterface.h:44
HandPartTrackingState
Definition XRHandTrackingInterface.h:47
virtual HandPartTrackingState TryGetBoneTransforms(plEnum< plXRHand > hand, plEnum< plXRHandPart > handPart, plEnum< plXRTransformSpace > space, plDynamicArray< plXRHandBone > &out_bones)=0
Returns a array of bones in the given part of the hand.
A custom enum implementation that allows to define the underlying storage type to control its memory ...
Definition Enum.h:37
Definition XRHandTrackingInterface.h:35