@babylonjs/inspector 7.48.3 → 7.50.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.
@@ -579,12 +579,14 @@ export {};
|
|
579
579
|
|
580
580
|
}
|
581
581
|
declare module "@babylonjs/inspector/components/sceneExplorer/entities/sceneTreeItemComponent" {
|
582
|
+
import { Nullable } from "@babylonjs/core/types";
|
582
583
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
583
584
|
import { IExplorerExtensibilityGroup } from "@babylonjs/core/Debug/debugLayer";
|
584
585
|
import { Scene } from "@babylonjs/core/scene";
|
585
586
|
import * as React from "react";
|
586
587
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
587
588
|
import { Camera } from "@babylonjs/core/Cameras/camera";
|
589
|
+
import { FrameGraph } from "@babylonjs/core/FrameGraph/frameGraph";
|
588
590
|
interface ISceneTreeItemComponentProps {
|
589
591
|
scene: Scene;
|
590
592
|
gizmoCamera?: Camera;
|
@@ -601,6 +603,7 @@ export class SceneTreeItemComponent extends React.Component<ISceneTreeItemCompon
|
|
601
603
|
isInWorldCoodinatesMode: boolean;
|
602
604
|
}> {
|
603
605
|
private _gizmoLayerOnPointerObserver;
|
606
|
+
private _gizmoLayerRenderObserver;
|
604
607
|
private _onPointerObserver;
|
605
608
|
private _onSelectionChangeObserver;
|
606
609
|
private _selectedEntity;
|
@@ -619,6 +622,7 @@ export class SceneTreeItemComponent extends React.Component<ISceneTreeItemCompon
|
|
619
622
|
onSelect(): void;
|
620
623
|
onCoordinatesMode(): void;
|
621
624
|
onPickingMode(): void;
|
625
|
+
findCameraFromFrameGraph(frameGraph: FrameGraph): Nullable<Camera>;
|
622
626
|
setGizmoMode(mode: number): void;
|
623
627
|
|
624
628
|
}
|
@@ -6151,8 +6155,8 @@ import { PropertyChangedEvent } from "@babylonjs/inspector/propertyChangedEvent"
|
|
6151
6155
|
import { LockObject } from "@babylonjs/inspector/tabs/propertyGrids/lockObject";
|
6152
6156
|
interface IVector3LineComponentProps {
|
6153
6157
|
label: string;
|
6154
|
-
target
|
6155
|
-
propertyName
|
6158
|
+
target?: any;
|
6159
|
+
propertyName?: string;
|
6156
6160
|
step?: number;
|
6157
6161
|
onChange?: (newvalue: Vector3) => void;
|
6158
6162
|
useEuler?: boolean;
|
@@ -6161,6 +6165,8 @@ interface IVector3LineComponentProps {
|
|
6161
6165
|
icon?: string;
|
6162
6166
|
iconLabel?: string;
|
6163
6167
|
lockObject: LockObject;
|
6168
|
+
directValue?: Vector3;
|
6169
|
+
additionalCommands?: JSX.Element[];
|
6164
6170
|
}
|
6165
6171
|
export class Vector3LineComponent extends React.Component<IVector3LineComponentProps, {
|
6166
6172
|
isExpanded: boolean;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@babylonjs/inspector",
|
3
|
-
"version": "7.
|
3
|
+
"version": "7.50.0",
|
4
4
|
"module": "dist/babylon.inspector.bundle.max.js",
|
5
5
|
"main": "dist/babylon.inspector.bundle.max.js",
|
6
6
|
"typings": "dist/babylon.inspector.module.d.ts",
|
@@ -32,12 +32,12 @@
|
|
32
32
|
"@types/react-dom": ">=16.0.9"
|
33
33
|
},
|
34
34
|
"devDependencies": {
|
35
|
-
"@babylonjs/core": "^7.
|
36
|
-
"@babylonjs/gui": "^7.
|
37
|
-
"@babylonjs/gui-editor": "^7.
|
38
|
-
"@babylonjs/loaders": "^7.
|
39
|
-
"@babylonjs/materials": "^7.
|
40
|
-
"@babylonjs/serializers": "^7.
|
35
|
+
"@babylonjs/core": "^7.50.0",
|
36
|
+
"@babylonjs/gui": "^7.50.0",
|
37
|
+
"@babylonjs/gui-editor": "^7.50.0",
|
38
|
+
"@babylonjs/loaders": "^7.50.0",
|
39
|
+
"@babylonjs/materials": "^7.50.0",
|
40
|
+
"@babylonjs/serializers": "^7.50.0",
|
41
41
|
"@lts/gui": "1.0.0",
|
42
42
|
"react": "^17.0.2",
|
43
43
|
"react-dom": "^17.0.2"
|