melonJS
    Preparing search index...

    Interface GLTFData

    interface GLTFData {
        animations: object[];
        bounds: { max: number[]; min: number[] };
        cameras: {
            orthographic?: object;
            perspective?: {
                aspectRatio?: number;
                yfov?: number;
                zfar?: number;
                znear?: number;
            };
            type?: string;
            world: number[];
        }[];
        graph: object[];
        lights: object[];
        nodes: object[];
    }
    Index
    animations: object[]

    parsed node animations (consumed by GLTFModel playback)

    bounds: { max: number[]; min: number[] }

    world-space scene bounds in glTF units

    cameras: {
        orthographic?: object;
        perspective?: {
            aspectRatio?: number;
            yfov?: number;
            zfar?: number;
            znear?: number;
        };
        type?: string;
        world: number[];
    }[]

    glTF cameras, each with its world transform + the glTF camera parameters (perspective for perspective cameras, orthographic otherwise)

    graph: object[]

    the full node graph (every node's TRS/matrix + children), for custom traversal

    lights: object[]

    parsed KHR_lights_punctual lights (type, color, intensity, range, innerConeAngle/outerConeAngle for spots, world-space direction/position, name)

    nodes: object[]

    one entry per mesh primitive: accumulated world transform, vertices, normals, uvs, indices, vertexCount, decoded baseColor image (or null), baseColorFactor, per-vertex colors, sampler-derived textureRepeat/textureFilter, alphaCutoff, emissive, unlit (KHR_materials_unlit), doubleSided, and the source node name