Configuration data for the spawn shape.
Type of the shape to spawn
Order in which the behavior will be handled. Lower numbers are handled earlier, with an order of 0 getting special treatment before the Emitter's transformation is applied.
Dictionary of all registered shape classes.
Called to initialize a wave of particles, with a reference to the first particle in the linked list.
Registers a shape to be used by the ShapeSpawn behavior.
The shape class constructor to use, with a static type
property to reference it by.
An optional type override, primarily for registering a shape under multiple names.
Generated using TypeDoc
A Spawn behavior that places (and optionally rotates) particles according to a specified shape. Additional shapes can be registered with SpawnShape.registerShape(). Additional shapes must implement the SpawnShape interface, and their class must match the SpawnShapeClass interface. Shapes included by default are:
Example config: