Navigation
Unreal Engine C++ API Reference > Runtime > ApplicationCore > GenericPlatform > IInputInterface
- IInputInterface::SetForceFeedbackChannelValue()
- FNullApplication::SetForceFeedbackChannelValue()
References
Module | ApplicationCore |
Header | /Engine/Source/Runtime/ApplicationCore/Public/GenericPlatform/IInputInterface.h |
Include | #include "GenericPlatform/IInputInterface.h" |
void SetForceFeedbackChannelValue
&40;
int32 ControllerId,
FForceFeedbackChannelType ChannelType,
float Value
&41;
Remarks
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
Parameters
Name | Description |
---|---|
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 |