babylonjs-editor 5.4.1-alpha.0 → 5.4.1-alpha.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.
@@ -0,0 +1,2 @@
1
+ import { Editor } from "../../main";
2
+ export declare function setNewParentForGraphSelectedNodes(editor: Editor, newParent: any, shift: boolean): void;
@@ -0,0 +1,12 @@
1
+ import { Component, ReactNode } from "react";
2
+ import { ClusteredLightContainer } from "babylonjs";
3
+ import { IEditorInspectorImplementationProps } from "../inspector";
4
+ export declare class EditorClusteredLightContainerInspector extends Component<IEditorInspectorImplementationProps<ClusteredLightContainer>> {
5
+ /**
6
+ * Returns whether or not the given object is supported by this inspector.
7
+ * @param object defines the object to check.
8
+ * @returns true if the object is supported by this inspector.
9
+ */
10
+ static IsSupported(object: unknown): boolean;
11
+ render(): ReactNode;
12
+ }
@@ -0,0 +1,22 @@
1
+ import { Component, ReactNode } from "react";
2
+ import { Mesh } from "babylonjs";
3
+ import { Editor } from "../../../main";
4
+ export interface IMeshLODInspectorProps {
5
+ mesh: Mesh;
6
+ editor: Editor;
7
+ }
8
+ export interface IIMeshLODInspectorState {
9
+ dragOver: boolean;
10
+ lodsEnabled: boolean;
11
+ }
12
+ export declare class MeshLODInspector extends Component<IMeshLODInspectorProps, IIMeshLODInspectorState> {
13
+ constructor(props: IMeshLODInspectorProps);
14
+ render(): ReactNode;
15
+ private _handleLODsEnabledChange;
16
+ private _getLODsComponent;
17
+ private _handleDragOver;
18
+ private _handleDrop;
19
+ private _handleRemoveLOD;
20
+ private _getDistance;
21
+ private _autoSortLODs;
22
+ }
@@ -19,7 +19,6 @@ export declare class EditorMeshInspector extends Component<IEditorInspectorImple
19
19
  componentDidMount(): void;
20
20
  componentWillUnmount(): void;
21
21
  private _handleTransformsUpdated;
22
- private _getLODsComponent;
23
22
  private _getMaterialComponent;
24
23
  private _handleMaterialDrop;
25
24
  private _handleMaterialDragOver;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "babylonjs-editor",
3
- "version": "5.4.1-alpha.0",
3
+ "version": "5.4.1-alpha.2",
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",