RectangleConfig
ts
type RectangleConfig = object;Type defining the rectangle spawn configuration.
Properties
height?
ts
optional height: number;Height of the rectangle. If not provided, the height will be equal to the width.
shape
ts
shape: "rectangle";Particles spawn within a rectangle centered at the origin position.
width
ts
width: number;Width of the rectangle.