ScreenDistortionSettings class Rendering

Parametric radial screen distortion, driven per frame from game code.

Each DistortionPulse warps the display-referred image along a ring expanding from a screen point, with an optional per-channel split so the ring fringes. Off by default; add a pulse and set enabled. Reachable through Scene.screenDistortion.

At most maxPulses pulses are applied per frame; extras are ignored.

Constructors

ScreenDistortionSettings()

Properties

enabled ↔ bool
Whether distortion runs. Off by default.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
pulses → List<DistortionPulse>
The live pulses, applied in list order. Mutate freely per frame.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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

Constants

maxPulses → const int
Maximum simultaneous pulses. Fixed so the shader loop has a compile-time bound.