UMagicLeapARPinComponent::TryGetPinData

Tries to retreive the data associated with this pin.

Windows
MacOS
Linux

References

Module

MagicLeapARPin

Header

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

Include

#include "MagicLeapARPinComponent.h"

Source

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

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="ContentPersistence|MagicLeap",
          Meta=(DeterminesOutputType="InPinDataClass"))
UMagicLeapARPinSaveGame * TryGetPinData
(
    TSubclassOf< UMagicLeapARPinSaveGame > InPinDataClass,
    bool & OutPinDataValid
)

Remarks

Tries to retreive the data associated with this pin. Returns false if the data hasnt been loaded from the disk yet. In that case, wait until the OnPinDataLoadAttemptCompleted event is called.

that this must match the PinDataClass property. Used for auto casting the return value.

Returns

True if pin data was successfully loaded, false otherwise.

Parameters

Parameter

Description

InPinDataClass

The user defined save game class used by this pin.

OutPinData

The save game instance associated with this pin instance, only valid if function returns true.

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