LightingConfig class

Class used to configure lighting

Constructors

LightingConfig({required double radius, required Color color, bool withPulse = false, Curve pulseCurve = Curves.decelerate, double pulseVariation = 0.1, double pulseSpeed = 1, double blurBorder = 20})

Properties

blurBorder double
Configure blur in lighting
final
color Color
Color of the lighting
final
hashCode int
The hash code for this object.
no setterinherited
pulseCurve Curve
Configure curve in pulse effect
final
pulseSpeed double
Configure speed in pulse effect
final
pulseVariation double
Configure variation in pulse effect
final
radius double
Radius of the lighting
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
valuePulse double
no setter
withPulse bool
Enable pulse effect in lighting
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
update(double dt) → void

Operators

operator ==(Object other) bool
The equality operator.
inherited