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")
static bool PlayLEDEffect
(
FName MotionSource,
EMagicLeapControllerLEDEffect LEDEffect,
EMagicLeapControllerLEDSpeed LEDSpeed,
EMagicLeapControllerLEDPattern LEDPattern,
EMagicLeapControllerLEDColor LEDColor,
float DurationInSec
)
Starts a LED feedback effect using the specified pattern on the specified controller.
True if the command to play the LED effect was successfully sent to the controller, false otherwise.
Parameter |
Description |
---|---|
MotionSource |
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. |