babylonjs-loaders 8.6.1 → 8.6.2
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 +136 -40
- package/babylon.glTF2FileLoader.min.js +1 -1
- package/babylon.glTF2FileLoader.min.js.map +1 -1
- package/babylon.glTFFileLoader.js +136 -40
- package/babylon.glTFFileLoader.min.js +1 -1
- package/babylon.glTFFileLoader.min.js.map +1 -1
- package/babylonjs.loaders.d.ts +46 -1
- package/babylonjs.loaders.js +136 -40
- package/babylonjs.loaders.min.js +1 -1
- package/babylonjs.loaders.min.js.map +1 -1
- package/babylonjs.loaders.module.d.ts +97 -2
- package/package.json +3 -3
package/babylonjs.loaders.d.ts
CHANGED
|
@@ -3348,6 +3348,50 @@ declare module BABYLON {
|
|
|
3348
3348
|
["EXT_mesh_gpu_instancing"]: {};
|
|
3349
3349
|
}
|
|
3350
3350
|
|
|
3351
|
+
}
|
|
3352
|
+
declare module BABYLON.GLTF2.Loader.Extensions {
|
|
3353
|
+
/**
|
|
3354
|
+
* [Specification](https://github.com/KhronosGroup/glTF/blob/fdee35425ae560ea378092e38977216d63a094ec/extensions/2.0/Khronos/EXT_materials_diffuse_roughness/README.md)
|
|
3355
|
+
* @experimental
|
|
3356
|
+
*/
|
|
3357
|
+
export class EXT_materials_diffuse_roughness implements BABYLON.GLTF2.IGLTFLoaderExtension {
|
|
3358
|
+
/**
|
|
3359
|
+
* The name of this extension.
|
|
3360
|
+
*/
|
|
3361
|
+
readonly name = "EXT_materials_diffuse_roughness";
|
|
3362
|
+
/**
|
|
3363
|
+
* Defines whether this extension is enabled.
|
|
3364
|
+
*/
|
|
3365
|
+
enabled: boolean;
|
|
3366
|
+
/**
|
|
3367
|
+
* Defines a number that determines the order the extensions are applied.
|
|
3368
|
+
*/
|
|
3369
|
+
order: number;
|
|
3370
|
+
private _loader;
|
|
3371
|
+
/**
|
|
3372
|
+
* @internal
|
|
3373
|
+
*/
|
|
3374
|
+
constructor(loader: BABYLON.GLTF2.GLTFLoader);
|
|
3375
|
+
/** @internal */
|
|
3376
|
+
dispose(): void;
|
|
3377
|
+
/**
|
|
3378
|
+
* @internal
|
|
3379
|
+
*/
|
|
3380
|
+
loadMaterialPropertiesAsync(context: string, material: BABYLON.GLTF2.Loader.IMaterial, babylonMaterial: Material): Nullable<Promise<void>>;
|
|
3381
|
+
private _loadDiffuseRoughnessPropertiesAsync;
|
|
3382
|
+
}
|
|
3383
|
+
|
|
3384
|
+
|
|
3385
|
+
|
|
3386
|
+
}
|
|
3387
|
+
declare module BABYLON {
|
|
3388
|
+
interface GLTFLoaderExtensionOptions {
|
|
3389
|
+
/**
|
|
3390
|
+
* Defines options for the EXT_materials_diffuse_roughness extension.
|
|
3391
|
+
*/
|
|
3392
|
+
["EXT_materials_diffuse_roughness"]: {};
|
|
3393
|
+
}
|
|
3394
|
+
|
|
3351
3395
|
}
|
|
3352
3396
|
declare module BABYLON.GLTF2.Loader.Extensions {
|
|
3353
3397
|
/** @internal */
|
|
@@ -5187,10 +5231,11 @@ declare module BABYLON {
|
|
|
5187
5231
|
* Reads a BVH file, returns a skeleton
|
|
5188
5232
|
* @param text - The BVH file content
|
|
5189
5233
|
* @param scene - The scene to add the skeleton to
|
|
5234
|
+
* @param assetContainer - The asset container to add the skeleton to
|
|
5190
5235
|
* @param loadingOptions - The loading options
|
|
5191
5236
|
* @returns The skeleton
|
|
5192
5237
|
*/
|
|
5193
|
-
export function ReadBvh(text: string, scene: Scene, loadingOptions: BVHLoadingOptions): Skeleton;
|
|
5238
|
+
export function ReadBvh(text: string, scene: Scene, assetContainer: Nullable<AssetContainer>, loadingOptions: BVHLoadingOptions): Skeleton;
|
|
5194
5239
|
|
|
5195
5240
|
|
|
5196
5241
|
export var BVHFileLoaderMetadata: {
|