UMagicLeapARPinComponent::PinActor

Deprecated and can no longer be used to pin any actor other than the owner of this component.

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=(DeprecatedFunction, DeprecationMessage="Will be removed in MLSDK 0.25.0. Set bShouldPinActor to true and call PinToBestFit(), PinToID() or PinToRestoredOrSyncedID()."))
bool PinActor
(
    AActor * ActorToPin
)

Remarks

Deprecated and can no longer be used to pin any actor other than the owner of this component. Set bShouldPinActor to true and call PinToBestFit(), PinToID() or PinToRestoredOrSyncedID() instead. If this component's owner is passed to this function, PinToBestFit() is called internally.

Returns

true if the Actor was accepted to be pinned, false otherwise.

Parameters

Parameter

Description

ActorToPin

Only accepts the owner of this component

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