UMagicLeapARPinFunctionLibrary::GetARPinPositionAndOrientation

Returns the world position & orientation of the requested Pin.

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 bool GetARPinPositionAndOrientation
(
    const FGuid & PinID,
    FVector & Position,
    FRotator & Orientation,
    bool & PinFoundInEnvironment
)

Remarks

Returns the world position & orientation of the requested Pin.

Returns

true if the PinID was valid and the position & orientation were successfully retrieved.

Parameters

Parameter

Description

PinID

ID of the Pin to get the position and orientation for.

Position

Output param for the world position of the Pin. Valid only if return value is true.

Orientation

Output param for the world orientation of the Pin. Valid only if return value is true.

PinFoundInEnvironment

Output param for indicating if the requested Pin was found user's current environment or not.

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