UMagicLeapControllerFunctionLibrary::PlayControllerLEDEffect

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

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 PlayLEDEffect instead"))
static bool PlayControllerLEDEffect
(
    EControllerHand Hand,
    EMagicLeapControllerLEDEffect LEDEffect,
    EMagicLeapControllerLEDSpeed LEDSpeed,
    EMagicLeapControllerLEDPattern LEDPattern,
    EMagicLeapControllerLEDColor LEDColor,
    float DurationInSec
)

Remarks

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

Returns

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

Parameters

Parameter

Description

Hand

Controller to play the LED pattern on.

LEDEffect

Effect to play on the controller.

LEDSpeed

Effect speed.

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