melonJS
    Preparing search index...

    Interface GLTFData

    interface GLTFData {
        bounds: { max: number[]; min: number[] };
        cameras: object[];
        lights: object[];
        nodes: object[];
    }
    Index

    Properties

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

    world-space scene bounds in glTF units

    cameras: object[]

    glTF cameras, each with its world transform + perspective parameters

    lights: object[]

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

    nodes: object[]

    one entry per mesh primitive (accumulated world transform, vertices, normals, uvs, indices, vertexCount, decoded baseColor image, doubleSided)