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

    Type Alias MeshConfig

    Configuration for the mesh particle renderer. Controls which 3D geometry is used when rendererType is RendererType.MESH.

    // Cube mesh particles
    mesh: {
    geometry: new THREE.BoxGeometry(1, 1, 1),
    }

    // Icosahedron mesh particles
    mesh: {
    geometry: new THREE.IcosahedronGeometry(0.5, 0),
    }
    type MeshConfig = {
        geometry: THREE.BufferGeometry;
    }
    Index

    Properties

    Properties

    geometry: THREE.BufferGeometry

    A THREE.BufferGeometry to render for each particle. Built-in Three.js primitives like BoxGeometry, SphereGeometry, TorusGeometry all work. The geometry's own normals and UVs are preserved.