SpawnBehaviorConfig
ts
type SpawnBehaviorConfig = object &
| PointConfig
| LineConfig
| RectangleConfig
| CircleConfig;Type defining the configuration for SpawnBehavior.
Type Declaration
direction?
ts
optional direction: PointData;Direction in which the particles will be moving.
origin?
ts
optional origin: PointData;Origin (parent-local) position used as the center/offset for particle spawning.
This value is added to the shape-generated spawn coordinates in init. For the point shape, particles spawn exactly at this position.
This is relative to the parent transform (not a world-space position).