babylonjs-node-editor 7.23.0 → 7.23.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.nodeEditor.d.ts
CHANGED
|
@@ -106,7 +106,6 @@ declare module BABYLON.NodeEditor {
|
|
|
106
106
|
|
|
107
107
|
|
|
108
108
|
export class GlobalState {
|
|
109
|
-
nodeMaterial: BABYLON.NodeMaterial;
|
|
110
109
|
hostElement: HTMLElement;
|
|
111
110
|
hostDocument: Document;
|
|
112
111
|
hostWindow: Window;
|
|
@@ -157,6 +156,15 @@ declare module BABYLON.NodeEditor {
|
|
|
157
156
|
get engine(): number;
|
|
158
157
|
/** Sets the engine */
|
|
159
158
|
set engine(e: number);
|
|
159
|
+
private _nodeMaterial;
|
|
160
|
+
/**
|
|
161
|
+
* Gets the current node material
|
|
162
|
+
*/
|
|
163
|
+
get nodeMaterial(): BABYLON.NodeMaterial;
|
|
164
|
+
/**
|
|
165
|
+
* Sets the current node material
|
|
166
|
+
*/
|
|
167
|
+
set nodeMaterial(nodeMaterial: BABYLON.NodeMaterial);
|
|
160
168
|
customSave?: {
|
|
161
169
|
label: string;
|
|
162
170
|
action: (data: string) => Promise<void>;
|