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, BlueprintPure, Category, Meta

FString

 

ARPinIdToString

(
    const FGuid& ARPinId
)

Public function Static UFunction BlueprintCallable, Category

void

 

BindToOnMagicLeapARPinUpdatedDelegate

(
    const FMagicLeapARPinUpdatedDelegat...
)

Bind a dynamic delegate to the OnMagicLeapARPinUpdated event.

Public function Static UFunction BlueprintCallable, Category

void

 

BindToOnMagicLeapContentBindingFoundDelegate

(
    const FMagicLeapContentBindingFound...
)

Bind a dynamic delegate to the OnMagicLeapContentBindingFound 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, Meta

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, BlueprintPure, Category

int32

 

GetContentBindingSaveGameUserIndex()

Get the user index used to save / load the save game object used for storing all the content bindings (PinID and ObjectID associations in a MagicLeapARPinComponent).

Public function Static UFunction BlueprintCallable, BlueprintPure, Category

EMagicLeapPa...

 

GetGlobalQueryFilter

(
    FMagicLeapARPinQuery& CurrentGloba...
)

The current filter used when querying pins for updates.

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, BlueprintPure, Category

bool

 

ParseStringToARPinId

(
    const FString& PinIdString,
    FGuid& ARPinId
)

Public function Static UFunction BlueprintCallable, Category

EMagicLeapPa...

 

QueryARPins

(
    const FMagicLeapARPinQuery& Query,
    TArray< FGuid >& Pins
)

Returns filtered set of Pins based on the informed parameters.

Public function Static UFunction BlueprintCallable, Category

void

 

SetContentBindingSaveGameUserIndex

(
    int32 UserIndex
)

Set the user index to be used to save / load the save game object used for storing all the content bindings (PinID and ObjectID associations in a MagicLeapARPinComponent).

Public function Static UFunction BlueprintCallable, Category

EMagicLeapPa...

 

SetGlobalQueryFilter

(
    const FMagicLeapARPinQuery& InGlob...
)

Set the filter used to query ARPins at the specified frequency (see UMagicLeapARPinSettings).

Public function Static UFunction BlueprintCallable, Category

void

 

UnBindToOnMagicLeapARPinUpdatedDelegate

(
    const FMagicLeapARPinUpdatedDelegat...
)

Unbind a dynamic delegate from the OnMagicLeapARPinUpdated event.

Public function Static UFunction BlueprintCallable, Category

void

 

UnBindToOnMagicLeapContentBindingFoundDelegate

(
    const FMagicLeapContentBindingFound...
)

Unbind a dynamic delegate from the OnMagicLeapContentBindingFound 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