ParticleSystemComponent constructor

ParticleSystemComponent({
  1. Particle? particle,
  2. Vector2? position,
  3. Vector2? size,
  4. Vector2? scale,
  5. double? angle,
  6. Anchor? anchor,
  7. int? priority,
  8. ComponentKey? key,
})

A PositionComponent that renders a Particle at the designated position, scaled to have the designated size and rotated to the specified angle.

Implementation

ParticleSystemComponent({
  this.particle,
  super.position,
  super.size,
  super.scale,
  super.angle,
  super.anchor,
  super.priority,
  super.key,
});