12345678910111213141516171819202122232425262728293031323334 |
- import type { Nullable } from "@babylonjs/core/types.js";
- import type { Material } from "@babylonjs/core/Materials/material.js";
- import type { IMaterial } from "../glTFLoaderInterfaces";
- import type { IGLTFLoaderExtension } from "../glTFLoaderExtension";
- import { GLTFLoader } from "../glTFLoader";
- /**
- * [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_materials_specular/README.md)
- */
- export declare class KHR_materials_specular implements IGLTFLoaderExtension {
- /**
- * The name of this extension.
- */
- readonly name = "KHR_materials_specular";
- /**
- * Defines whether this extension is enabled.
- */
- enabled: boolean;
- /**
- * Defines a number that determines the order the extensions are applied.
- */
- order: number;
- private _loader;
- /**
- * @internal
- */
- constructor(loader: GLTFLoader);
- /** @internal */
- dispose(): void;
- /**
- * @internal
- */
- loadMaterialPropertiesAsync(context: string, material: IMaterial, babylonMaterial: Material): Nullable<Promise<void>>;
- private _loadSpecularPropertiesAsync;
- }
|