import ComponentBase from "../component-base/index.js"; import Scene from "../scene/index.js"; import Indexer from "./indexer/index.js"; /** * Asset - a builder for a glTF asset object. This should be the root object used to build the final product. * @see {@link https://registry.khronos.org/glTF/specs/2.0/glTF-2.0.html#reference-asset | GLTF reference} * @hideconstructor */ export default class Asset extends ComponentBase<{ scenes: Scene[]; }> { constructor(); private getAssetDefinition; /** * Builds a complete asset in the glTF file format. * * @returns {*} a complete glTF asset as an object */ build( /** @ignore */ indexer?: Indexer): object; /** * Adds a scene to this asset * * @param {Scene} scene * @returns {Asset} this */ addScene(scene: Scene): Asset; }