UMagicLeapARPinFunctionLibrary

Copyright Epic Games, Inc. All Rights Reserved.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

MagicLeapARPin

Header

/Engine/Plugins/Lumin/MagicLeapPassableWorld/Source/MagicLeapARPin/Public/MagicLeapARPinFunctionLibrary.h

Include

#include "MagicLeapARPinFunctionLibrary.h"

Syntax

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

Remarks

Direct API interface for the Magic Leap Persistent AR Pin tracker system.

Functions

Name Description

Public function Static UFunction BlueprintCallable, Category

void

 

BindToOnMagicLeapARPinUpdatedDelegate

(
    const FMagicLeapARPinUpdatedDelegat...
)

Bind a dynamic delegate to the OnMagicLeapARPinUpdated event.

Public function Static UFunction BlueprintCallable, Category

EMagicLeapPa...

 

CreateTracker()

Create an ARPin tracker.

Public function Static UFunction BlueprintCallable, Category

EMagicLeapPa...

 

DestroyTracker()

Destroy an ARPin tracker.

Public function Static UFunction BlueprintCallable, Category

bool

 

GetARPinPositionAndOrientation

(
    const FGuid& PinID,
    FVector& Position,
    FRotator& Orientation,
    bool& PinFoundInEnvironment
)

Returns the world position & orientation of the requested Pin.

Public function Static UFunction BlueprintCallable, Category

bool

 

GetARPinPositionAndOrientation_TrackingSpace

(
    const FGuid& PinID,
    FVector& Position,
    FRotator& Orientation,
    bool& PinFoundInEnvironment
)

Returns the position & orientation of the requested Pin in tracking space

Public function Static UFunction BlueprintCallable, Category

EMagicLeapPa...

 

GetARPinState

(
    const FGuid& PinID,
    FMagicLeapARPinState& State
)

Returns the state of the requested Pin.

Public function Static UFunction BlueprintCallable, BlueprintPure, Category

FString

 

GetARPinStateToString

(
    const FMagicLeapARPinState& State
)

Public function Static UFunction BlueprintCallable, Category

EMagicLeapPa...

 

GetAvailableARPins

(
    int32 NumRequested,
    TArray< FGuid >& Pins
)

Returns all the AR Pins currently available.

Public function Static UFunction BlueprintCallable, Category

EMagicLeapPa...

 

GetClosestARPin

(
    const FVector& SearchPoint,
    FGuid& PinID
)

Returns the Pin closest to the target point passed in.

Public function Static UFunction BlueprintCallable, Category

EMagicLeapPa...

 

GetNumAvailableARPins

(
    int32& Count
)

Returns the count of currently available AR Pins.

Public function Static UFunction BlueprintCallable, BlueprintPure, Category

bool

 

IsTrackerValid()

Is an ARPin tracker already created.

Public function Static UFunction BlueprintCallable, Category

void

 

UnBindToOnMagicLeapARPinUpdatedDelegate

(
    const FMagicLeapARPinUpdatedDelegat...
)

Unbind a dynamic delegate from the OnMagicLeapARPinUpdated event.

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