@babylonjs/node-editor 7.47.1 → 7.47.3
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.
@@ -137,7 +137,8 @@ import { Nullable } from "@babylonjs/core/types";
|
|
137
137
|
import { LockObject } from "@babylonjs/node-editor/tabs/propertyGrids/lockObject";
|
138
138
|
import { StateManager } from "@babylonjs/node-editor/nodeGraphSystem/stateManager";
|
139
139
|
import { FilesInput } from "@babylonjs/core/Misc/filesInput";
|
140
|
-
import {
|
140
|
+
import { RenderTargetTexture } from "@babylonjs/core/Materials/Textures/renderTargetTexture";
|
141
|
+
import { NodeMaterialDebugBlock } from "@babylonjs/core/Materials/Node/Blocks/debugBlock";
|
141
142
|
export class GlobalState {
|
142
143
|
hostElement: HTMLElement;
|
143
144
|
hostDocument: Document;
|
@@ -181,9 +182,11 @@ export class GlobalState {
|
|
181
182
|
pointerOverCanvas: boolean;
|
182
183
|
filesInput: FilesInput;
|
183
184
|
onRefreshPreviewMeshControlComponentRequiredObservable: Observable<void>;
|
184
|
-
previewTexture: Nullable<
|
185
|
+
previewTexture: Nullable<RenderTargetTexture>;
|
186
|
+
pickingTexture: Nullable<RenderTargetTexture>;
|
185
187
|
onPreviewSceneAfterRenderObservable: Observable<void>;
|
186
188
|
onPreviewUpdatedObservable: Observable<NodeMaterial>;
|
189
|
+
debugBlocksToRefresh: NodeMaterialDebugBlock[];
|
187
190
|
/** Gets the mode */
|
188
191
|
get mode(): NodeMaterialModes;
|
189
192
|
/** Sets the mode */
|
@@ -727,6 +730,15 @@ export class FrameNodePortPropertyTabComponent extends React.Component<IFrameNod
|
|
727
730
|
|
728
731
|
}
|
729
732
|
|
733
|
+
}
|
734
|
+
declare module "@babylonjs/node-editor/graphSystem/properties/debugNodePropertyTabComponent" {
|
735
|
+
import * as React from "react";
|
736
|
+
import { IPropertyComponentProps } from "@babylonjs/node-editor/nodeGraphSystem/interfaces/propertyComponentProps";
|
737
|
+
export class DebugNodePropertyTabComponent extends React.Component<IPropertyComponentProps> {
|
738
|
+
refreshAll(): void;
|
739
|
+
|
740
|
+
}
|
741
|
+
|
730
742
|
}
|
731
743
|
declare module "@babylonjs/node-editor/graphSystem/properties/colorMergerPropertyComponent" {
|
732
744
|
import * as React from "react";
|
@@ -934,6 +946,7 @@ import { StateManager } from "@babylonjs/node-editor/nodeGraphSystem/stateManage
|
|
934
946
|
export class DebugDisplayManager implements IDisplayManager {
|
935
947
|
private _previewCanvas;
|
936
948
|
private _previewImage;
|
949
|
+
private _onPreviewSceneAfterRenderObserver;
|
937
950
|
getHeaderClass(): string;
|
938
951
|
shouldDisplayPortLabels(): boolean;
|
939
952
|
getHeaderText(nodeData: INodeData): string;
|
@@ -1271,6 +1284,7 @@ export class PreviewAreaComponent extends React.Component<IPreviewAreaComponentP
|
|
1271
1284
|
}> {
|
1272
1285
|
private _onIsLoadingChangedObserver;
|
1273
1286
|
private _onResetRequiredObserver;
|
1287
|
+
private _consoleRef;
|
1274
1288
|
constructor(props: IPreviewAreaComponentProps);
|
1275
1289
|
componentWillUnmount(): void;
|
1276
1290
|
changeBackFaceCulling(value: boolean): void;
|
@@ -1278,6 +1292,8 @@ export class PreviewAreaComponent extends React.Component<IPreviewAreaComponentP
|
|
1278
1292
|
_onPointerOverCanvas: () => void;
|
1279
1293
|
_onPointerOutCanvas: () => void;
|
1280
1294
|
changeParticleSystemBlendMode(newOne: number): void;
|
1295
|
+
processPointerMove(e: React.PointerEvent<HTMLCanvasElement>): Promise<void>;
|
1296
|
+
onKeyUp(e: React.KeyboardEvent<HTMLCanvasElement>): void;
|
1281
1297
|
|
1282
1298
|
}
|
1283
1299
|
export {};
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@babylonjs/node-editor",
|
3
|
-
"version": "7.47.
|
3
|
+
"version": "7.47.3",
|
4
4
|
"main": "dist/babylon.nodeEditor.max.js",
|
5
5
|
"module": "dist/babylon.nodeEditor.max.js",
|
6
6
|
"esnext": "dist/babylon.nodeEditor.max.js",
|
@@ -23,7 +23,7 @@
|
|
23
23
|
"@types/react-dom": ">=16.0.9"
|
24
24
|
},
|
25
25
|
"devDependencies": {
|
26
|
-
"@babylonjs/core": "^7.47.
|
26
|
+
"@babylonjs/core": "^7.47.3",
|
27
27
|
"react": "^17.0.2",
|
28
28
|
"react-dom": "^17.0.2"
|
29
29
|
},
|