Feel
5.1
The best way to improve your game's feel and make it extra juicy
|
Contains a vibration pattern to make a gamepad rumble. More...
Public Member Functions | |
bool | IsValid () |
Checks if the GamepadRumble is valid and also not empty More... | |
Public Attributes | |
int[] | durationsMs |
The duration, in milliseconds, that the motors will be turned on at the speed set in lowFrequencyMotorSpeeds and highFrequencyMotorSpeeds at the same array index More... | |
int | totalDurationMs |
The total duration of the GamepadRumble, in milliseconds More... | |
float[] | lowFrequencyMotorSpeeds |
The motor speeds of the low frequency motor More... | |
float[] | highFrequencyMotorSpeeds |
The motor speeds of the high frequency motor More... | |
Contains a vibration pattern to make a gamepad rumble.
GamepadRumble contains the information on when to set what motor speeds on a gamepad to make it rumble with a specific pattern.
GamepadRumble has three arrays of the same length representing the rumble pattern. The entries for each array index describe for how long to turn on the gamepad's vibration motors, at what speed.
bool Lofelt.NiceVibrations.GamepadRumble.IsValid | ( | ) |
Checks if the GamepadRumble is valid and also not empty
int [] Lofelt.NiceVibrations.GamepadRumble.durationsMs |
The duration, in milliseconds, that the motors will be turned on at the speed set in lowFrequencyMotorSpeeds and highFrequencyMotorSpeeds at the same array index
float [] Lofelt.NiceVibrations.GamepadRumble.highFrequencyMotorSpeeds |
The motor speeds of the high frequency motor
float [] Lofelt.NiceVibrations.GamepadRumble.lowFrequencyMotorSpeeds |
The motor speeds of the low frequency motor
int Lofelt.NiceVibrations.GamepadRumble.totalDurationMs |
The total duration of the GamepadRumble, in milliseconds