Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/GameFramework/PlayerController.h |
Include |
#include "GameFramework/PlayerController.h" |
Source |
/Engine/Source/Runtime/Engine/Private/PlayerController.cpp |
void SetHapticsByValue
(
const float Frequency,
const float Amplitude,
EControllerHand Hand
)
Sets the value of the haptics for the specified hand directly, using frequency and amplitude.
If a curve is already playing for this hand, it will be cancelled in favour of the specified values.
Parameter |
Description |
---|---|
Frequency |
The normalized frequency [0.0, 1.0] to play through the haptics system |
Amplitude |
The normalized amplitude [0.0, 1.0] to set the haptic feedback to |
Hand |
Which hand to play the effect on |