babylonjs-node-editor 6.7.0 → 6.8.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.
|
@@ -1123,6 +1123,7 @@ export * from "babylonjs-node-editor/index";
|
|
|
1123
1123
|
declare module "babylonjs-node-editor/nodeEditor" {
|
|
1124
1124
|
import { NodeMaterial } from "babylonjs/Materials/Node/nodeMaterial";
|
|
1125
1125
|
import { Observable } from "babylonjs/Misc/observable";
|
|
1126
|
+
import { Color4 } from "babylonjs/Maths/math.color";
|
|
1126
1127
|
/**
|
|
1127
1128
|
* Interface used to specify creation options for the node editor
|
|
1128
1129
|
*/
|
|
@@ -1134,6 +1135,7 @@ export interface INodeEditorOptions {
|
|
|
1134
1135
|
action: (data: string) => Promise<void>;
|
|
1135
1136
|
};
|
|
1136
1137
|
customLoadObservable?: Observable<any>;
|
|
1138
|
+
backgroundColor?: Color4;
|
|
1137
1139
|
}
|
|
1138
1140
|
/**
|
|
1139
1141
|
* Class used to create a node editor
|
|
@@ -5137,6 +5139,7 @@ declare module BABYLON.NodeEditor {
|
|
|
5137
5139
|
action: (data: string) => Promise<void>;
|
|
5138
5140
|
};
|
|
5139
5141
|
customLoadObservable?: BABYLON.Observable<any>;
|
|
5142
|
+
backgroundColor?: BABYLON.Color4;
|
|
5140
5143
|
}
|
|
5141
5144
|
/**
|
|
5142
5145
|
* Class used to create a node editor
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "babylonjs-node-editor",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.8.1",
|
|
4
4
|
"main": "babylon.nodeEditor.js",
|
|
5
5
|
"types": "babylon.nodeEditor.module.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"clean": "rimraf dist && rimraf babylon*.*"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"babylonjs": "^6.
|
|
17
|
+
"babylonjs": "^6.8.1"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@dev/build-tools": "1.0.0",
|
|
@@ -26,11 +26,9 @@
|
|
|
26
26
|
"react": "^17.0.2",
|
|
27
27
|
"react-contextmenu": "RaananW/react-contextmenu",
|
|
28
28
|
"react-dom": "^17.0.2",
|
|
29
|
-
"rimraf": "^3.0.2",
|
|
30
29
|
"sass-loader": "^13.0.0",
|
|
31
30
|
"source-map-loader": "^4.0.0",
|
|
32
31
|
"ts-loader": "^9.2.6",
|
|
33
|
-
"typescript": "^4.4.4",
|
|
34
32
|
"webpack": "^5.73.0",
|
|
35
33
|
"webpack-cli": "^5.1.0",
|
|
36
34
|
"webpack-merge": "^5.8.0"
|