scaled method

Particle scaled(
  1. double scale
)
inherited

Wraps this particle with a ScaledParticle.

Allows for changing the size of this particle and/or its children.

Implementation

Particle scaled(double scale) {
  return ScaledParticle(scale: scale, child: this, lifespan: _lifespan);
}