Module |
|
Header |
/Engine/Plugins/Lumin/MagicLeap/Source/MagicLeapController/Public/MagicLeapControllerFunctionLibrary.h |
Include |
#include "MagicLeapControllerFunctionLibrary.h" |
Source |
/Engine/Plugins/Lumin/MagicLeap/Source/MagicLeapController/Private/MagicLeapControllerFunctionLibrary.cpp |
[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
)
Light up the LED on the Magic Leap Controller in the given pattern for the specified duration.
True if the command to play the LED pattern was successfully sent to the controller, false otherwise.
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. |