HapticRamp class
A ramp effect.
- Inheritance
-
- Object
- HapticEffect
- HapticRamp
Constructors
- HapticRamp({required Sdl sdl, required HapticDirection direction, required int length, required int delay, required int button, required int interval, required int start, required int end, required int attackLength, required int attackLevel, required int fadeLength, required int fadeLevel})
- Create an instance.
Properties
- attackLength → int
-
Duration of the attack.
final
- attackLevel → int
-
Level at the start of the attack.
final
-
Button that triggers the effect.
final
- delay → int
-
Delay before starting the effect.
final
- direction → HapticDirection
-
Direction of the effect.
final
- end → int
-
Ending strength level.
final
- fadeLength → int
-
Duration of the fade.
final
- fadeLevel → int
-
Level at the end of the fade.
final
-
handle
→ Pointer<
SDL_HapticEffect> -
The pointer to use.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- interval → int
-
How soon it can be triggered again after button.
final
- length → int
-
Duration of the effect.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sdl → Sdl
-
The SDL bindings to use.
finalinherited
- start → int
-
Beginning strength level.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited