UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
IHapticDevice Class Referenceabstract

#include <IHapticDevice.h>

Public Member Functions

virtual void SetHapticFeedbackValues (int32 ControllerId, int32 Hand, const FHapticFeedbackValues &Values)=0
 
virtual void GetHapticFrequencyRange (float &MinFrequency, float &MaxFrequency) const =0
 
virtual float GetHapticAmplitudeScale () const =0
 

Member Function Documentation

◆ GetHapticAmplitudeScale()

virtual float IHapticDevice::GetHapticAmplitudeScale ( ) const
pure virtual

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

◆ GetHapticFrequencyRange()

virtual void IHapticDevice::GetHapticFrequencyRange ( float MinFrequency,
float MaxFrequency 
) const
pure virtual

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

◆ SetHapticFeedbackValues()

virtual void IHapticDevice::SetHapticFeedbackValues ( int32  ControllerId,
int32  Hand,
const FHapticFeedbackValues Values 
)
pure virtual

Sets the frequency / amplitude of the haptic channel of a controller.

Parameters
ControllerIdId of the controller to set haptic feedback parameters on
HandWhich hand, if supported, to add the haptic feedback to (corresponds to EControllerHand)
ValuesThe values to haptic parameter values (e.g. frequency and amplitude) set for the device

The documentation for this class was generated from the following file: