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/previ
|
|
|
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
|
|
|
@@ -4500,8 +4504,8 @@ declare module BABYLON.NodeRenderGraphEditor {
|
|
|
4500
4504
|
handleClosingPopUp: () => void;
|
|
4501
4505
|
initiatePreviewArea: (canvas?: HTMLCanvasElement) => void;
|
|
4502
4506
|
createPopUp: () => void;
|
|
4503
|
-
|
|
4504
|
-
|
|
4507
|
+
createPreviewMeshControlHostAsync: (options: IInternalPreviewAreaOptions, parentControl: BABYLON.Nullable<HTMLElement>) => Promise<unknown>;
|
|
4508
|
+
createPreviewHostAsync: (options: IInternalPreviewAreaOptions, parentControl: BABYLON.Nullable<HTMLElement>) => Promise<unknown>;
|
|
4505
4509
|
fixPopUpStyles: (document: Document) => void;
|
|
4506
4510
|
render(): import("react/jsx-runtime").JSX.Element;
|
|
4507
4511
|
}
|
|
@@ -4993,6 +4997,7 @@ declare module BABYLON.NodeRenderGraphEditor {
|
|
|
4993
4997
|
interface IPreviewMeshControlComponent {
|
|
4994
4998
|
globalState: GlobalState;
|
|
4995
4999
|
togglePreviewAreaComponent: () => void;
|
|
5000
|
+
onMounted?: () => void;
|
|
4996
5001
|
}
|
|
4997
5002
|
export class PreviewMeshControlComponent extends React.Component<IPreviewMeshControlComponent> {
|
|
4998
5003
|
private _filePickerRef;
|
|
@@ -5002,6 +5007,7 @@ declare module BABYLON.NodeRenderGraphEditor {
|
|
|
5002
5007
|
private _onRefreshPreviewMeshControlComponentRequiredObserver;
|
|
5003
5008
|
constructor(props: IPreviewMeshControlComponent);
|
|
5004
5009
|
componentWillUnmount(): void;
|
|
5010
|
+
componentDidMount(): void;
|
|
5005
5011
|
changeMeshType(newOne: PreviewType): void;
|
|
5006
5012
|
useCustomMesh(evt: any): void;
|
|
5007
5013
|
useCustomEnv(evt: any): void;
|
|
@@ -5046,6 +5052,7 @@ declare module BABYLON.NodeRenderGraphEditor {
|
|
|
5046
5052
|
|
|
5047
5053
|
interface IPreviewAreaComponentProps {
|
|
5048
5054
|
globalState: GlobalState;
|
|
5055
|
+
onMounted?: () => void;
|
|
5049
5056
|
}
|
|
5050
5057
|
export class PreviewAreaComponent extends React.Component<IPreviewAreaComponentProps, {
|
|
5051
5058
|
isLoading: boolean;
|
|
@@ -5054,6 +5061,7 @@ declare module BABYLON.NodeRenderGraphEditor {
|
|
|
5054
5061
|
private _onResetRequiredObserver;
|
|
5055
5062
|
constructor(props: IPreviewAreaComponentProps);
|
|
5056
5063
|
componentWillUnmount(): void;
|
|
5064
|
+
componentDidMount(): void;
|
|
5057
5065
|
_onPointerOverCanvas: () => void;
|
|
5058
5066
|
_onPointerOutCanvas: () => void;
|
|
5059
5067
|
render(): import("react/jsx-runtime").JSX.Element;
|
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": "babylon.nodeRenderGraphEditor.js",
|
|
5
5
|
"types": "babylon.nodeRenderGraphEditor.module.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"clean": "rimraf dist && rimraf babylon*.* -g"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"babylonjs": "^8.6.
|
|
17
|
+
"babylonjs": "^8.6.2"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@dev/build-tools": "1.0.0",
|