SnowParticleLayer class

Inheritance

Constructors

SnowParticleLayer()

Properties

hashCode int
The hash code for this object.
no setterinherited
isDead bool
This effect last 3s and then disapears
no setteroverride
needsAfter bool
no setteroverride
needsBefore bool
To optimize I'll provide these options Not all system need before/after and per-particle paint
no setterinherited
needsParticlePaint bool
no setteroverride
particles List<SnowParticle>
Particles we are going to render
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
time double
Current runtime of this layer
getter/setter pairinherited

Methods

after(Canvas canvas, Size size) → void
After we draw this layer
override
before(Canvas canvas, Size size) → void
Before we draw this layer
override
drawParticle(Canvas canvas, Size size, SnowParticle particle) → void
During
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
step(double d) → void
Track the time a Layer has been active
inherited
toString() String
A string representation of this object.
inherited

Operators

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