UMagicLeapARPinFunctionLibrary::BindToOnMagicLeapContentBindingFoundDelegate

Bind a dynamic delegate to the OnMagicLeapContentBindingFound event.

Windows
MacOS
Linux

References

Module

MagicLeapARPin

Header

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

Include

#include "MagicLeapARPinFunctionLibrary.h"

Source

/Engine/Plugins/Lumin/MagicLeapPassableWorld/Source/MagicLeapARPin/Private/MagicLeapARPinFunctionLibrary.cpp

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="ContentPersistence|MagicLeap")
static void BindToOnMagicLeapContentBindingFoundDelegate
(
    const FMagicLeapContentBindingFoundDelegate & Delegate
)

Remarks

Bind a dynamic delegate to the OnMagicLeapContentBindingFound event.

The delegate reports a PinID and the set of ObjectIds that were saved (via a MagicLeapARPinComponent) for that Pin. This delegate can be used to spawn the actors associated with that ObjectId. Spawn the actor, set the ObjectId and then call UMagicLeapARPinComponent::AttemptPinDataRestoration().

Parameters

Parameter

Description

Delegate

Delegate to bind

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