glTFMaterialsCommonExtension.d.ts 557 B

12345678910111213
  1. import { GLTFLoaderExtension } from "./glTFLoader";
  2. import type { IGLTFRuntime } from "./glTFLoaderInterfaces";
  3. import { Material } from "@babylonjs/core/Materials/material.js";
  4. /**
  5. * @internal
  6. * @deprecated
  7. */
  8. export declare class GLTFMaterialsCommonExtension extends GLTFLoaderExtension {
  9. constructor();
  10. loadRuntimeExtensionsAsync(gltfRuntime: IGLTFRuntime): boolean;
  11. loadMaterialAsync(gltfRuntime: IGLTFRuntime, id: string, onSuccess: (material: Material) => void, onError: (message: string) => void): boolean;
  12. private _loadTexture;
  13. }