babylonjs-node-editor 8.6.1 → 8.7.0
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/previewTyp
|
|
|
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;
|
|
@@ -4936,8 +4940,8 @@ declare module BABYLON.NodeEditor {
|
|
|
4936
4940
|
handleClosingPopUp: () => void;
|
|
4937
4941
|
initiatePreviewArea: (canvas?: HTMLCanvasElement) => void;
|
|
4938
4942
|
createPopUp: () => void;
|
|
4939
|
-
|
|
4940
|
-
|
|
4943
|
+
createPreviewMeshControlHostAsync: (options: IInternalPreviewAreaOptions, parentControl: BABYLON.Nullable<HTMLElement>) => Promise<unknown>;
|
|
4944
|
+
createPreviewHostAsync: (options: IInternalPreviewAreaOptions, parentControl: BABYLON.Nullable<HTMLElement>) => Promise<unknown>;
|
|
4941
4945
|
fixPopUpStyles: (document: Document) => void;
|
|
4942
4946
|
render(): import("react/jsx-runtime").JSX.Element;
|
|
4943
4947
|
}
|
|
@@ -5657,6 +5661,7 @@ declare module BABYLON.NodeEditor {
|
|
|
5657
5661
|
interface IPreviewMeshControlComponent {
|
|
5658
5662
|
globalState: GlobalState;
|
|
5659
5663
|
togglePreviewAreaComponent: () => void;
|
|
5664
|
+
onMounted?: () => void;
|
|
5660
5665
|
}
|
|
5661
5666
|
export class PreviewMeshControlComponent extends React.Component<IPreviewMeshControlComponent> {
|
|
5662
5667
|
private _colorInputRef;
|
|
@@ -5667,6 +5672,7 @@ declare module BABYLON.NodeEditor {
|
|
|
5667
5672
|
private _onRefreshPreviewMeshControlComponentRequiredObserver;
|
|
5668
5673
|
constructor(props: IPreviewMeshControlComponent);
|
|
5669
5674
|
componentWillUnmount(): void;
|
|
5675
|
+
componentDidMount(): void;
|
|
5670
5676
|
changeMeshType(newOne: PreviewType): void;
|
|
5671
5677
|
useCustomMesh(evt: any): void;
|
|
5672
5678
|
useCustomEnv(evt: any): void;
|
|
@@ -5730,6 +5736,7 @@ declare module BABYLON.NodeEditor {
|
|
|
5730
5736
|
|
|
5731
5737
|
interface IPreviewAreaComponentProps {
|
|
5732
5738
|
globalState: GlobalState;
|
|
5739
|
+
onMounted?: () => void;
|
|
5733
5740
|
}
|
|
5734
5741
|
export class PreviewAreaComponent extends React.Component<IPreviewAreaComponentProps, {
|
|
5735
5742
|
isLoading: boolean;
|
|
@@ -5738,6 +5745,7 @@ declare module BABYLON.NodeEditor {
|
|
|
5738
5745
|
private _onResetRequiredObserver;
|
|
5739
5746
|
private _consoleRef;
|
|
5740
5747
|
constructor(props: IPreviewAreaComponentProps);
|
|
5748
|
+
componentDidMount(): void;
|
|
5741
5749
|
componentWillUnmount(): void;
|
|
5742
5750
|
changeBackFaceCulling(value: boolean): void;
|
|
5743
5751
|
changeDepthPrePass(value: boolean): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "babylonjs-node-editor",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.7.0",
|
|
4
4
|
"main": "babylon.nodeEditor.js",
|
|
5
5
|
"types": "babylon.nodeEditor.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.
|
|
17
|
+
"babylonjs": "^8.7.0"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@dev/build-tools": "1.0.0",
|