@babylonjs/loaders
Version:
The Babylon.js file loaders library is an extension you can use to load different 3D file types into a Babylon scene.
23 lines (22 loc) • 948 B
TypeScript
import { Nullable } from "@babylonjs/core/types";
import { Material } from "@babylonjs/core/Materials/material";
import { IMaterial } from "../glTFLoaderInterfaces";
import { IGLTFLoaderExtension } from "../glTFLoaderExtension";
import { GLTFLoader } from "../glTFLoader";
/**
* [Specification](https://github.com/KhronosGroup/glTF/tree/master/extensions/2.0/Khronos/KHR_materials_unlit)
*/
export declare class KHR_materials_unlit implements IGLTFLoaderExtension {
/** The name of this extension. */
readonly name = "KHR_materials_unlit";
/** Defines whether this extension is enabled. */
enabled: boolean;
private _loader;
/** @hidden */
constructor(loader: GLTFLoader);
/** @hidden */
dispose(): void;
/** @hidden */
loadMaterialPropertiesAsync(context: string, material: IMaterial, babylonMaterial: Material): Nullable<Promise<void>>;
private _loadUnlitPropertiesAsync;
}