UMagicLeapControllerFunctionLibrary::PlayControllerLED

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

Windows
MacOS
Linux

References

Module

MagicLeapController

Header

/Engine/Plugins/Lumin/MagicLeap/Source/MagicLeapController/Public/MagicLeapControllerFunctionLibrary.h

Include

#include "MagicLeapControllerFunctionLibrary.h"

Source

/Engine/Plugins/Lumin/MagicLeap/Source/MagicLeapController/Private/MagicLeapControllerFunctionLibrary.cpp

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="MotionController|MagicLeap",
          Meta=(DeprecatedFunction, DeprecationMessage="Use PlayLEDPattern instead"))
static bool PlayControllerLED
(
    EControllerHand Hand,
    EMagicLeapControllerLEDPattern LEDPattern,
    EMagicLeapControllerLEDColor LEDColor,
    float DurationInSec
)

Remarks

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

Returns

True if the command to play the LED pattern was successfully sent to the controller, false otherwise.

Parameters

Parameter

Description

Hand

Controller to play the LED pattern on.

LEDPattern

Pattern to play on the controller.

LEDColor

Color of the LED.

DurationInSec

Duration (in seconds) to play the LED pattern.

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