babylonjs-loaders 8.9.1 → 8.10.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/babylon.glTF2FileLoader.js +26 -16
- package/babylon.glTF2FileLoader.min.js +1 -1
- package/babylon.glTF2FileLoader.min.js.map +1 -1
- package/babylon.glTFFileLoader.js +26 -16
- package/babylon.glTFFileLoader.min.js +1 -1
- package/babylon.glTFFileLoader.min.js.map +1 -1
- package/babylonjs.loaders.d.ts +4 -4
- package/babylonjs.loaders.js +26 -16
- package/babylonjs.loaders.min.js +1 -1
- package/babylonjs.loaders.min.js.map +1 -1
- package/babylonjs.loaders.module.d.ts +8 -9
- package/package.json +3 -3
|
@@ -3651,7 +3651,6 @@ import { IGLTF } from "babylonjs-loaders/glTF/2.0/glTFLoaderInterfaces";
|
|
|
3651
3651
|
import { IGLTFToFlowGraphMapping } from "babylonjs-loaders/glTF/2.0/Extensions/KHR_interactivity/declarationMapper";
|
|
3652
3652
|
import { ISerializedFlowGraph, ISerializedFlowGraphBlock } from "babylonjs/FlowGraph/typeDefinitions";
|
|
3653
3653
|
import { FlowGraphTypes } from "babylonjs/FlowGraph/flowGraphRichTypes";
|
|
3654
|
-
import { GLTFLoader } from "babylonjs-loaders/glTF/2.0/glTFLoader";
|
|
3655
3654
|
export interface InteractivityEvent {
|
|
3656
3655
|
eventId: string;
|
|
3657
3656
|
eventData?: {
|
|
@@ -3671,7 +3670,7 @@ export const gltfTypeToBabylonType: {
|
|
|
3671
3670
|
export class InteractivityGraphToFlowGraphParser {
|
|
3672
3671
|
private _interactivityGraph;
|
|
3673
3672
|
private _gltf;
|
|
3674
|
-
|
|
3673
|
+
_animationTargetFps: number;
|
|
3675
3674
|
/**
|
|
3676
3675
|
* Note - the graph should be rejected if the same type is defined twice.
|
|
3677
3676
|
* We currently don't validate that.
|
|
@@ -3682,7 +3681,7 @@ export class InteractivityGraphToFlowGraphParser {
|
|
|
3682
3681
|
private _events;
|
|
3683
3682
|
private _internalEventsCounter;
|
|
3684
3683
|
private _nodes;
|
|
3685
|
-
constructor(_interactivityGraph: IKHRInteractivity_Graph, _gltf: IGLTF,
|
|
3684
|
+
constructor(_interactivityGraph: IKHRInteractivity_Graph, _gltf: IGLTF, _animationTargetFps?: number);
|
|
3686
3685
|
get arrays(): {
|
|
3687
3686
|
types: {
|
|
3688
3687
|
length: number;
|
|
@@ -4002,8 +4001,8 @@ export {};
|
|
|
4002
4001
|
- Normalize (`math/normalize`) FlowGraphBlockNames.Normalize
|
|
4003
4002
|
- Dot Product (`math/dot`) FlowGraphBlockNames.Dot
|
|
4004
4003
|
- Cross Product (`math/cross`) FlowGraphBlockNames.Cross
|
|
4005
|
-
- Rotate 2D (`math/
|
|
4006
|
-
- Rotate 3D (`math/
|
|
4004
|
+
- Rotate 2D (`math/rotate2D`) FlowGraphBlockNames.Rotate2D
|
|
4005
|
+
- Rotate 3D (`math/rotate3D`) FlowGraphBlockNames.Rotate3D
|
|
4007
4006
|
- Transform (`math/transform`) FlowGraphBlockNames.TransformVector
|
|
4008
4007
|
9. **Matrix Nodes**
|
|
4009
4008
|
- Transpose (`math/transpose`) FlowGraphBlockNames.Transpose
|
|
@@ -9104,7 +9103,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
9104
9103
|
export class InteractivityGraphToFlowGraphParser {
|
|
9105
9104
|
private _interactivityGraph;
|
|
9106
9105
|
private _gltf;
|
|
9107
|
-
|
|
9106
|
+
_animationTargetFps: number;
|
|
9108
9107
|
/**
|
|
9109
9108
|
* Note - the graph should be rejected if the same type is defined twice.
|
|
9110
9109
|
* We currently don't validate that.
|
|
@@ -9115,7 +9114,7 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
9115
9114
|
private _events;
|
|
9116
9115
|
private _internalEventsCounter;
|
|
9117
9116
|
private _nodes;
|
|
9118
|
-
constructor(_interactivityGraph: BABYLON.GLTF2.IKHRInteractivity_Graph, _gltf: BABYLON.GLTF2.Loader.IGLTF,
|
|
9117
|
+
constructor(_interactivityGraph: BABYLON.GLTF2.IKHRInteractivity_Graph, _gltf: BABYLON.GLTF2.Loader.IGLTF, _animationTargetFps?: number);
|
|
9119
9118
|
get arrays(): {
|
|
9120
9119
|
types: {
|
|
9121
9120
|
length: number;
|
|
@@ -9437,8 +9436,8 @@ declare module BABYLON.GLTF2.Loader.Extensions {
|
|
|
9437
9436
|
- Normalize (`math/normalize`) FlowGraphBlockNames.Normalize
|
|
9438
9437
|
- Dot Product (`math/dot`) FlowGraphBlockNames.Dot
|
|
9439
9438
|
- Cross Product (`math/cross`) FlowGraphBlockNames.Cross
|
|
9440
|
-
- Rotate 2D (`math/
|
|
9441
|
-
- Rotate 3D (`math/
|
|
9439
|
+
- Rotate 2D (`math/rotate2D`) FlowGraphBlockNames.Rotate2D
|
|
9440
|
+
- Rotate 3D (`math/rotate3D`) FlowGraphBlockNames.Rotate3D
|
|
9442
9441
|
- Transform (`math/transform`) FlowGraphBlockNames.TransformVector
|
|
9443
9442
|
9. **Matrix Nodes**
|
|
9444
9443
|
- Transpose (`math/transpose`) FlowGraphBlockNames.Transpose
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "babylonjs-loaders",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.10.1",
|
|
4
4
|
"main": "babylonjs.loaders.js",
|
|
5
5
|
"types": "babylonjs.loaders.module.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
"test:escheck": "es-check es6 ./babylonjs.loaders.js"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"babylonjs": "^8.
|
|
19
|
-
"babylonjs-gltf2interface": "^8.
|
|
18
|
+
"babylonjs": "^8.10.1",
|
|
19
|
+
"babylonjs-gltf2interface": "^8.10.1"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@dev/build-tools": "1.0.0",
|