babylonjs-node-geometry-editor 7.37.0 → 7.37.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.
@@ -117,6 +117,7 @@ declare module BABYLON.NodeGeometryEditor {
117
117
  onIsLoadingChanged: BABYLON.Observable<boolean>;
118
118
  onPreviewBackgroundChanged: BABYLON.Observable<void>;
119
119
  onFrame: BABYLON.Observable<void>;
120
+ onAxis: BABYLON.Observable<void>;
120
121
  onAnimationCommandActivated: BABYLON.Observable<void>;
121
122
  onImportFrameObservable: BABYLON.Observable<any>;
122
123
  onPopupClosedObservable: BABYLON.Observable<void>;
@@ -584,7 +585,10 @@ declare module BABYLON.NodeGeometryEditor {
584
585
  globalState: GlobalState;
585
586
  togglePreviewAreaComponent: () => void;
586
587
  }
587
- export class PreviewMeshControlComponent extends React.Component<IPreviewMeshControlComponent> {
588
+ interface IPreviewMeshControlComponentState {
589
+ center: boolean;
590
+ }
591
+ export class PreviewMeshControlComponent extends React.Component<IPreviewMeshControlComponent, IPreviewMeshControlComponentState> {
588
592
  private _colorInputRef;
589
593
  private _onResetRequiredObserver;
590
594
  private _onRefreshPreviewMeshControlComponentRequiredObserver;
@@ -595,6 +599,7 @@ declare module BABYLON.NodeGeometryEditor {
595
599
  changeBackground(value: string): void;
596
600
  changeBackgroundClick(): void;
597
601
  frame(): void;
602
+ axis(): void;
598
603
  render(): import("react/jsx-runtime").JSX.Element;
599
604
  }
600
605
 
@@ -603,6 +608,7 @@ declare module BABYLON.NodeGeometryEditor {
603
608
  private _nodeGeometry;
604
609
  private _onBuildObserver;
605
610
  private _onFrameObserver;
611
+ private _onAxisObserver;
606
612
  private _onExportToGLBObserver;
607
613
  private _onAnimationCommandActivatedObserver;
608
614
  private _onUpdateRequiredObserver;
@@ -700,7 +706,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
700
706
  * @param source document to copy styles from
701
707
  * @param target document or shadow root to copy styles to
702
708
  */
703
- export function CopyStyles(source: Document, target: Document): void;
709
+ export function CopyStyles(source: Document, target: DocumentOrShadowRoot): void;
704
710
 
705
711
 
706
712
 
@@ -1384,6 +1390,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
1384
1390
  isElbowConnectionAllowed: (nodeA: BABYLON.NodeGeometryEditor.SharedUIComponents.FrameNodePort | BABYLON.NodeGeometryEditor.SharedUIComponents.NodePort, nodeB: BABYLON.NodeGeometryEditor.SharedUIComponents.FrameNodePort | BABYLON.NodeGeometryEditor.SharedUIComponents.NodePort) => boolean;
1385
1391
  isDebugConnectionAllowed: (nodeA: BABYLON.NodeGeometryEditor.SharedUIComponents.FrameNodePort | BABYLON.NodeGeometryEditor.SharedUIComponents.NodePort, nodeB: BABYLON.NodeGeometryEditor.SharedUIComponents.FrameNodePort | BABYLON.NodeGeometryEditor.SharedUIComponents.NodePort) => boolean;
1386
1392
  applyNodePortDesign: (data: BABYLON.NodeGeometryEditor.SharedUIComponents.IPortData, element: HTMLElement, img: HTMLImageElement, pip: HTMLDivElement) => void;
1393
+ getPortColor: (portData: BABYLON.NodeGeometryEditor.SharedUIComponents.IPortData) => string;
1387
1394
  storeEditorData: (serializationObject: any, frame?: BABYLON.Nullable<BABYLON.NodeGeometryEditor.SharedUIComponents.GraphFrame>) => void;
1388
1395
  getEditorDataMap: () => {
1389
1396
  [key: number]: number;