Get ARPin Position and Orientation

Get ARPin Position and Orientation

Windows
MacOS
Linux

Returns the world position & orientation of the requested Pin.

Target is Magic Leap ARPin Function Library

Get ARPin Position and Orientation
Pin ID
Position
X0
Y 0
Z 0
Orientation
R 0
P 0
Y0
Pin Found in Environment
Return Value

Inputs

In
Exec
Pin ID
Guid Structure (by ref)

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

Outputs

Out
Exec
Position
Vector

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

Orientation
Rotator

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

Pin Found in Environment
Boolean

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

Return Value
Boolean

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

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