@newkrok/three-particles - v2.1.0
    Preparing search index...

    Type Alias ShapeConfig

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

    const shapeConfig: ShapeConfig = {
    shape: Shape.SPHERE,
    sphere: {
    radius: 5,
    radiusThickness: 0.8,
    arc: Math.PI,
    },
    };
    type ShapeConfig = {
        box?: Box;
        circle?: Circle;
        cone?: Cone;
        rectangle?: Rectangle;
        shape?: Shape;
        sphere?: Sphere;
    }
    Index

    Properties

    box?: Box

    Configuration for a box shape.

    circle?: Circle

    Configuration for a circle shape.

    cone?: Cone

    Configuration for a cone shape.

    rectangle?: Rectangle

    Configuration for a rectangle shape.

    shape?: Shape

    The type of the shape to be used.

    sphere?: Sphere

    Configuration for a sphere shape.