GlassLensModel enum

How the glass bevel bends the backdrop it refracts.

Both models use the same hemispherical bevel; they differ in how the deviation of a ray is derived from the surface slope at each pixel.

Inheritance
Available extensions

Values

spherical → const GlassLensModel

Exact Snell refraction through the bevel (default).

The deviation climbs steeply toward grazing incidence, so the outermost pixels of the rim sample far into the body and the fold in the rim band steepens toward the edge instead of staying even.

paraxial → const GlassLensModel

Small-angle (thin-prism) refraction: deviation is (n - 1) times the bevel slope, the slope taken as sin² of the incidence angle.

The displacement runs up quadratically from the inner edge of the bevel, 8 (n - 1) times the bevel depth at the rim, so past n = 1.125 the band folds and shows a mirrored, compressed copy of the interior. At thickness: 32, refractiveIndex: 1.24 that is the native rim band: identity out to 0.6 of the radius, then an even fold. Under a LiquidGlassSettings.frost the band folds the copy of the content that shows through the cloud.

Only affects the Premium (Impeller) path.

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
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

values → const List<GlassLensModel>
A constant List of the values in this enum, in order of their declaration.