Plasma Engine  2.0
Loading...
Searching...
No Matches
XRHandTrackingInterface.h
1#pragma once
2
3#include <GameEngine/GameEngineDLL.h>
4#include <GameEngine/XR/Declarations.h>
5
6struct plXRHand
7{
8 using StorageType = plUInt8;
9 enum Enum : plUInt8
10 {
11 Left = 0,
12 Right,
13 Default = Left
14 };
15};
16
18{
19 using StorageType = plUInt8;
20 enum Enum : plUInt8
21 {
22 Palm = 0,
23 Wrist,
24 Thumb,
25 Index,
26 Middle,
27 Ring,
28 Little,
29 COUNT,
30 Default = Palm
31 };
32};
33
35{
36 plTransform m_Transform;
37 float m_fRadius;
38};
39
Definition DynamicArray.h:81
XR Hand tracking interface.
Definition XRHandTrackingInterface.h:44
HandPartTrackingState
Definition XRHandTrackingInterface.h:47
@ Untracked
The given hand part is currently not tracked or tracking is lost. Retry next frame.
@ Tracked
The given hand part is tracked and the bones array was filled successfully.
@ NotSupported
The given hand part is not supported by this hand tracker implementation.
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
Definition XRHandTrackingInterface.h:7
Definition XRHandTrackingInterface.h:18