UMagicLeapHandTrackingFunctionLibrary::GetHandThumbTip

Transform of Thumb Tip.

Windows
MacOS
Linux

References

Module

MagicLeapHandTracking

Header

/Engine/Plugins/Lumin/MagicLeap/Source/MagicLeapHandTracking/Public/MagicLeapHandTrackingFunctionLibrary.h

Include

#include "MagicLeapHandTrackingFunctionLibrary.h"

Source

/Engine/Plugins/Lumin/MagicLeap/Source/MagicLeapHandTracking/Private/MagicLeapHandTrackingFunctionLibrary.cpp

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="HandTracking|MagicLeap")
static bool GetHandThumbTip
(
    EControllerHand Hand,
    EMagicLeapGestureTransformSpace TransformSpace,
    FTransform & Secondary
)

Remarks

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.

Returns

true if the output param was populated with a valid value, false means that is is either unchanged or populated with a stale value.

Parameters

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss