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.
@@ -93,8 +93,8 @@ declare module BABYLON.NodeGeometryEditor {
93
93
  handleClosingPopUp: () => void;
94
94
  initiatePreviewArea: (canvas?: HTMLCanvasElement) => void;
95
95
  createPopUp: () => void;
96
- createPreviewMeshControlHost: (options: IInternalPreviewAreaOptions, parentControl: BABYLON.Nullable<HTMLElement>) => void;
97
- createPreviewHost: (options: IInternalPreviewAreaOptions, parentControl: BABYLON.Nullable<HTMLElement>) => void;
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
  }
@@ -592,6 +592,7 @@ declare module BABYLON.NodeGeometryEditor {
592
592
  interface IPreviewMeshControlComponent {
593
593
  globalState: GlobalState;
594
594
  togglePreviewAreaComponent: () => void;
595
+ onMounted?: () => void;
595
596
  }
596
597
  interface IPreviewMeshControlComponentState {
597
598
  center: boolean;
@@ -602,6 +603,7 @@ declare module BABYLON.NodeGeometryEditor {
602
603
  private _onRefreshPreviewMeshControlComponentRequiredObserver;
603
604
  constructor(props: IPreviewMeshControlComponent);
604
605
  componentWillUnmount(): void;
606
+ componentDidMount(): void;
605
607
  onPopUp(): void;
606
608
  changeAnimation(): void;
607
609
  changeBackground(value: string): void;
@@ -650,6 +652,7 @@ declare module BABYLON.NodeGeometryEditor {
650
652
 
651
653
  interface IPreviewAreaComponentProps {
652
654
  globalState: GlobalState;
655
+ onMounted?: () => void;
653
656
  }
654
657
  export class PreviewAreaComponent extends React.Component<IPreviewAreaComponentProps, {
655
658
  isLoading: boolean;
@@ -658,6 +661,7 @@ declare module BABYLON.NodeGeometryEditor {
658
661
  private _onResetRequiredObserver;
659
662
  constructor(props: IPreviewAreaComponentProps);
660
663
  componentWillUnmount(): void;
664
+ componentDidMount(): void;
661
665
  _onPointerOverCanvas: () => void;
662
666
  _onPointerOutCanvas: () => void;
663
667
  changeWireframe(): void;