@babylonjs/loaders 8.1.1 → 8.2.1
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/OBJ/index.d.ts +4 -4
- package/OBJ/objFileLoader.d.ts +2 -2
- package/OBJ/solidParser.d.ts +1 -1
- package/SPLAT/index.d.ts +2 -2
- package/SPLAT/splatFileLoader.d.ts +2 -2
- package/SPLAT/splatFileLoader.js +2 -2
- package/SPLAT/splatFileLoader.js.map +1 -1
- package/STL/index.d.ts +1 -1
- package/STL/stlFileLoader.d.ts +1 -1
- package/glTF/1.0/glTFBinaryExtension.d.ts +3 -3
- package/glTF/1.0/glTFLoader.d.ts +2 -2
- package/glTF/1.0/glTFLoaderUtils.d.ts +2 -2
- package/glTF/1.0/glTFMaterialsCommonExtension.d.ts +2 -2
- package/glTF/1.0/index.d.ts +5 -5
- package/glTF/2.0/Extensions/EXT_lights_ies.d.ts +4 -4
- package/glTF/2.0/Extensions/EXT_lights_image_based.d.ts +4 -4
- package/glTF/2.0/Extensions/EXT_mesh_gpu_instancing.d.ts +4 -4
- package/glTF/2.0/Extensions/EXT_meshopt_compression.d.ts +4 -4
- package/glTF/2.0/Extensions/EXT_texture_avif.d.ts +4 -4
- package/glTF/2.0/Extensions/EXT_texture_webp.d.ts +4 -4
- package/glTF/2.0/Extensions/ExtrasAsMetadata.d.ts +4 -4
- package/glTF/2.0/Extensions/KHR_animation_pointer.d.ts +5 -5
- package/glTF/2.0/Extensions/KHR_draco_mesh_compression.d.ts +4 -4
- package/glTF/2.0/Extensions/KHR_interactivity/declarationMapper.d.ts +6 -3
- package/glTF/2.0/Extensions/KHR_interactivity/declarationMapper.js +46 -24
- package/glTF/2.0/Extensions/KHR_interactivity/declarationMapper.js.map +1 -1
- package/glTF/2.0/Extensions/KHR_interactivity/flowGraphGLTFDataProvider.d.ts +1 -1
- package/glTF/2.0/Extensions/KHR_interactivity/index.d.ts +3 -3
- package/glTF/2.0/Extensions/KHR_interactivity/interactivityGraphParser.d.ts +3 -3
- package/glTF/2.0/Extensions/KHR_interactivity/interactivityGraphParser.js +7 -2
- package/glTF/2.0/Extensions/KHR_interactivity/interactivityGraphParser.js.map +1 -1
- package/glTF/2.0/Extensions/KHR_interactivity.d.ts +3 -3
- package/glTF/2.0/Extensions/KHR_lights_punctual.d.ts +4 -4
- package/glTF/2.0/Extensions/KHR_materials_anisotropy.d.ts +4 -4
- package/glTF/2.0/Extensions/KHR_materials_clearcoat.d.ts +4 -4
- package/glTF/2.0/Extensions/KHR_materials_diffuse_transmission.d.ts +4 -4
- package/glTF/2.0/Extensions/KHR_materials_dispersion.d.ts +4 -4
- package/glTF/2.0/Extensions/KHR_materials_emissive_strength.d.ts +4 -4
- package/glTF/2.0/Extensions/KHR_materials_ior.d.ts +4 -4
- package/glTF/2.0/Extensions/KHR_materials_iridescence.d.ts +4 -4
- package/glTF/2.0/Extensions/KHR_materials_pbrSpecularGlossiness.d.ts +4 -4
- package/glTF/2.0/Extensions/KHR_materials_sheen.d.ts +4 -4
- package/glTF/2.0/Extensions/KHR_materials_specular.d.ts +4 -4
- package/glTF/2.0/Extensions/KHR_materials_transmission.d.ts +4 -4
- package/glTF/2.0/Extensions/KHR_materials_transmission.js +1 -1
- package/glTF/2.0/Extensions/KHR_materials_transmission.js.map +1 -1
- package/glTF/2.0/Extensions/KHR_materials_unlit.d.ts +4 -4
- package/glTF/2.0/Extensions/KHR_materials_variants.d.ts +5 -5
- package/glTF/2.0/Extensions/KHR_materials_volume.d.ts +4 -4
- package/glTF/2.0/Extensions/KHR_mesh_quantization.d.ts +3 -3
- package/glTF/2.0/Extensions/KHR_node_hoverability.d.ts +3 -3
- package/glTF/2.0/Extensions/KHR_node_selectability.d.ts +3 -3
- package/glTF/2.0/Extensions/KHR_node_visibility.d.ts +3 -3
- package/glTF/2.0/Extensions/KHR_texture_basisu.d.ts +4 -4
- package/glTF/2.0/Extensions/KHR_texture_transform.d.ts +4 -4
- package/glTF/2.0/Extensions/KHR_xmp_json_ld.d.ts +3 -3
- package/glTF/2.0/Extensions/MSFT_audio_emitter.d.ts +4 -4
- package/glTF/2.0/Extensions/MSFT_lod.d.ts +4 -4
- package/glTF/2.0/Extensions/MSFT_minecraftMesh.d.ts +4 -4
- package/glTF/2.0/Extensions/MSFT_sRGBFactors.d.ts +4 -4
- package/glTF/2.0/Extensions/gltfPathToObjectConverter.d.ts +9 -1
- package/glTF/2.0/Extensions/gltfPathToObjectConverter.js +17 -2
- package/glTF/2.0/Extensions/gltfPathToObjectConverter.js.map +1 -1
- package/glTF/2.0/Extensions/index.d.ts +38 -38
- package/glTF/2.0/Extensions/objectModelMapping.d.ts +2 -2
- package/glTF/2.0/glTFLoader.d.ts +5 -5
- package/glTF/2.0/glTFLoader.js +2 -2
- package/glTF/2.0/glTFLoader.js.map +1 -1
- package/glTF/2.0/glTFLoaderAnimation.d.ts +1 -1
- package/glTF/2.0/glTFLoaderExtension.d.ts +2 -2
- package/glTF/2.0/glTFLoaderExtensionRegistry.d.ts +2 -2
- package/glTF/2.0/index.d.ts +6 -6
- package/glTF/glTFFileLoader.d.ts +1 -1
- package/glTF/index.d.ts +4 -4
- package/index.d.ts +4 -4
- package/legacy/legacy-glTF1FileLoader.d.ts +2 -2
- package/legacy/legacy-glTF2FileLoader.d.ts +2 -2
- package/legacy/legacy-glTFFileLoader.d.ts +3 -3
- package/legacy/legacy.d.ts +5 -5
- package/package.json +3 -3
@@ -1,6 +1,6 @@
|
|
1
1
|
import { Animation } from "@babylonjs/core/Animations/animation.js";
|
2
2
|
import { Quaternion, Vector3 } from "@babylonjs/core/Maths/math.vector.js";
|
3
|
-
import type { INode } from "./glTFLoaderInterfaces";
|
3
|
+
import type { INode } from "./glTFLoaderInterfaces.js";
|
4
4
|
import type { IAnimatable } from "@babylonjs/core/Animations/animatable.interface.js";
|
5
5
|
/** @internal */
|
6
6
|
export type GetValueFn = (target: any, source: Float32Array, offset: number, scale: number) => any;
|
@@ -9,8 +9,8 @@ import type { BaseTexture } from "@babylonjs/core/Materials/Textures/baseTexture
|
|
9
9
|
import type { Mesh } from "@babylonjs/core/Meshes/mesh.js";
|
10
10
|
import type { AbstractMesh } from "@babylonjs/core/Meshes/abstractMesh.js";
|
11
11
|
import type { IDisposable } from "@babylonjs/core/scene.js";
|
12
|
-
import type { IScene, INode, IMesh, ISkin, ICamera, IMeshPrimitive, IMaterial, ITextureInfo, IAnimation, ITexture, IBufferView, IBuffer, IAnimationChannel } from "./glTFLoaderInterfaces";
|
13
|
-
import type { IGLTFLoaderExtension as IGLTFBaseLoaderExtension } from "../glTFFileLoader";
|
12
|
+
import type { IScene, INode, IMesh, ISkin, ICamera, IMeshPrimitive, IMaterial, ITextureInfo, IAnimation, ITexture, IBufferView, IBuffer, IAnimationChannel } from "./glTFLoaderInterfaces.js";
|
13
|
+
import type { IGLTFLoaderExtension as IGLTFBaseLoaderExtension } from "../glTFFileLoader.js";
|
14
14
|
import type { IProperty } from "babylonjs-gltf2interface";
|
15
15
|
import type { IAnimatable } from "@babylonjs/core/Animations/animatable.interface.js";
|
16
16
|
/**
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import type { GLTFLoader } from "./glTFLoader";
|
2
|
-
import type { IGLTFLoaderExtension } from "./glTFLoaderExtension";
|
1
|
+
import type { GLTFLoader } from "./glTFLoader.js";
|
2
|
+
import type { IGLTFLoaderExtension } from "./glTFLoaderExtension.js";
|
3
3
|
interface IRegisteredGLTFExtension {
|
4
4
|
isGLTFExtension: boolean;
|
5
5
|
factory: GLTFExtensionFactory;
|
package/glTF/2.0/index.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
export * from "./glTFLoader";
|
2
|
-
export * from "./glTFLoaderExtension";
|
3
|
-
export * from "./glTFLoaderExtensionRegistry";
|
4
|
-
export * from "./glTFLoaderInterfaces";
|
5
|
-
export * from "./glTFLoaderAnimation";
|
6
|
-
export * from "./Extensions/index";
|
1
|
+
export * from "./glTFLoader.js";
|
2
|
+
export * from "./glTFLoaderExtension.js";
|
3
|
+
export * from "./glTFLoaderExtensionRegistry.js";
|
4
|
+
export * from "./glTFLoaderInterfaces.js";
|
5
|
+
export * from "./glTFLoaderAnimation.js";
|
6
|
+
export * from "./Extensions/index.js";
|
package/glTF/glTFFileLoader.d.ts
CHANGED
@@ -11,7 +11,7 @@ import type { Scene, IDisposable } from "@babylonjs/core/scene.js";
|
|
11
11
|
import type { WebRequest } from "@babylonjs/core/Misc/webRequest.js";
|
12
12
|
import type { IFileRequest } from "@babylonjs/core/Misc/fileRequest.js";
|
13
13
|
import type { IDataBuffer } from "@babylonjs/core/Misc/dataReader.js";
|
14
|
-
import { GLTFFileLoaderMetadata } from "./glTFFileLoader.metadata";
|
14
|
+
import { GLTFFileLoaderMetadata } from "./glTFFileLoader.metadata.js";
|
15
15
|
import type { LoadFileError } from "@babylonjs/core/Misc/fileTools.js";
|
16
16
|
import type { TransformNode } from "@babylonjs/core/Meshes/transformNode.js";
|
17
17
|
/**
|
package/glTF/index.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
export * from "./glTFFileLoader";
|
2
|
-
export * from "./glTFValidation";
|
3
|
-
import * as GLTF1 from "./1.0/index";
|
4
|
-
import * as GLTF2 from "./2.0/index";
|
1
|
+
export * from "./glTFFileLoader.js";
|
2
|
+
export * from "./glTFValidation.js";
|
3
|
+
import * as GLTF1 from "./1.0/index.js";
|
4
|
+
import * as GLTF2 from "./2.0/index.js";
|
5
5
|
export { GLTF1, GLTF2 };
|
package/index.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
export * from "./glTF/index";
|
2
|
-
export * from "./OBJ/index";
|
3
|
-
export * from "./STL/index";
|
4
|
-
export * from "./SPLAT/index";
|
1
|
+
export * from "./glTF/index.js";
|
2
|
+
export * from "./OBJ/index.js";
|
3
|
+
export * from "./STL/index.js";
|
4
|
+
export * from "./SPLAT/index.js";
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export * from "./legacy-glTF";
|
2
|
-
export * from "./legacy-glTF1";
|
1
|
+
export * from "./legacy-glTF.js";
|
2
|
+
export * from "./legacy-glTF1.js";
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export * from "./legacy-glTF";
|
2
|
-
export * from "./legacy-glTF2";
|
1
|
+
export * from "./legacy-glTF.js";
|
2
|
+
export * from "./legacy-glTF2.js";
|
@@ -1,3 +1,3 @@
|
|
1
|
-
export * from "./legacy-glTF";
|
2
|
-
export * from "./legacy-glTF1";
|
3
|
-
export * from "./legacy-glTF2";
|
1
|
+
export * from "./legacy-glTF.js";
|
2
|
+
export * from "./legacy-glTF1.js";
|
3
|
+
export * from "./legacy-glTF2.js";
|
package/legacy/legacy.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
export * from "../index.js";
|
2
|
-
export * from "./legacy-glTF";
|
3
|
-
export * from "./legacy-glTF1";
|
4
|
-
export * from "./legacy-glTF2";
|
5
|
-
export * from "./legacy-objFileLoader";
|
6
|
-
export * from "./legacy-stlFileLoader";
|
2
|
+
export * from "./legacy-glTF.js";
|
3
|
+
export * from "./legacy-glTF1.js";
|
4
|
+
export * from "./legacy-glTF2.js";
|
5
|
+
export * from "./legacy-objFileLoader.js";
|
6
|
+
export * from "./legacy-stlFileLoader.js";
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@babylonjs/loaders",
|
3
|
-
"version": "8.
|
3
|
+
"version": "8.2.1",
|
4
4
|
"main": "index.js",
|
5
5
|
"module": "index.js",
|
6
6
|
"types": "index.d.ts",
|
@@ -18,10 +18,10 @@
|
|
18
18
|
"postcompile": "build-tools -c add-js-to-es6"
|
19
19
|
},
|
20
20
|
"devDependencies": {
|
21
|
-
"@babylonjs/core": "^8.
|
21
|
+
"@babylonjs/core": "^8.2.1",
|
22
22
|
"@dev/build-tools": "^1.0.0",
|
23
23
|
"@lts/loaders": "^1.0.0",
|
24
|
-
"babylonjs-gltf2interface": "^8.
|
24
|
+
"babylonjs-gltf2interface": "^8.2.1"
|
25
25
|
},
|
26
26
|
"peerDependencies": {
|
27
27
|
"@babylonjs/core": "^8.0.0",
|