@babylonjs/node-geometry-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.
|
@@ -120,8 +120,8 @@ export class GraphEditor extends React.Component<IGraphEditorProps, IGraphEditor
|
|
|
120
120
|
handleClosingPopUp: () => void;
|
|
121
121
|
initiatePreviewArea: (canvas?: HTMLCanvasElement) => void;
|
|
122
122
|
createPopUp: () => void;
|
|
123
|
-
|
|
124
|
-
|
|
123
|
+
createPreviewMeshControlHostAsync: (options: IInternalPreviewAreaOptions, parentControl: Nullable<HTMLElement>) => Promise<unknown>;
|
|
124
|
+
createPreviewHostAsync: (options: IInternalPreviewAreaOptions, parentControl: Nullable<HTMLElement>) => Promise<unknown>;
|
|
125
125
|
fixPopUpStyles: (document: Document) => void;
|
|
126
126
|
|
|
127
127
|
}
|
|
@@ -870,6 +870,7 @@ import { GlobalState } from "@babylonjs/node-geometry-editor/globalState";
|
|
|
870
870
|
interface IPreviewMeshControlComponent {
|
|
871
871
|
globalState: GlobalState;
|
|
872
872
|
togglePreviewAreaComponent: () => void;
|
|
873
|
+
onMounted?: () => void;
|
|
873
874
|
}
|
|
874
875
|
interface IPreviewMeshControlComponentState {
|
|
875
876
|
center: boolean;
|
|
@@ -880,6 +881,7 @@ export class PreviewMeshControlComponent extends React.Component<IPreviewMeshCon
|
|
|
880
881
|
private _onRefreshPreviewMeshControlComponentRequiredObserver;
|
|
881
882
|
constructor(props: IPreviewMeshControlComponent);
|
|
882
883
|
componentWillUnmount(): void;
|
|
884
|
+
componentDidMount(): void;
|
|
883
885
|
onPopUp(): void;
|
|
884
886
|
changeAnimation(): void;
|
|
885
887
|
changeBackground(value: string): void;
|
|
@@ -935,6 +937,7 @@ import * as React from "react";
|
|
|
935
937
|
import { GlobalState } from "@babylonjs/node-geometry-editor/globalState";
|
|
936
938
|
interface IPreviewAreaComponentProps {
|
|
937
939
|
globalState: GlobalState;
|
|
940
|
+
onMounted?: () => void;
|
|
938
941
|
}
|
|
939
942
|
export class PreviewAreaComponent extends React.Component<IPreviewAreaComponentProps, {
|
|
940
943
|
isLoading: boolean;
|
|
@@ -943,6 +946,7 @@ export class PreviewAreaComponent extends React.Component<IPreviewAreaComponentP
|
|
|
943
946
|
private _onResetRequiredObserver;
|
|
944
947
|
constructor(props: IPreviewAreaComponentProps);
|
|
945
948
|
componentWillUnmount(): void;
|
|
949
|
+
componentDidMount(): void;
|
|
946
950
|
_onPointerOverCanvas: () => void;
|
|
947
951
|
_onPointerOutCanvas: () => void;
|
|
948
952
|
changeWireframe(): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@babylonjs/node-geometry-editor",
|
|
3
|
-
"version": "8.6.
|
|
3
|
+
"version": "8.6.2",
|
|
4
4
|
"main": "dist/babylon.nodeGeometryEditor.max.js",
|
|
5
5
|
"module": "dist/babylon.nodeGeometryEditor.max.js",
|
|
6
6
|
"esnext": "dist/babylon.nodeGeometryEditor.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
|
},
|