|
@@ -1064,7 +1064,7 @@ declare module BABYLON.GLTF1 {
|
|
|
loadMaterialAsync(gltfRuntime: IGLTFRuntime, id: string, onSuccess: (material: BABYLON.Material) => void, onError: (message: string) => void): boolean;
|
|
|
}
|
|
|
}
|
|
|
-declare module BABYLON {
|
|
|
+declare module BABYLON.GLTF2 {
|
|
|
/**
|
|
|
* Helper class for working with arrays when loading the glTF asset
|
|
|
*/
|
|
@@ -1259,7 +1259,7 @@ declare module BABYLON {
|
|
|
endPerformanceCounter(counterName: string): void;
|
|
|
}
|
|
|
}
|
|
|
-declare module BABYLON {
|
|
|
+declare module BABYLON.GLTF2 {
|
|
|
/** @hidden */
|
|
|
export var __IGLTFLoaderExtension: number;
|
|
|
/**
|
|
@@ -1352,7 +1352,7 @@ declare module BABYLON {
|
|
|
_loadUriAsync?(context: string, uri: string): BABYLON.Nullable<Promise<ArrayBufferView>>;
|
|
|
}
|
|
|
}
|
|
|
-declare module BABYLON {
|
|
|
+declare module BABYLON.GLTF2 {
|
|
|
/** @hidden */
|
|
|
export var __IGLTFLoaderInterfacesV2: number;
|
|
|
/**
|
|
@@ -1547,7 +1547,7 @@ declare module BABYLON {
|
|
|
textures?: ITexture[];
|
|
|
}
|
|
|
}
|
|
|
-declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
+declare module BABYLON.GLTF2 {
|
|
|
/**
|
|
|
* [Specification](https://github.com/KhronosGroup/glTF/blob/eb3e32332042e04691a5f35103f8c261e50d8f1e/extensions/2.0/Khronos/EXT_lights_image_based/README.md) (Experimental)
|
|
|
*/
|
|
@@ -1566,7 +1566,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
loadSceneAsync(context: string, scene: IScene): BABYLON.Nullable<Promise<void>>;
|
|
|
}
|
|
|
}
|
|
|
-declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
+declare module BABYLON.GLTF2 {
|
|
|
/**
|
|
|
* [Specification](https://github.com/KhronosGroup/glTF/tree/master/extensions/2.0/Khronos/KHR_draco_mesh_compression)
|
|
|
*/
|
|
@@ -1583,7 +1583,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
_loadVertexDataAsync(context: string, primitive: IMeshPrimitive, babylonMesh: BABYLON.Mesh): BABYLON.Nullable<Promise<BABYLON.Geometry>>;
|
|
|
}
|
|
|
}
|
|
|
-declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
+declare module BABYLON.GLTF2 {
|
|
|
/**
|
|
|
* [Specification](https://github.com/KhronosGroup/glTF/blob/1048d162a44dbcb05aefc1874bfd423cf60135a6/extensions/2.0/Khronos/KHR_lights_punctual/README.md) (Experimental)
|
|
|
*/
|
|
@@ -1602,7 +1602,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
loadNodeAsync(context: string, node: INode, assign: (babylonMesh: BABYLON.Mesh) => void): BABYLON.Nullable<Promise<BABYLON.Mesh>>;
|
|
|
}
|
|
|
}
|
|
|
-declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
+declare module BABYLON.GLTF2 {
|
|
|
/**
|
|
|
* [Specification](https://github.com/KhronosGroup/glTF/tree/master/extensions/2.0/Khronos/KHR_materials_pbrSpecularGlossiness)
|
|
|
*/
|
|
@@ -1619,7 +1619,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
loadMaterialPropertiesAsync(context: string, material: IMaterial, babylonMaterial: BABYLON.Material): BABYLON.Nullable<Promise<void>>;
|
|
|
}
|
|
|
}
|
|
|
-declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
+declare module BABYLON.GLTF2 {
|
|
|
/**
|
|
|
* [Specification](https://github.com/KhronosGroup/glTF/tree/master/extensions/2.0/Khronos/KHR_materials_unlit)
|
|
|
*/
|
|
@@ -1636,7 +1636,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
loadMaterialPropertiesAsync(context: string, material: IMaterial, babylonMaterial: BABYLON.Material): BABYLON.Nullable<Promise<void>>;
|
|
|
}
|
|
|
}
|
|
|
-declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
+declare module BABYLON.GLTF2 {
|
|
|
/**
|
|
|
* [Specification](https://github.com/KhronosGroup/glTF/blob/master/extensions/2.0/Khronos/KHR_texture_transform/README.md)
|
|
|
*/
|
|
@@ -1653,7 +1653,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
loadTextureInfoAsync(context: string, textureInfo: ITextureInfo, assign: (babylonTexture: BABYLON.BaseTexture) => void): BABYLON.Nullable<Promise<BABYLON.BaseTexture>>;
|
|
|
}
|
|
|
}
|
|
|
-declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
+declare module BABYLON.GLTF2 {
|
|
|
/**
|
|
|
* [Specification](https://github.com/najadojo/glTF/tree/MSFT_audio_emitter/extensions/2.0/Vendor/MSFT_audio_emitter)
|
|
|
*/
|
|
@@ -1676,7 +1676,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
loadAnimationAsync(context: string, animation: IAnimation): BABYLON.Nullable<Promise<BABYLON.AnimationGroup>>;
|
|
|
}
|
|
|
}
|
|
|
-declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
+declare module BABYLON.GLTF2 {
|
|
|
/**
|
|
|
* [Specification](https://github.com/KhronosGroup/glTF/tree/master/extensions/2.0/Vendor/MSFT_lod)
|
|
|
*/
|
|
@@ -1715,7 +1715,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
_loadUriAsync(context: string, uri: string): BABYLON.Nullable<Promise<ArrayBufferView>>;
|
|
|
}
|
|
|
}
|
|
|
-declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
+declare module BABYLON.GLTF2 {
|
|
|
/** @hidden */
|
|
|
export class MSFT_minecraftMesh implements IGLTFLoaderExtension {
|
|
|
readonly name: string;
|
|
@@ -1725,7 +1725,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
loadMaterialPropertiesAsync(context: string, material: IMaterial, babylonMaterial: BABYLON.Material): BABYLON.Nullable<Promise<void>>;
|
|
|
}
|
|
|
}
|
|
|
-declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
+declare module BABYLON.GLTF2 {
|
|
|
/** @hidden */
|
|
|
export class MSFT_sRGBFactors implements IGLTFLoaderExtension {
|
|
|
readonly name: string;
|