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.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback