WaveDistortionFilter class final
Applies a deterministic sine-wave distortion across the buffer.
Unlike LiquifyFilter, this effect is stable and repeatable for a given configuration, which makes it a better fit for stylized transitions, underwater shimmer, or low-cost heat-haze style motion.
- Inheritance
-
- Object
- BufferFilter
- WaveDistortionFilter
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- phase → double
-
Initial phase offset in radians.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- speed → double
-
Phase advance in cycles per second.
final
- xAmplitude → double
-
Horizontal displacement in terminal cells.
final
- xFrequency → double
-
Frequency used for the vertical-to-horizontal wave lookup.
final
- yAmplitude → double
-
Vertical displacement in terminal cells.
final
- yFrequency → double
-
Frequency used for the horizontal-to-vertical wave lookup.
final
Methods
-
apply(
Buffer source, Buffer target, double dt) → void -
override
-
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