UMagicLeapARPinFunctionLibrary::GetClosestARPin

Returns the Pin closest to the target point passed in.

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 EMagicLeapPassableWorldError GetClosestARPin
(
    const FVector & SearchPoint,
    FGuid & PinID
)

Remarks

Returns the Pin closest to the target point passed in.

Returns

Error code representing specific success or failure cases.

Parameters

Parameter

Description

SearchPoint

Position, in world space, to search the closest Pin to.

PinID

Output param for the ID of the closest Pin. Valid only if return value is EMagicLeapPassableWorldError::None.

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