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.
|
@@ -93,8 +93,8 @@ declare module BABYLON.NodeRenderGraphEditor {
|
|
|
93
93
|
handleClosingPopUp: () => void;
|
|
94
94
|
initiatePreviewArea: (canvas?: HTMLCanvasElement) => void;
|
|
95
95
|
createPopUp: () => void;
|
|
96
|
-
|
|
97
|
-
|
|
96
|
+
createPreviewMeshControlHostAsync: (options: IInternalPreviewAreaOptions, parentControl: BABYLON.Nullable<HTMLElement>) => Promise<unknown>;
|
|
97
|
+
createPreviewHostAsync: (options: IInternalPreviewAreaOptions, parentControl: BABYLON.Nullable<HTMLElement>) => Promise<unknown>;
|
|
98
98
|
fixPopUpStyles: (document: Document) => void;
|
|
99
99
|
render(): import("react/jsx-runtime").JSX.Element;
|
|
100
100
|
}
|
|
@@ -586,6 +586,7 @@ declare module BABYLON.NodeRenderGraphEditor {
|
|
|
586
586
|
interface IPreviewMeshControlComponent {
|
|
587
587
|
globalState: GlobalState;
|
|
588
588
|
togglePreviewAreaComponent: () => void;
|
|
589
|
+
onMounted?: () => void;
|
|
589
590
|
}
|
|
590
591
|
export class PreviewMeshControlComponent extends React.Component<IPreviewMeshControlComponent> {
|
|
591
592
|
private _filePickerRef;
|
|
@@ -595,6 +596,7 @@ declare module BABYLON.NodeRenderGraphEditor {
|
|
|
595
596
|
private _onRefreshPreviewMeshControlComponentRequiredObserver;
|
|
596
597
|
constructor(props: IPreviewMeshControlComponent);
|
|
597
598
|
componentWillUnmount(): void;
|
|
599
|
+
componentDidMount(): void;
|
|
598
600
|
changeMeshType(newOne: PreviewType): void;
|
|
599
601
|
useCustomMesh(evt: any): void;
|
|
600
602
|
useCustomEnv(evt: any): void;
|
|
@@ -639,6 +641,7 @@ declare module BABYLON.NodeRenderGraphEditor {
|
|
|
639
641
|
|
|
640
642
|
interface IPreviewAreaComponentProps {
|
|
641
643
|
globalState: GlobalState;
|
|
644
|
+
onMounted?: () => void;
|
|
642
645
|
}
|
|
643
646
|
export class PreviewAreaComponent extends React.Component<IPreviewAreaComponentProps, {
|
|
644
647
|
isLoading: boolean;
|
|
@@ -647,6 +650,7 @@ declare module BABYLON.NodeRenderGraphEditor {
|
|
|
647
650
|
private _onResetRequiredObserver;
|
|
648
651
|
constructor(props: IPreviewAreaComponentProps);
|
|
649
652
|
componentWillUnmount(): void;
|
|
653
|
+
componentDidMount(): void;
|
|
650
654
|
_onPointerOverCanvas: () => void;
|
|
651
655
|
_onPointerOutCanvas: () => void;
|
|
652
656
|
render(): import("react/jsx-runtime").JSX.Element;
|