Magic Leap

Magic Leap

Windows
MacOS
Linux
On this page

Actions

Get Controller Mapping

Returns the hand to which given controller index has been mapped to in the device backend.

The native api does not have a concept of left vs right controller. They deal with indices. The first connected controller is index 0 and so on. By default, index 0 is mapped to the right hand in Unreal. You can invert these mappings by calling InvertControllerMapping() function.

Target is Magic Leap Controller Function Library

Get Controller Tracking Mode

Get controller tracking mode.

Target is Magic Leap Controller Function Library

Get Controller Type

Type of ML device bound to the specified motion source

Target is Magic Leap Controller Function Library

Get Hand for Motion Source

Get motion source for hand.

Target is Magic Leap Controller Function Library

Get MLController Type

Type of ML device being tracking the given hand.

Target is Magic Leap Controller Function Library

Get Motion Source for Hand

Get motion source for hand.

Target is Magic Leap Controller Function Library

Is MLController Connected

Checks if the ML controller (MagicLeapControl0, MagicLeapControl1, MagicLeapMobileApp) of the given motion source is currently connected.

Target is Magic Leap Controller Function Library

Play Haptic Pattern

Play haptic feedback on the controller.

Target is Magic Leap Controller Function Library

Play LEDEffect

Starts a LED feedback effect using the specified pattern on the specified controller.

Target is Magic Leap Controller Function Library

Play LEDPattern

Light up the LED on the Magic Leap Controller in the given pattern for the specified duration.

Target is Magic Leap Controller Function Library

Set Controller Tracking Mode

Set controller tracking mode.

Target is Magic Leap Controller Function Library

Set Motion Source for Hand

Set motion source for hand.

Target is Magic Leap Controller Function Library

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