babylon.quarks - v1.0.0
    Preparing search index...

    Interface QuarksMaterialJSON

    A material entry of an effect document: what a particle system's material writes (type 'QuarksMaterial'), or a three.js material, whose map and blending the loader reads too.

    interface QuarksMaterialJSON {
        alphaMode?: number;
        alphaTest?: number;
        blending?: number;
        depthTest?: boolean;
        depthWrite?: boolean;
        erosion?: ErosionJSON;
        gradientMap?: GradientMapJSON;
        lighting?: MeshLighting;
        map?: string;
        mapUV?: Partial<TextureUV>;
        reflectionAtlas?: MaterialTextureRef;
        reflectionLevel?: number;
        rim?: Partial<MeshRim>;
        side?: number;
        sourceMaterial?: ParticleMaterialSource;
        texture?: MaterialTextureRef;
        transparent?: boolean;
        type?: string;
        uuid: string;
        uvDistortion?: UVDistortionJSON;
    }
    Index
    alphaMode?: number

    A Babylon alpha mode constant.

    alphaTest?: number

    Default 0.

    blending?: number

    A three.js blending code (1 normal, 2 additive, 3 subtractive, 4 multiply), read without alphaMode.

    depthTest?: boolean

    Default true.

    depthWrite?: boolean

    Default false.

    erosion?: ErosionJSON

    Erosion.

    gradientMap?: GradientMapJSON

    Gradient mapping.

    lighting?: MeshLighting

    Mesh particle lighting; 'fixed' when absent.

    map?: string

    A three.js material's texture, read when there is no texture.

    mapUV?: Partial<TextureUV>

    The particle texture's UV transform.

    reflectionAtlas?: MaterialTextureRef

    A 3×2 environment atlas for reflections.

    reflectionLevel?: number

    How strong the reflection is.

    rim?: Partial<MeshRim>

    Mesh particle rim.

    side?: number

    A three.js side code; 2 draws both faces.

    sourceMaterial?: ParticleMaterialSource

    While writing: the material the system read its settings from. Never written to a file.

    The particle texture.

    transparent?: boolean

    Whether the particles blend. Default true.

    type?: string

    'QuarksMaterial', or the three.js material type.

    uuid: string

    Unique within the file.

    uvDistortion?: UVDistortionJSON

    UV distortion.