ParticleRenderer class abstract
Draws the live particles of an emitter component.
Extend TextureParticleRenderer for batched texture rendering, or extend this class (or use CallbackParticleRenderer) for full canvas access.
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
-
onLoad(
) → FutureOr< void> - Called once when the owning component loads. Override to prepare textures or other resources.
-
render(
Canvas canvas, ParticleBuffer particles) → void -
Renders all live particles in
particles. The canvas is already transformed to the emitter component's local coordinate system. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited