![]() |
Plasma Engine
2.0
|
XR Hand tracking interface. More...
#include <XRHandTrackingInterface.h>
Public Types | |
enum class | HandPartTrackingState { NotSupported , Untracked , Tracked } |
Public Member Functions | |
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. | |
XR Hand tracking interface.
Aquire interface via plSingletonRegistry::GetSingletonInstance<plXRHandTrackingInterface>().
|
strong |
|
pure virtual |
Returns a array of bones in the given part of the hand.
Bones are always ordered from furthest from the body moving inwards. E.g. for a finger index 0 should be the tip followed by distal, etc. ending in the wrist bone. Depending on the implementation the number of bones returned can be less than the number of actual bones in the hand.
Implemented in plOpenXRHandTracking.