@pixi/3d
    Preparing search index...

    Interface PhongDataAdvanced

    The fields of PhongMaterial#data

    emissive and emissiveStrength exist only on a material built with an emissive group; the rest always do.

    interface PhongData {
        alphaCutoff: number;
        baseColor: Float32Array;
        displayBaseColor?: Float32Array<ArrayBufferLike>;
        emissive?: Float32Array<ArrayBufferLike>;
        emissiveStrength?: number;
        normalScale: number;
        shininess: number;
        specularColor: Float32Array;
        specularStrength: number;
        uvOffset?: Float32Array<ArrayBufferLike>;
        uvTransformRow0?: Float32Array<ArrayBufferLike>;
        [field: string]: number | ArrayLike<number> | undefined;
    }

    Hierarchy (View Summary)

    Indexable

    • [field: string]: number | ArrayLike<number> | undefined

      Any other field the struct declares

    Index
    alphaCutoff: number

    Cutoff for alphaMode: 'mask'

    baseColor: Float32Array

    Base colour in linear light, alpha in the last lane

    displayBaseColor?: Float32Array<ArrayBufferLike>

    Base colour in display space, alpha in the last lane, for unlit bits; absent when not declared

    emissive?: Float32Array<ArrayBufferLike>

    Glow colour in linear light

    emissiveStrength?: number

    Multiplier on the glow

    normalScale: number

    Strength of the normal map's bumps

    shininess: number

    Specular exponent

    specularColor: Float32Array

    Specular tint in linear light

    specularStrength: number

    Scale on the whole highlight

    uvOffset?: Float32Array<ArrayBufferLike>

    The UV transform's offset; absent when the struct doesn't declare it

    uvTransformRow0?: Float32Array<ArrayBufferLike>

    The UV transform's 2x2 part, row-major as [m00, m01, m10, m11]; absent when the struct doesn't declare it