LensLight class

Where the light catches a lens's rim.

Annotations

Constructors

LensLight.new({required double angle, required double glow, required double spread, required double glowPower, required double edge, required double edgeWidth, required double edgePower})
Creates a light from where it shines and how its glow and edge look.
const

Properties

angle → double
The direction the light comes from, in degrees.
final
edge → double
How bright the thin lit line at the very edge is.
final
edgePower → double
How sharply the edge line falls off: higher keeps it nearer its peak.
final
edgeWidth → double
The width of that edge line, in px.
final
glow → double
How bright the glow on the lit side of the rim is.
final
glowPower → double
How sharply the glow falls off: higher keeps it nearer its peak.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
spread → double
How far round the rim the glow spreads.
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

Constants

dark → const LensLight
Aave's light for dark surroundings.
light → const LensLight
Aave's light for light surroundings.