babylonjs-editor 5.4.3-alpha.1 → 5.4.3-alpha.4
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.
- package/declaration/src/editor/layout/cinematic/serialization/parse.d.ts +1 -0
- package/declaration/src/editor/layout/graph.d.ts +11 -1
- package/declaration/src/editor/layout/inspector/scene/scene.d.ts +2 -0
- package/declaration/src/tools/mesh/augmentations.d.ts +1 -0
- package/declaration/src/tools/undoredo.d.ts +1 -0
- package/package.json +1 -1
|
@@ -7,6 +7,7 @@ export declare function parseCinematicTrack(track: ICinematicTrack, scene: Scene
|
|
|
7
7
|
sound: SoundNode | null;
|
|
8
8
|
propertyPath: string | undefined;
|
|
9
9
|
defaultRenderingPipeline: boolean | undefined;
|
|
10
|
+
volumetricLightScattering: boolean | undefined;
|
|
10
11
|
animationGroup: import("babylonjs").Nullable<import("babylonjs").AnimationGroup>;
|
|
11
12
|
animationGroups: import("babylonjs-editor-tools").ICinematicAnimationGroup[] | undefined;
|
|
12
13
|
animationGroupWeight: (ICinematicKey | ICinematicKeyCut)[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Component, ReactNode } from "react";
|
|
2
2
|
import { TreeNodeInfo } from "@blueprintjs/core";
|
|
3
|
-
import { Node, IParticleSystem, Sprite } from "babylonjs";
|
|
3
|
+
import { Node, Scene, IParticleSystem, Sprite } from "babylonjs";
|
|
4
4
|
import { Editor } from "../main";
|
|
5
5
|
export interface IEditorGraphProps {
|
|
6
6
|
/**
|
|
@@ -33,13 +33,23 @@ export interface IEditorGraphState {
|
|
|
33
33
|
* Defines wether or not instanced meshes should be hidden from the graph.
|
|
34
34
|
*/
|
|
35
35
|
hideInstancedMeshes: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Defines wheter or not a spinner should be shown in the graph to indicate that the player scene is loading.
|
|
38
|
+
*/
|
|
39
|
+
isLoading: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Defines the reference to the play scene if the player is running, null otherwise.
|
|
42
|
+
*/
|
|
43
|
+
playScene: Scene | null;
|
|
36
44
|
}
|
|
37
45
|
export declare class EditorGraph extends Component<IEditorGraphProps, IEditorGraphState> {
|
|
38
46
|
_nodeToCopyTransform: Node | null;
|
|
39
47
|
_objectsToCopy: TreeNodeInfo<unknown>[];
|
|
48
|
+
private _playRefreshIntervalId;
|
|
40
49
|
constructor(props: IEditorGraphProps);
|
|
41
50
|
render(): ReactNode;
|
|
42
51
|
componentDidMount(): void;
|
|
52
|
+
setPlayScene(playScene: Scene | null): Promise<void>;
|
|
43
53
|
/**
|
|
44
54
|
* Refreshes the graph.
|
|
45
55
|
*/
|
|
@@ -15,6 +15,8 @@ export declare class EditorSceneInspector extends Component<IEditorInspectorImpl
|
|
|
15
15
|
static IsSupported(object: unknown): boolean;
|
|
16
16
|
constructor(props: IEditorInspectorImplementationProps<Scene>);
|
|
17
17
|
render(): ReactNode;
|
|
18
|
+
get scene(): Scene;
|
|
19
|
+
get isPlaying(): boolean;
|
|
18
20
|
private _getPhysicsComponent;
|
|
19
21
|
private _getDefaultRenderingPipelineComponent;
|
|
20
22
|
private _getTAARenderingPipelineComponent;
|
|
@@ -17,6 +17,7 @@ export type UndoRedoStackItem = {
|
|
|
17
17
|
export declare const stack: UndoRedoStackItem[];
|
|
18
18
|
export declare const onUndoObservable: Observable<void>;
|
|
19
19
|
export declare const onRedoObservable: Observable<void>;
|
|
20
|
+
export declare function setUndoRedoEnabled(value: boolean): void;
|
|
20
21
|
export declare function clearUndoRedo(): void;
|
|
21
22
|
export declare function registerUndoRedo(configuration: UndoRedoStackItem): void;
|
|
22
23
|
export declare function registerSimpleUndoRedo(configuration: SimpleUndoRedoStackItem): void;
|
package/package.json
CHANGED