Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
Retrieves the gain set on a force feedback effect.
Syntax
float GetGain();
Parameters
This method has no parameters.
Return value
Type: float
The gain set on a force-feedback motor device.
Remarks
The IGameInputForceFeedbackEffect::GetGain method retrieves the gain on a force feedback motor. The gain can have a value between 0.0 and 1.0. For more information, see Advanced GameInput topics.
Requirements
Header: GameInput.h
Library: gameinput.lib
Supported platforms: Windows
See also
Overview of GameInput IGameInputForceFeedbackEffect::SetGain IGameInputDevice::SetForceFeedbackMotorGain IGameInputForceFeedbackEffect