RenderOptions class
View/render option bundle.
Constructors
- RenderOptions({bool showVelocityVectors = true, bool showTrails = true, bool showFieldOverlay = false, bool showLensingOverlay = false, RenderQuality quality = RenderQuality.medium})
-
Creates render options.
const
Properties
- fieldSamples → int
-
Suggested field sample density for this quality profile.
no setter
- glowAlpha → double
-
Suggested glow alpha for this quality profile.
no setter
- hashCode → int
-
The hash code for this object.
no setteroverride
- quality → RenderQuality
-
Quality preset used for derived view parameters.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showFieldOverlay → bool
-
Whether field overlay should be shown.
final
- showLensingOverlay → bool
-
Whether lensing overlay should be shown.
final
- showTrails → bool
-
Whether trails should be shown.
final
- showVelocityVectors → bool
-
Whether velocity vectors should be shown.
final
- trailLength → int
-
Suggested trail length for this quality profile.
no setter
Methods
-
copyWith(
{bool? showVelocityVectors, bool? showTrails, bool? showFieldOverlay, bool? showLensingOverlay, RenderQuality? quality}) → RenderOptions - Returns a copy with selected values replaced.
-
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.
override