Skip to content

SpawnShape

ts
type SpawnShape = "point" | "line" | "rectangle" | "circle";

Type defining the possible spawn shapes for SpawnBehavior.

  • point: Particles spawn from a single point at the origin position.
  • line: Particles spawn along a line centered at the origin position.
  • rectangle: Particles spawn within a rectangle centered at the origin position.
  • circle: Particles spawn within a circle centered at the origin position.