UMagicLeapHandTrackingFunctionLibrary

Windows
MacOS
Linux

Inheritance Hierarchy

UObjectBase

UObjectBaseUtility

UObject

UBlueprintFunctionLibrary

UMagicLeapHandTrackingFunctionLibrary

References

Module

MagicLeapHandTracking

Header

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

Include

#include "MagicLeapHandTrackingFunctionLibrary.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(ClassGroup=MagicLeap)
class UMagicLeapHandTrackingFunctionLibrary : public UBlueprintFunctionLibrary

Functions

Name Description

Public function Static UFunction BlueprintCallable, Category

bool

 

GetConfiguration

Gets the list of static and dynamic gestures currently set to be identified by the gesture recognition system.

Public function Static UFunction BlueprintCallable, Category

bool

 

GetCurrentGesture

(
    EControllerHand Hand,
    EMagicLeapHandTrackingGesture& Ges...
)

The current gesture being performed by the given hand.

Public function Static UFunction BlueprintCallable, Category

bool

 

GetCurrentGestureConfidence

(
    EControllerHand Hand,
    float& Confidence
)

The confidence level of the current gesture being performed by the given hand.

Public function Static UFunction BlueprintCallable, Category

bool

 

GetGestureKeypoints

(
    EControllerHand Hand,
    TArray< FTransform >& Keypoints
)

List of keypoints detected on the given hand.

Public function Static UFunction BlueprintCallable, Category

bool

 

GetGestureKeypointTransform

(
    EControllerHand Hand,
    EMagicLeapHandTrackingKeypoint Keyp...,
    EMagicLeapGestureTransformSpace Tra...,
    FTransform& Transform
)

Get Transform for a point on the hand.

Public function Static UFunction BlueprintCallable, Category

bool

 

GetHandCenter

(
    EControllerHand Hand,
    FTransform& HandCenter
)

Transform of the center of the hand.

Public function Static UFunction BlueprintCallable, Category

bool

 

GetHandCenterNormalized

(
    EControllerHand Hand,
    FVector& HandCenterNormalized
)

Normalized position of the center of the given hand.

Public function Static UFunction BlueprintCallable, Category

bool

 

GetHandIndexFingerTip

(
    EControllerHand Hand,
    EMagicLeapGestureTransformSpace Tra...,
    FTransform& Pointer
)

Transform of the Index Finger Tip.

Public function Static UFunction BlueprintCallable, Category

bool

 

GetHandKeypointForMotionSource

(
    FName MotionSource,
    EMagicLeapHandTrackingKeypoint& Ou...
)

Get the hand tracking keypoint for a motion source.

Public function Static UFunction BlueprintCallable, Category

bool

 

GetHandThumbTip

(
    EControllerHand Hand,
    EMagicLeapGestureTransformSpace Tra...,
    FTransform& Secondary
)

Transform of Thumb Tip.

Public function Static UFunction BlueprintCallable, Category

bool

 

GetMagicLeapHandTrackingLiveLinkSource

(
    FLiveLinkSourceHandle& SourceHandl...
)

Get a LiveLinkSourceHandle for magic leap hand tracking.

Public function Static UFunction BlueprintCallable, Category

bool

 

GetMotionSourceForHandKeypoint

(
    EControllerHand Hand,
    EMagicLeapHandTrackingKeypoint Keyp...,
    FName& OutMotionSource
)

Get the motion source for a hand tracking key point.

Public function Static UFunction BlueprintCallable, Category

float

 

GetStaticGestureConfidenceThreshold

(
    EMagicLeapHandTrackingGesture Gestu...
)

Gets the minimum gesture confidence used to filter out the detected static gesture.

Public function Static UFunction BlueprintPure, Category

bool

 

IsHoldingControl

(
    EControllerHand Hand
)

Whether or not the given hand is holding a control.

Public function Static UFunction BlueprintCallable, Category

bool

 

SetConfiguration

(
    const TArray< EMagicLeapHandTrackin...,
    EMagicLeapHandTrackingKeypointFilte...,
    EMagicLeapHandTrackingGestureFilter...,
    bool bTrackingEnabled
)

Enables and disables the gestures to be detected by the gesture recognition system.

Public function Static UFunction BlueprintCallable, Category

void

 

SetStaticGestureConfidenceThreshold

(
    EMagicLeapHandTrackingGesture Gestu...,
    float Confidence
)

Sets the minimum gesture confidence to filter out the detected static gesture.

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