IMagicLeapPlugin::GetTransform

Get latest transform for a given CoordinateFrameUID in Tracking space.

Windows
MacOS
Linux

References

Module

MagicLeap

Header

/Engine/Plugins/Lumin/MagicLeap/Source/MagicLeap/Public/IMagicLeapPlugin.h

Include

#include "IMagicLeapPlugin.h"

Syntax

bool GetTransform
(
    const FGuid & Id,
    FTransform & OutTransform,
    EMagicLeapTransformFailReason & OutReason
) const

Remarks

Get latest transform for a given CoordinateFrameUID in Tracking space. Transform to World space using UHeadMountedDisplayFunctionLibrary::GetTrackingToWorldTransform().

Returns

true if OutTransform is populated with a valid value. If false, the reason for failure is populated in OutReason.

Parameters

Parameter

Description

Id

The CoordinateFrameUID, as an FGuid, to get the transform for.

OutTransform

Transform of the given CoordinateFrameUID.

OutReason

Reason for this function's failure.

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