Plasma Engine  2.0
Loading...
Searching...
No Matches
plOpenXRHandTracking Class Reference
Inheritance diagram for plOpenXRHandTracking:

Public Member Functions

 plOpenXRHandTracking (plOpenXR *pOpenXR)
 
HandPartTrackingState TryGetBoneTransforms (plEnum< plXRHand > hand, plEnum< plXRHandPart > handPart, plEnum< plXRTransformSpace > space, plDynamicArray< plXRHandBone > &out_bones) override
 Returns a array of bones in the given part of the hand.
 
void UpdateJointTransforms ()
 

Static Public Member Functions

static bool IsHandTrackingSupported (plOpenXR *pOpenXR)
 

Friends

class plOpenXR
 

Additional Inherited Members

- Public Types inherited from plXRHandTrackingInterface
enum class  HandPartTrackingState { NotSupported , Untracked , Tracked }
 

Member Function Documentation

◆ TryGetBoneTransforms()

plXRHandTrackingInterface::HandPartTrackingState plOpenXRHandTracking::TryGetBoneTransforms ( plEnum< plXRHand > hand,
plEnum< plXRHandPart > handPart,
plEnum< plXRTransformSpace > space,
plDynamicArray< plXRHandBone > & out_bones )
overridevirtual

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.

Implements plXRHandTrackingInterface.


The documentation for this class was generated from the following files: