/** * @import { AppBase } from '../app-base.js' */ /** * Resource handler for the `model` asset type. Loads legacy PlayCanvas JSON models and GLB files * into a {@link Model}. OBJ files are supported once the `ObjModelParser` shipped in * `playcanvas/scripts/esm/parsers/obj-model.mjs` is registered with * {@link ResourceHandler#addParser}. * * @category Asset */ export class ModelHandler extends ResourceHandler { /** * Create a new ModelHandler instance. * * @param {AppBase} app - The running {@link AppBase}. * @ignore */ constructor(app: AppBase); device: import("../../index.js").GraphicsDevice; assets: import("../asset/asset-registry.js").AssetRegistry; defaultMaterial: import("../../index.js").StandardMaterial; patch(asset: any, assets: any): void; } import { ResourceHandler } from './handler.js'; import type { AppBase } from '../app-base.js';