melonJS
    Preparing search index...

    Interface GLTFNode

    interface GLTFNode {
        alphaCutoff?: number;
        baseColorFactor?: number[];
        colors?: Uint32Array<ArrayBufferLike>;
        doubleSided?: boolean;
        emissive?: number[];
        image: HTMLImageElement | null;
        indices: Uint16Array<ArrayBufferLike> | Uint32Array<ArrayBufferLike>;
        name?: string;
        normals: Float32Array<ArrayBufferLike>;
        textureFilter?: string;
        textureRepeat?: string;
        unlit?: boolean;
        uvs: Float32Array<ArrayBufferLike>;
        vertexCount: number;
        vertices: Float32Array<ArrayBufferLike>;
        world: number[];
    }
    Index
    alphaCutoff?: number

    cutout threshold from alphaMode: "MASK"

    baseColorFactor?: number[]

    material baseColor factor, [r, g, b, a]

    colors?: Uint32Array<ArrayBufferLike>

    per-vertex colour, packed RGBA8

    doubleSided?: boolean

    the material is double-sided

    emissive?: number[]

    emissive factor, [r, g, b]

    image: HTMLImageElement | null

    decoded baseColor texture, or null

    indices: Uint16Array<ArrayBufferLike> | Uint32Array<ArrayBufferLike>

    triangle vertex indices

    name?: string

    the source node's name

    normals: Float32Array<ArrayBufferLike>

    per-vertex normals

    textureFilter?: string

    magnification filter derived from the glTF sampler

    textureRepeat?: string

    wrap mode derived from the glTF sampler

    unlit?: boolean

    the material carried KHR_materials_unlit

    uvs: Float32Array<ArrayBufferLike>

    texture coordinates, u,v pairs

    vertexCount: number

    number of vertices

    vertices: Float32Array<ArrayBufferLike>

    positions, x,y,z triplets

    world: number[]

    accumulated world transform, 16 floats, column-major