Navigation
API > API/Runtime > API/Runtime/ApplicationCore > API/Runtime/ApplicationCore/IInputInterface
Description
Sets the strength/speed of the given channel for the given controller id. NOTE: If the channel is not supported, the call will silently fail
Derived Overrides
| Name | SetForceFeedbackChannelValue |
| Type | function |
| Header File | /Engine/Source/Runtime/ApplicationCore/Public/GenericPlatform/IInputInterface.h |
| Include Path | #include "GenericPlatform/IInputInterface.h" |
void SetForceFeedbackChannelValue
(
int32 ControllerId,
FForceFeedbackChannelType ChannelType,
float Value
)
Parameters
| Name | Remarks |
|---|---|
| ControllerId | the id of the controller whose value is to be set |
| ChannelType | the type of channel whose value should be set |
| Value | strength or speed of feedback, 0.0f to 1.0f. 0.0f will disable |