IHapticDevice

Windows
MacOS
Linux

References

Module

InputDevice

Header

/Engine/Source/Runtime/InputDevice/Public/IHapticDevice.h

Include

#include "IHapticDevice.h"

Syntax

class IHapticDevice

Functions

Name Description

Public function Const

float

 

GetHapticAmplitudeScale()

Returns the scaling factor to map the amplitude of UHapticFeedbackEvents from [0.0, 1.0] to the actual range handled by the device

Public function Const

void

 

GetHapticFrequencyRange

(
    float& MinFrequency,
    float& MaxFrequency
)

Determines the valid range of frequencies this haptic device supports, to limit input ranges from UHapticFeedbackEffects

Public function

void

 

SetHapticFeedbackValues

(
    int32 ControllerId,
    int32 Hand,
    const FHapticFeedbackValues& Value...
)

Sets the frequency / amplitude of the haptic channel of a 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