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

    Type Alias Rectangle

    Configuration for a rectangle shape used in particle systems.

    const rectangle: Rectangle = {
    rotation: { x: Math.PI / 4, y: 0, z: 0 },
    scale: { x: 10, y: 5, z: 1 },
    };
    type Rectangle = {
        rotation?: Point3D;
        scale?: Point3D;
    }
    Index

    Properties

    Properties

    rotation?: Point3D

    The rotation of the rectangle as a 3D point (in radians for each axis).

    scale?: Point3D

    The scale of the rectangle as a 3D point.