Module |
|
Header |
/Engine/Plugins/Lumin/MagicLeap/Source/MagicLeapHandTracking/Public/MagicLeapHandTrackingFunctionLibrary.h |
Include |
#include "MagicLeapHandTrackingFunctionLibrary.h" |
Source |
/Engine/Plugins/Lumin/MagicLeap/Source/MagicLeapHandTracking/Private/MagicLeapHandTrackingFunctionLibrary.cpp |
[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="HandTracking|MagicLeap")
static bool GetHandThumbTip
(
EControllerHand Hand,
EMagicLeapGestureTransformSpace TransformSpace,
FTransform & Secondary
)
Transform of Thumb Tip.
Note that this returns a transform in the Tracking space. To get the transform in Unreal's world space, use the MotioController component as a child of the XRPawn with hand set to EControllerHand::Special_5 for the left hand secondary and EControllerHand::Special_6 for the right hand secondary.
true if the output param was populated with a valid value, false means that is is either unchanged or populated with a stale value.
Parameter |
Description |
---|---|
Hand |
Hand to query the hand center transform for. Only Left and Right hand are supported. |
TransformSpace |
Get the transform relative to the world, hand center, or tracking space. |
Secondary |
Output parameter containing the position and orientation. |