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.
|
@@ -156,6 +156,7 @@ export class GlobalState {
|
|
|
156
156
|
onIsLoadingChanged: Observable<boolean>;
|
|
157
157
|
onPreviewBackgroundChanged: Observable<void>;
|
|
158
158
|
onFrame: Observable<void>;
|
|
159
|
+
onAxis: Observable<void>;
|
|
159
160
|
onAnimationCommandActivated: Observable<void>;
|
|
160
161
|
onImportFrameObservable: Observable<any>;
|
|
161
162
|
onPopupClosedObservable: Observable<void>;
|
|
@@ -855,7 +856,10 @@ interface IPreviewMeshControlComponent {
|
|
|
855
856
|
globalState: GlobalState;
|
|
856
857
|
togglePreviewAreaComponent: () => void;
|
|
857
858
|
}
|
|
858
|
-
|
|
859
|
+
interface IPreviewMeshControlComponentState {
|
|
860
|
+
center: boolean;
|
|
861
|
+
}
|
|
862
|
+
export class PreviewMeshControlComponent extends React.Component<IPreviewMeshControlComponent, IPreviewMeshControlComponentState> {
|
|
859
863
|
private _colorInputRef;
|
|
860
864
|
private _onResetRequiredObserver;
|
|
861
865
|
private _onRefreshPreviewMeshControlComponentRequiredObserver;
|
|
@@ -866,6 +870,7 @@ export class PreviewMeshControlComponent extends React.Component<IPreviewMeshCon
|
|
|
866
870
|
changeBackground(value: string): void;
|
|
867
871
|
changeBackgroundClick(): void;
|
|
868
872
|
frame(): void;
|
|
873
|
+
axis(): void;
|
|
869
874
|
|
|
870
875
|
}
|
|
871
876
|
export {};
|
|
@@ -878,6 +883,7 @@ export class PreviewManager {
|
|
|
878
883
|
private _nodeGeometry;
|
|
879
884
|
private _onBuildObserver;
|
|
880
885
|
private _onFrameObserver;
|
|
886
|
+
private _onAxisObserver;
|
|
881
887
|
private _onExportToGLBObserver;
|
|
882
888
|
private _onAnimationCommandActivatedObserver;
|
|
883
889
|
private _onUpdateRequiredObserver;
|
|
@@ -987,7 +993,7 @@ declare module "babylonjs-node-geometry-editor/styleHelper" {
|
|
|
987
993
|
* @param source document to copy styles from
|
|
988
994
|
* @param target document or shadow root to copy styles to
|
|
989
995
|
*/
|
|
990
|
-
export function CopyStyles(source: Document, target:
|
|
996
|
+
export function CopyStyles(source: Document, target: DocumentOrShadowRoot): void;
|
|
991
997
|
|
|
992
998
|
}
|
|
993
999
|
declare module "babylonjs-node-geometry-editor/stringTools" {
|
|
@@ -1623,6 +1629,7 @@ export class StateManager {
|
|
|
1623
1629
|
isElbowConnectionAllowed: (nodeA: FrameNodePort | NodePort, nodeB: FrameNodePort | NodePort) => boolean;
|
|
1624
1630
|
isDebugConnectionAllowed: (nodeA: FrameNodePort | NodePort, nodeB: FrameNodePort | NodePort) => boolean;
|
|
1625
1631
|
applyNodePortDesign: (data: IPortData, element: HTMLElement, img: HTMLImageElement, pip: HTMLDivElement) => void;
|
|
1632
|
+
getPortColor: (portData: IPortData) => string;
|
|
1626
1633
|
storeEditorData: (serializationObject: any, frame?: Nullable<GraphFrame>) => void;
|
|
1627
1634
|
getEditorDataMap: () => {
|
|
1628
1635
|
[key: number]: number;
|
|
@@ -4518,6 +4525,7 @@ declare module BABYLON.NodeGeometryEditor {
|
|
|
4518
4525
|
onIsLoadingChanged: BABYLON.Observable<boolean>;
|
|
4519
4526
|
onPreviewBackgroundChanged: BABYLON.Observable<void>;
|
|
4520
4527
|
onFrame: BABYLON.Observable<void>;
|
|
4528
|
+
onAxis: BABYLON.Observable<void>;
|
|
4521
4529
|
onAnimationCommandActivated: BABYLON.Observable<void>;
|
|
4522
4530
|
onImportFrameObservable: BABYLON.Observable<any>;
|
|
4523
4531
|
onPopupClosedObservable: BABYLON.Observable<void>;
|
|
@@ -4985,7 +4993,10 @@ declare module BABYLON.NodeGeometryEditor {
|
|
|
4985
4993
|
globalState: GlobalState;
|
|
4986
4994
|
togglePreviewAreaComponent: () => void;
|
|
4987
4995
|
}
|
|
4988
|
-
|
|
4996
|
+
interface IPreviewMeshControlComponentState {
|
|
4997
|
+
center: boolean;
|
|
4998
|
+
}
|
|
4999
|
+
export class PreviewMeshControlComponent extends React.Component<IPreviewMeshControlComponent, IPreviewMeshControlComponentState> {
|
|
4989
5000
|
private _colorInputRef;
|
|
4990
5001
|
private _onResetRequiredObserver;
|
|
4991
5002
|
private _onRefreshPreviewMeshControlComponentRequiredObserver;
|
|
@@ -4996,6 +5007,7 @@ declare module BABYLON.NodeGeometryEditor {
|
|
|
4996
5007
|
changeBackground(value: string): void;
|
|
4997
5008
|
changeBackgroundClick(): void;
|
|
4998
5009
|
frame(): void;
|
|
5010
|
+
axis(): void;
|
|
4999
5011
|
render(): import("react/jsx-runtime").JSX.Element;
|
|
5000
5012
|
}
|
|
5001
5013
|
|
|
@@ -5004,6 +5016,7 @@ declare module BABYLON.NodeGeometryEditor {
|
|
|
5004
5016
|
private _nodeGeometry;
|
|
5005
5017
|
private _onBuildObserver;
|
|
5006
5018
|
private _onFrameObserver;
|
|
5019
|
+
private _onAxisObserver;
|
|
5007
5020
|
private _onExportToGLBObserver;
|
|
5008
5021
|
private _onAnimationCommandActivatedObserver;
|
|
5009
5022
|
private _onUpdateRequiredObserver;
|
|
@@ -5101,7 +5114,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
5101
5114
|
* @param source document to copy styles from
|
|
5102
5115
|
* @param target document or shadow root to copy styles to
|
|
5103
5116
|
*/
|
|
5104
|
-
export function CopyStyles(source: Document, target:
|
|
5117
|
+
export function CopyStyles(source: Document, target: DocumentOrShadowRoot): void;
|
|
5105
5118
|
|
|
5106
5119
|
|
|
5107
5120
|
|
|
@@ -5785,6 +5798,7 @@ declare module BABYLON.NodeGeometryEditor.SharedUIComponents {
|
|
|
5785
5798
|
isElbowConnectionAllowed: (nodeA: BABYLON.NodeGeometryEditor.SharedUIComponents.FrameNodePort | BABYLON.NodeGeometryEditor.SharedUIComponents.NodePort, nodeB: BABYLON.NodeGeometryEditor.SharedUIComponents.FrameNodePort | BABYLON.NodeGeometryEditor.SharedUIComponents.NodePort) => boolean;
|
|
5786
5799
|
isDebugConnectionAllowed: (nodeA: BABYLON.NodeGeometryEditor.SharedUIComponents.FrameNodePort | BABYLON.NodeGeometryEditor.SharedUIComponents.NodePort, nodeB: BABYLON.NodeGeometryEditor.SharedUIComponents.FrameNodePort | BABYLON.NodeGeometryEditor.SharedUIComponents.NodePort) => boolean;
|
|
5787
5800
|
applyNodePortDesign: (data: BABYLON.NodeGeometryEditor.SharedUIComponents.IPortData, element: HTMLElement, img: HTMLImageElement, pip: HTMLDivElement) => void;
|
|
5801
|
+
getPortColor: (portData: BABYLON.NodeGeometryEditor.SharedUIComponents.IPortData) => string;
|
|
5788
5802
|
storeEditorData: (serializationObject: any, frame?: BABYLON.Nullable<BABYLON.NodeGeometryEditor.SharedUIComponents.GraphFrame>) => void;
|
|
5789
5803
|
getEditorDataMap: () => {
|
|
5790
5804
|
[key: number]: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "babylonjs-node-geometry-editor",
|
|
3
|
-
"version": "7.37.
|
|
3
|
+
"version": "7.37.2",
|
|
4
4
|
"main": "babylon.nodeGeometryEditor.js",
|
|
5
5
|
"types": "babylon.nodeGeometryEditor.module.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"clean": "rimraf dist && rimraf babylon*.* -g"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"babylonjs": "^7.37.
|
|
17
|
+
"babylonjs": "^7.37.2"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@dev/build-tools": "1.0.0",
|