charturbo - v0.1.0
    Preparing search index...

    Interface GltfLoadOptions

    interface GltfLoadOptions {
        baseUrl?: string;
        position?: Vec3Tuple;
        rotation?: Vec3Tuple;
        scale?: number | Vec3Tuple;
        scene?: number;
        signal?: AbortSignal;
    }
    Index
    baseUrl?: string

    Base URL for relative buffer / image URIs (default: the source URL, else the page URL)

    position?: Vec3Tuple

    Object position of every created mesh (default: [0, 0, 0]); the model origin lands here

    rotation?: Vec3Tuple

    Euler radians [rx, ry, rz], same convention as primitives (default: [0, 0, 0])

    scale?: number | Vec3Tuple

    Uniform or per-axis scale baked into the vertices (default: 1; glTF units are meters)

    scene?: number

    Scene index (default: the file's scene, else 0)

    signal?: AbortSignal

    Aborts fetches and texture decoding; the promise rejects with an AbortError