@babylonjs/loaders
Version:
For usage documentation please visit https://doc.babylonjs.com/features/featuresDeepDive/importers/loadingFileTypes/.
40 lines (39 loc) • 1.06 kB
TypeScript
import type { IGLTFLoaderExtension } from "../glTFLoaderExtension";
import type { GLTFLoader } from "../glTFLoader";
declare module "../../glTFFileLoader" {
interface GLTFLoaderExtensionOptions {
/**
* Defines options for the KHR_xmp_json_ld extension.
*/
["KHR_xmp_json_ld"]: {};
}
}
/**
* [Specification](https://github.com/KhronosGroup/glTF/blob/main/extensions/2.0/Khronos/KHR_xmp_json_ld/README.md)
* @since 5.0.0
*/
export declare class KHR_xmp_json_ld implements IGLTFLoaderExtension {
/**
* The name of this extension.
*/
readonly name = "KHR_xmp_json_ld";
/**
* 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;
/**
* Called after the loader state changes to LOADING.
*/
onLoading(): void;
}