ShapeConfig: {
    box?: Box;
    circle?: Circle;
    cone?: Cone;
    rectangle?: Rectangle;
    shape?: Shape;
    sphere?: Sphere;
}

Configuration for defining a 3D shape used in particle systems. Specifies the shape type and its parameters, including spheres, cones, circles, rectangles, and boxes.

Type declaration

const shapeConfig: ShapeConfig = {
shape: Shape.SPHERE,
sphere: {
radius: 5,
radiusThickness: 0.8,
arc: Math.PI,
},
};