babylonjs-loaders 6.32.0 → 6.33.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/babylon.glTF2FileLoader.js +106 -23
- package/babylon.glTF2FileLoader.min.js +1 -1
- package/babylon.glTF2FileLoader.min.js.map +1 -1
- package/babylon.glTFFileLoader.js +106 -23
- package/babylon.glTFFileLoader.min.js +1 -1
- package/babylon.glTFFileLoader.min.js.map +1 -1
- package/babylon.objFileLoader.js +14 -1
- package/babylon.objFileLoader.min.js +1 -1
- package/babylon.objFileLoader.min.js.map +1 -1
- package/babylonjs.loaders.d.ts +41 -0
- package/babylonjs.loaders.js +119 -23
- package/babylonjs.loaders.min.js +1 -1
- package/babylonjs.loaders.min.js.map +1 -1
- package/babylonjs.loaders.module.d.ts +83 -0
- package/package.json +3 -3
package/babylonjs.loaders.d.ts
CHANGED
|
@@ -999,6 +999,9 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
999
999
|
attenuationDistance: MaterialAnimationPropertyInfo[];
|
|
1000
1000
|
thicknessFactor: MaterialAnimationPropertyInfo[];
|
|
1001
1001
|
};
|
|
1002
|
+
KHR_materials_dispersion: {
|
|
1003
|
+
dispersion: MaterialAnimationPropertyInfo[];
|
|
1004
|
+
};
|
|
1002
1005
|
KHR_materials_iridescence: {
|
|
1003
1006
|
iridescenceFactor: MaterialAnimationPropertyInfo[];
|
|
1004
1007
|
iridescenceIor: MaterialAnimationPropertyInfo[];
|
|
@@ -1199,6 +1202,44 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
1199
1202
|
|
|
1200
1203
|
|
|
1201
1204
|
|
|
1205
|
+
}
|
|
1206
|
+
declare module BABYLON {
|
|
1207
|
+
|
|
1208
|
+
}
|
|
1209
|
+
declare module BABYLON.GLTF2.Loader.Extensions {
|
|
1210
|
+
/**
|
|
1211
|
+
* [Specification](https://github.com/KhronosGroup/glTF/blob/87bd64a7f5e23c84b6aef2e6082069583ed0ddb4/extensions/2.0/Khronos/KHR_materials_dispersion/README.md)
|
|
1212
|
+
* @experimental
|
|
1213
|
+
*/
|
|
1214
|
+
export class KHR_materials_dispersion implements BABYLON.GLTF2.IGLTFLoaderExtension {
|
|
1215
|
+
/**
|
|
1216
|
+
* The name of this extension.
|
|
1217
|
+
*/
|
|
1218
|
+
readonly name = "KHR_materials_dispersion";
|
|
1219
|
+
/**
|
|
1220
|
+
* Defines whether this extension is enabled.
|
|
1221
|
+
*/
|
|
1222
|
+
enabled: boolean;
|
|
1223
|
+
/**
|
|
1224
|
+
* Defines a number that determines the order the extensions are applied.
|
|
1225
|
+
*/
|
|
1226
|
+
order: number;
|
|
1227
|
+
private _loader;
|
|
1228
|
+
/**
|
|
1229
|
+
* @internal
|
|
1230
|
+
*/
|
|
1231
|
+
constructor(loader: BABYLON.GLTF2.GLTFLoader);
|
|
1232
|
+
/** @internal */
|
|
1233
|
+
dispose(): void;
|
|
1234
|
+
/**
|
|
1235
|
+
* @internal
|
|
1236
|
+
*/
|
|
1237
|
+
loadMaterialPropertiesAsync(context: string, material: BABYLON.GLTF2.Loader.IMaterial, babylonMaterial: Material): Nullable<Promise<void>>;
|
|
1238
|
+
private _loadDispersionPropertiesAsync;
|
|
1239
|
+
}
|
|
1240
|
+
|
|
1241
|
+
|
|
1242
|
+
|
|
1202
1243
|
}
|
|
1203
1244
|
declare module BABYLON {
|
|
1204
1245
|
|