Engine API Reference - v2.25.0-beta.13
    Preparing search index...

    Variable featureGltfDracoConst

    featureGltfDraco: Feature = ...

    Draco compressed glTF meshes: the loading of glTF files using KHR_draco_mesh_compression. The meshes are decoded by the Draco decoder, which dracoInitialize configures. Add it to AppOptions#features to load Draco compressed glTF files. Without it, they fail to load.

    dracoInitialize({
    jsUrl: 'draco.wasm.js',
    wasmUrl: 'draco.wasm.wasm'
    });

    const options = new AppOptions();
    options.resourceHandlers = [ContainerHandler];
    options.features = [featureTextureAssets, featureGltfDraco];