|
Arma Reforger Script API
|
Effect used to rumble the gamepad. More...
Public Member Functions | |
| proto external int | GetFadeInTimeMS () |
| Get fade-in time. | |
| proto external int | GetFadeOutTimeMS () |
| Get fade-out time. | |
| proto external float | GetAmplitude () |
| Get rumble amplitude. "saturate( Scale * (Base + Bias) )". | |
| proto external void | SetAmplitudeBase (float a) |
| Set Amplitude value. | |
| proto external int | GetDurationMS () |
| Get rumble duration. | |
| proto external int | GetLoopTimes () |
| How many times the effect will loop. | |
| proto external bool | IsInfiniteLooping () |
Public Member Functions inherited from GamepadEffect | |
| proto external IEntity | GetOwner () |
| proto external bool | IsEnabled () |
| proto external void | SetEnabled (bool val, float autoDisableTimeout=0.0, bool immediate=true) |
| Disabled GamepadEffects are ignored. | |
| proto external owned string | GetContext () |
| Name of GamepadEffectContext on which this GamepadEffect depends on. | |
| proto external owned string | GetEffectName () |
| proto external int | GetPriority () |
| GamepadEffect with higher priority is preferred. | |
| proto external void | ApplyImmediate () |
| Apply this effect immediately. Normally it would be applied at next update of GamepadIOHandlerComponent. | |
Effect used to rumble the gamepad.
| proto external float GamepadRumbleEffect.GetAmplitude | ( | ) |
Get rumble amplitude. "saturate( Scale * (Base + Bias) )".
| proto external int GamepadRumbleEffect.GetDurationMS | ( | ) |
Get rumble duration.
| proto external int GamepadRumbleEffect.GetFadeInTimeMS | ( | ) |
Get fade-in time.
| proto external int GamepadRumbleEffect.GetFadeOutTimeMS | ( | ) |
Get fade-out time.
| proto external int GamepadRumbleEffect.GetLoopTimes | ( | ) |
How many times the effect will loop.
| proto external bool GamepadRumbleEffect.IsInfiniteLooping | ( | ) |
| proto external void GamepadRumbleEffect.SetAmplitudeBase | ( | float | a | ) |
Set Amplitude value.