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

    Variable blendingMapConst

    blendingMap: {
        "THREE.AdditiveBlending": 2;
        "THREE.MultiplyBlending": 4;
        "THREE.NoBlending": 0;
        "THREE.NormalBlending": 1;
        "THREE.SubtractiveBlending": 3;
    } = ...

    Mapping of blending mode string identifiers to Three.js blending constants.

    Used for converting serialized particle system configurations (e.g., from JSON) to actual Three.js blending mode constants.

    Type Declaration

    • THREE.AdditiveBlending: 2
    • THREE.MultiplyBlending: 4
    • THREE.NoBlending: 0
    • THREE.NormalBlending: 1
    • THREE.SubtractiveBlending: 3
    import { blendingMap } from '@newkrok/three-particles';

    // Convert string to Three.js constant
    const blending = blendingMap['THREE.AdditiveBlending'];
    // blending === THREE.AdditiveBlending