@babylonjs/node-render-graph-editor 8.6.0 → 8.6.2
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.
|
@@ -118,8 +118,8 @@ export class GraphEditor extends React.Component<IGraphEditorProps, IGraphEditor
|
|
|
118
118
|
handleClosingPopUp: () => void;
|
|
119
119
|
initiatePreviewArea: (canvas?: HTMLCanvasElement) => void;
|
|
120
120
|
createPopUp: () => void;
|
|
121
|
-
|
|
122
|
-
|
|
121
|
+
createPreviewMeshControlHostAsync: (options: IInternalPreviewAreaOptions, parentControl: Nullable<HTMLElement>) => Promise<unknown>;
|
|
122
|
+
createPreviewHostAsync: (options: IInternalPreviewAreaOptions, parentControl: Nullable<HTMLElement>) => Promise<unknown>;
|
|
123
123
|
fixPopUpStyles: (document: Document) => void;
|
|
124
124
|
|
|
125
125
|
}
|
|
@@ -786,6 +786,7 @@ import { PreviewType } from "@babylonjs/node-render-graph-editor/components/prev
|
|
|
786
786
|
interface IPreviewMeshControlComponent {
|
|
787
787
|
globalState: GlobalState;
|
|
788
788
|
togglePreviewAreaComponent: () => void;
|
|
789
|
+
onMounted?: () => void;
|
|
789
790
|
}
|
|
790
791
|
export class PreviewMeshControlComponent extends React.Component<IPreviewMeshControlComponent> {
|
|
791
792
|
private _filePickerRef;
|
|
@@ -795,6 +796,7 @@ export class PreviewMeshControlComponent extends React.Component<IPreviewMeshCon
|
|
|
795
796
|
private _onRefreshPreviewMeshControlComponentRequiredObserver;
|
|
796
797
|
constructor(props: IPreviewMeshControlComponent);
|
|
797
798
|
componentWillUnmount(): void;
|
|
799
|
+
componentDidMount(): void;
|
|
798
800
|
changeMeshType(newOne: PreviewType): void;
|
|
799
801
|
useCustomMesh(evt: any): void;
|
|
800
802
|
useCustomEnv(evt: any): void;
|
|
@@ -845,6 +847,7 @@ import * as React from "react";
|
|
|
845
847
|
import { GlobalState } from "@babylonjs/node-render-graph-editor/globalState";
|
|
846
848
|
interface IPreviewAreaComponentProps {
|
|
847
849
|
globalState: GlobalState;
|
|
850
|
+
onMounted?: () => void;
|
|
848
851
|
}
|
|
849
852
|
export class PreviewAreaComponent extends React.Component<IPreviewAreaComponentProps, {
|
|
850
853
|
isLoading: boolean;
|
|
@@ -853,6 +856,7 @@ export class PreviewAreaComponent extends React.Component<IPreviewAreaComponentP
|
|
|
853
856
|
private _onResetRequiredObserver;
|
|
854
857
|
constructor(props: IPreviewAreaComponentProps);
|
|
855
858
|
componentWillUnmount(): void;
|
|
859
|
+
componentDidMount(): void;
|
|
856
860
|
_onPointerOverCanvas: () => void;
|
|
857
861
|
_onPointerOutCanvas: () => void;
|
|
858
862
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@babylonjs/node-render-graph-editor",
|
|
3
|
-
"version": "8.6.
|
|
3
|
+
"version": "8.6.2",
|
|
4
4
|
"main": "dist/babylon.nodeRenderGraphEditor.max.js",
|
|
5
5
|
"module": "dist/babylon.nodeRenderGraphEditor.max.js",
|
|
6
6
|
"esnext": "dist/babylon.nodeRenderGraphEditor.max.js",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"@types/react-dom": ">=16.0.9"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@babylonjs/core": "^8.6.
|
|
26
|
+
"@babylonjs/core": "^8.6.2",
|
|
27
27
|
"react": "^18.2.0",
|
|
28
28
|
"react-dom": "^18.2.0"
|
|
29
29
|
},
|