UMagicLeapControllerFunctionLibrary::PlayHapticPattern

Play haptic feedback on the 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")
static bool PlayHapticPattern
(
    FName MotionSource,
    EMagicLeapControllerHapticPattern HapticPattern,
    EMagicLeapControllerHapticIntensity Intensity
)

Remarks

Play haptic feedback on the controller.

Returns

True if the command to play the haptic feedback was successfully sent to the controller, false otherwise.

Parameters

Parameter

Description

MotionSource

Controller to play the haptic feedback on.

HapticPattern

Pattern to play on the controller.

Intensity

Intensity to play on the controller.

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