Property | Type | Description | |
---|---|---|---|
leftMotor | float | ||
playerIndex | int | ||
rightMotor | float | ||
rumbleDurr | float | ||
rumbleStart | float |
Method | Description | |
---|---|---|
ControllerRumbleInfo ( int a_playerIndex, float a_motorLeft, float a_motorRight, float a_rumbleDurr ) : XInputDotNetPure |
Default constructor. Additional rumbles for a player are additive.
|
|
IsRumbleExpired ( ) : bool |
public ControllerRumbleInfo ( int a_playerIndex, float a_motorLeft, float a_motorRight, float a_rumbleDurr ) : XInputDotNetPure | ||
a_playerIndex | int | |
a_motorLeft | float | Vibration value for the left controller motor. |
a_motorRight | float | Vibration value for the right controller motor. |
a_rumbleDurr | float | How long to rumble for in seconds. |
return | XInputDotNetPure |