HapticConstant class
A constant haptic effect.
- Inheritance
-
- Object
- HapticEffect
- HapticConstant
Constructors
- HapticConstant({required Sdl sdl, required HapticDirection direction, required int length, required int delay, required int button, required int interval, required int level, required int attackLength, required int attackLevel, required int fadeLength, required int fadeLevel})
- Create a constant effect.
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
-
The direction of the effect.
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
- level → int
-
Strength of the constant effect.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sdl → Sdl
-
The SDL bindings to use.
finalinherited
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