ParticularLayer class

Constructors

ParticularLayer({required Image texture, required ParticularConfigs configs, dynamic onFinished()?})
Creates a new instance of the ParticularLayer class.

Properties

colors List<ParticleColor>
The colors of particles.
final
configs ParticularConfigs
The configs for managing parameters and behavior of a particle system.
final
deadParticleIndices List<int>
The indices of the dead particles.
final
hashCode int
The hash code for this object.
no setterinherited
index int
The index of the particle system.
getter/setter pair
onFinished → (dynamic Function()?)
A callback function called when particle rendering is finished.
final
particles List<Particle>
The particles in the system.
final
rectangles List<ParticleRect>
The rectangles representing particles.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
texture Image
The texture used for particles.
getter/setter pair
transforms List<ParticleTransform>
The transforms of particles.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
spawn({int age = 0, double scaleFactor = 1.0}) → void
Spawns a particle.
toString() String
A string representation of this object.
inherited

Operators

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