@babylonjs/node-editor 8.6.1 → 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.
@@ -116,8 +116,8 @@ export class GraphEditor extends React.Component<IGraphEditorProps, IGraphEditor
|
|
116
116
|
handleClosingPopUp: () => void;
|
117
117
|
initiatePreviewArea: (canvas?: HTMLCanvasElement) => void;
|
118
118
|
createPopUp: () => void;
|
119
|
-
|
120
|
-
|
119
|
+
createPreviewMeshControlHostAsync: (options: IInternalPreviewAreaOptions, parentControl: Nullable<HTMLElement>) => Promise<unknown>;
|
120
|
+
createPreviewHostAsync: (options: IInternalPreviewAreaOptions, parentControl: Nullable<HTMLElement>) => Promise<unknown>;
|
121
121
|
fixPopUpStyles: (document: Document) => void;
|
122
122
|
|
123
123
|
}
|
@@ -1193,6 +1193,7 @@ import { PreviewType } from "@babylonjs/node-editor/components/preview/previewTy
|
|
1193
1193
|
interface IPreviewMeshControlComponent {
|
1194
1194
|
globalState: GlobalState;
|
1195
1195
|
togglePreviewAreaComponent: () => void;
|
1196
|
+
onMounted?: () => void;
|
1196
1197
|
}
|
1197
1198
|
export class PreviewMeshControlComponent extends React.Component<IPreviewMeshControlComponent> {
|
1198
1199
|
private _colorInputRef;
|
@@ -1203,6 +1204,7 @@ export class PreviewMeshControlComponent extends React.Component<IPreviewMeshCon
|
|
1203
1204
|
private _onRefreshPreviewMeshControlComponentRequiredObserver;
|
1204
1205
|
constructor(props: IPreviewMeshControlComponent);
|
1205
1206
|
componentWillUnmount(): void;
|
1207
|
+
componentDidMount(): void;
|
1206
1208
|
changeMeshType(newOne: PreviewType): void;
|
1207
1209
|
useCustomMesh(evt: any): void;
|
1208
1210
|
useCustomEnv(evt: any): void;
|
@@ -1274,6 +1276,7 @@ import * as React from "react";
|
|
1274
1276
|
import { GlobalState } from "@babylonjs/node-editor/globalState";
|
1275
1277
|
interface IPreviewAreaComponentProps {
|
1276
1278
|
globalState: GlobalState;
|
1279
|
+
onMounted?: () => void;
|
1277
1280
|
}
|
1278
1281
|
export class PreviewAreaComponent extends React.Component<IPreviewAreaComponentProps, {
|
1279
1282
|
isLoading: boolean;
|
@@ -1282,6 +1285,7 @@ export class PreviewAreaComponent extends React.Component<IPreviewAreaComponentP
|
|
1282
1285
|
private _onResetRequiredObserver;
|
1283
1286
|
private _consoleRef;
|
1284
1287
|
constructor(props: IPreviewAreaComponentProps);
|
1288
|
+
componentDidMount(): void;
|
1285
1289
|
componentWillUnmount(): void;
|
1286
1290
|
changeBackFaceCulling(value: boolean): void;
|
1287
1291
|
changeDepthPrePass(value: boolean): void;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@babylonjs/node-editor",
|
3
|
-
"version": "8.6.
|
3
|
+
"version": "8.6.2",
|
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": "^8.6.
|
26
|
+
"@babylonjs/core": "^8.6.2",
|
27
27
|
"react": "^18.2.0",
|
28
28
|
"react-dom": "^18.2.0"
|
29
29
|
},
|