HapticPeriodic class
A periodic haptic effect.
- Inheritance
-
- Object
- HapticEffect
- HapticPeriodic
Constructors
- HapticPeriodic({required Sdl sdl, required HapticPeriodicType type, required HapticDirection direction, required int length, required int delay, required int button, required int interval, required int period, required int magnitude, required int offset, required int phase, 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
-
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
- magnitude → int
-
Peak value; if negative, equivalent to 180 degrees extra phase shift.
final
- offset → int
-
Mean value of the wave.
final
- period → int
-
Period of the wave.
final
- phase → int
-
Positive phase shift given by hundredth of a degree.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sdl → Sdl
-
The SDL bindings to use.
finalinherited
- type → HapticPeriodicType
-
The type of this effect.
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