IMagicLeapPlugin

The public interface to this module.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

MagicLeap

Header

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

Include

#include "IMagicLeapPlugin.h"

Syntax

class IMagicLeapPlugin : public IHeadMountedDisplayModule

Remarks

The public interface to this module. In most cases, this interface is only public to sibling modules within this plugin.

Functions

Name Description

Public function Static

IMagicLeapPl...

 

Get()

Singleton-like access to this module's interface.

Public function Static

IMagicLeapPl...

 

GetModuleChecked()

Singleton-like access to this module's interface.

Public function Const

bool

 

GetTransform

(
    const FGuid& Id,
    FTransform& OutTransform,
    EMagicLeapTransformFailReason& Out...
)

Get latest transform for a given CoordinateFrameUID in Tracking space.

Public function Const

float

 

GetWorldToMetersScale()

Scale of 1uu to 1m in real world measurements.

Public function Static

bool

 

IsAvailable()

Checks to see if this module is loaded and ready.

Public function Const

bool

 

IsMagicLeapHMDValid()

Checks to see if the XRSystem instance is a MagicLeap HMD.

Public function Const

bool

 

IsPerceptionEnabled()

Check if the perception system has been started.

Public function

void

 

RegisterMagicLeapTrackerEntity

(
    IMagicLeapTrackerEntity* Track...
)

Register an IMagicLeapTrackerEntity with the HMD to receive callbacks for tracker creation, desctruction and late update.

Public function

bool

 

SetIgnoreInput

(
    bool Ignore
)

Enable/Disable mouse and keyboard input when playing in Editor.

Public function

void

 

UnregisterMagicLeapTrackerEntity

(
    IMagicLeapTrackerEntity* Track...
)

Unregister an IMagicLeapTrackerEntity with the HMD.

Public function Const

bool

 

UseMLAudioForZI()

Check if MLAudio mixer should be used when running with MLRemote.

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