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.
@@ -91,8 +91,8 @@ declare module BABYLON.NodeEditor {
91
91
  handleClosingPopUp: () => void;
92
92
  initiatePreviewArea: (canvas?: HTMLCanvasElement) => void;
93
93
  createPopUp: () => void;
94
- createPreviewMeshControlHost: (options: IInternalPreviewAreaOptions, parentControl: BABYLON.Nullable<HTMLElement>) => void;
95
- createPreviewHost: (options: IInternalPreviewAreaOptions, parentControl: BABYLON.Nullable<HTMLElement>) => void;
94
+ createPreviewMeshControlHostAsync: (options: IInternalPreviewAreaOptions, parentControl: BABYLON.Nullable<HTMLElement>) => Promise<unknown>;
95
+ createPreviewHostAsync: (options: IInternalPreviewAreaOptions, parentControl: BABYLON.Nullable<HTMLElement>) => Promise<unknown>;
96
96
  fixPopUpStyles: (document: Document) => void;
97
97
  render(): import("react/jsx-runtime").JSX.Element;
98
98
  }
@@ -812,6 +812,7 @@ declare module BABYLON.NodeEditor {
812
812
  interface IPreviewMeshControlComponent {
813
813
  globalState: GlobalState;
814
814
  togglePreviewAreaComponent: () => void;
815
+ onMounted?: () => void;
815
816
  }
816
817
  export class PreviewMeshControlComponent extends React.Component<IPreviewMeshControlComponent> {
817
818
  private _colorInputRef;
@@ -822,6 +823,7 @@ declare module BABYLON.NodeEditor {
822
823
  private _onRefreshPreviewMeshControlComponentRequiredObserver;
823
824
  constructor(props: IPreviewMeshControlComponent);
824
825
  componentWillUnmount(): void;
826
+ componentDidMount(): void;
825
827
  changeMeshType(newOne: PreviewType): void;
826
828
  useCustomMesh(evt: any): void;
827
829
  useCustomEnv(evt: any): void;
@@ -885,6 +887,7 @@ declare module BABYLON.NodeEditor {
885
887
 
886
888
  interface IPreviewAreaComponentProps {
887
889
  globalState: GlobalState;
890
+ onMounted?: () => void;
888
891
  }
889
892
  export class PreviewAreaComponent extends React.Component<IPreviewAreaComponentProps, {
890
893
  isLoading: boolean;
@@ -893,6 +896,7 @@ declare module BABYLON.NodeEditor {
893
896
  private _onResetRequiredObserver;
894
897
  private _consoleRef;
895
898
  constructor(props: IPreviewAreaComponentProps);
899
+ componentDidMount(): void;
896
900
  componentWillUnmount(): void;
897
901
  changeBackFaceCulling(value: boolean): void;
898
902
  changeDepthPrePass(value: boolean): void;