babylonjs-editor 5.4.3-rc.0 → 5.5.0

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.
@@ -53,6 +53,7 @@ export interface IEditorGraphState {
53
53
  }
54
54
  export declare class EditorGraph extends Component<IEditorGraphProps, IEditorGraphState> {
55
55
  _nodeToCopyTransform: Node | null;
56
+ _objectsToCut: TreeNodeInfo<unknown>[];
56
57
  _objectsToCopy: TreeNodeInfo<unknown>[];
57
58
  private _playRefreshIntervalId;
58
59
  constructor(props: IEditorGraphProps);
@@ -91,10 +92,13 @@ export declare class EditorGraph extends Component<IEditorGraphProps, IEditorGra
91
92
  * Copies the selected nodes from the graph.
92
93
  */
93
94
  copySelectedNodes(): void;
95
+ cutSelectedNodes(): void;
94
96
  /**
95
97
  * Pastes the previously copied nodes.
96
98
  */
97
99
  pasteSelectedNodes(parent?: Node, shift?: boolean): void;
100
+ private _pasteCutSelectedNodes;
101
+ private _pasteCopiedSelectedNodes;
98
102
  copySelectedNodeTransform(node: Node): void;
99
103
  pasteSelectedNodeTransform(node: Node): void;
100
104
  private _handleSearch;
@@ -28,6 +28,9 @@ export interface IEditorPreviewPlayComponentState {
28
28
  * Defines wether or not the game / application is playing in the editor.
29
29
  */
30
30
  playing: boolean;
31
+ currentFPS: number;
32
+ activeMeshes: number;
33
+ totalMeshes: number;
31
34
  }
32
35
  export declare class EditorPreviewPlayComponent extends Component<IEditorPreviewPlayComponentProps, IEditorPreviewPlayComponentState> {
33
36
  /**
@@ -39,6 +42,7 @@ export declare class EditorPreviewPlayComponent extends Component<IEditorPreview
39
42
  private _srcWatcher;
40
43
  private _temporaryDirectory;
41
44
  private _compiledScriptExports;
45
+ private _intervalId;
42
46
  constructor(props: IEditorPreviewPlayComponentProps);
43
47
  render(): ReactNode;
44
48
  componentDidMount(): void;
@@ -81,6 +85,7 @@ export declare class EditorPreviewPlayComponent extends Component<IEditorPreview
81
85
  private _compileScripts;
82
86
  private _createAndLoadScene;
83
87
  private _requireCompiledScripts;
88
+ private _clearInterval;
84
89
  /**
85
90
  * Watches all the src directory of the project to detect changes in the scripts.
86
91
  * If a change is detected, it will restart the game / application.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "babylonjs-editor",
3
- "version": "5.4.3-rc.0",
3
+ "version": "5.5.0",
4
4
  "description": "Babylon.js Editor is a Web Application helping artists to work with Babylon.js",
5
5
  "productName": "Babylon.js Editor",
6
6
  "main": "build/src/index.js",