IMagicLeapARPinFeature::GetARPinPositionAndOrientation_TrackingSpace

Returns the position & orientation of the requested Pin in tracking space

Windows
MacOS
Linux

References

Module

MagicLeapARPin

Header

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

Include

#include "IMagicLeapARPinFeature.h"

Syntax

bool GetARPinPositionAndOrientation_TrackingSpace
(
    const FGuid & PinID,
    FVector & Position,
    FRotator & Orientation,
    bool & PinFoundInEnvironment
)

Remarks

Returns the position & orientation of the requested Pin in tracking space

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 position of the Pin in tracking space. Valid only if return value is true.

Orientation

Output param for the orientation of the Pin in tracking space. 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