@babylonjs/inspector 5.53.1 → 5.55.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.
@@ -4118,7 +4118,7 @@ export {};
|
|
4118
4118
|
declare module "@babylonjs/inspector/components/sceneExplorer/sceneExplorerComponent" {
|
4119
4119
|
import * as React from "react";
|
4120
4120
|
import { Nullable } from "@babylonjs/core/types";
|
4121
|
-
import { IExplorerAdditionalNode, IExplorerExtensibilityGroup } from "@babylonjs/core/Debug/debugLayer";
|
4121
|
+
import { IExplorerAdditionalNode, IExplorerExtensibilityGroup, IInspectorOptions } from "@babylonjs/core/Debug/debugLayer";
|
4122
4122
|
import { Scene } from "@babylonjs/core/scene";
|
4123
4123
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
4124
4124
|
import { Camera } from "@babylonjs/core/Cameras/camera";
|
@@ -4135,6 +4135,8 @@ export class SceneExplorerFilterComponent extends React.Component<ISceneExplorer
|
|
4135
4135
|
}
|
4136
4136
|
interface ISceneExplorerComponentProps {
|
4137
4137
|
scene: Scene;
|
4138
|
+
contextMenu?: IInspectorOptions["contextMenu"];
|
4139
|
+
contextMenuOverride?: IInspectorOptions["contextMenuOverride"];
|
4138
4140
|
gizmoCamera?: Camera;
|
4139
4141
|
noCommands?: boolean;
|
4140
4142
|
noHeader?: boolean;
|
@@ -4171,6 +4173,11 @@ export class SceneExplorerComponent extends React.Component<ISceneExplorerCompon
|
|
4171
4173
|
found?: boolean;
|
4172
4174
|
}): boolean;
|
4173
4175
|
processKeys(keyEvent: React.KeyboardEvent<HTMLDivElement>): void;
|
4176
|
+
private _getPipelineContextMenus;
|
4177
|
+
private _getNodeContextMenus;
|
4178
|
+
private _getMaterialsContextMenus;
|
4179
|
+
private _getSpriteManagersContextMenus;
|
4180
|
+
private _getParticleSystemsContextMenus;
|
4174
4181
|
renderContent(): JSX.Element | null;
|
4175
4182
|
onClose(): void;
|
4176
4183
|
onPopup(): void;
|
@@ -4182,7 +4189,7 @@ export {};
|
|
4182
4189
|
declare module "@babylonjs/inspector/components/sceneExplorer/treeItemComponent" {
|
4183
4190
|
import * as React from "react";
|
4184
4191
|
import { Nullable } from "@babylonjs/core/types";
|
4185
|
-
import { IExplorerExtensibilityGroup } from "@babylonjs/core/Debug/debugLayer";
|
4192
|
+
import { IInspectorContextMenuItem, IExplorerExtensibilityGroup } from "@babylonjs/core/Debug/debugLayer";
|
4186
4193
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
4187
4194
|
export interface ITreeItemComponentProps {
|
4188
4195
|
items?: Nullable<any[]>;
|
@@ -4194,10 +4201,7 @@ export interface ITreeItemComponentProps {
|
|
4194
4201
|
entity?: any;
|
4195
4202
|
selectedEntity: any;
|
4196
4203
|
extensibilityGroups?: IExplorerExtensibilityGroup[];
|
4197
|
-
contextMenuItems?:
|
4198
|
-
label: string;
|
4199
|
-
action: () => void;
|
4200
|
-
}[];
|
4204
|
+
contextMenuItems?: IInspectorContextMenuItem[];
|
4201
4205
|
}
|
4202
4206
|
export class TreeItemComponent extends React.Component<ITreeItemComponentProps, {
|
4203
4207
|
isExpanded: boolean;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@babylonjs/inspector",
|
3
|
-
"version": "5.
|
3
|
+
"version": "5.55.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": "^5.
|
36
|
-
"@babylonjs/gui": "^5.
|
37
|
-
"@babylonjs/gui-editor": "^5.
|
38
|
-
"@babylonjs/loaders": "^5.
|
39
|
-
"@babylonjs/materials": "^5.
|
40
|
-
"@babylonjs/serializers": "^5.
|
35
|
+
"@babylonjs/core": "^5.55.0",
|
36
|
+
"@babylonjs/gui": "^5.55.0",
|
37
|
+
"@babylonjs/gui-editor": "^5.55.0",
|
38
|
+
"@babylonjs/loaders": "^5.55.0",
|
39
|
+
"@babylonjs/materials": "^5.55.0",
|
40
|
+
"@babylonjs/serializers": "^5.55.0",
|
41
41
|
"@lts/gui": "1.0.0",
|
42
42
|
"react": "^17.0.2",
|
43
43
|
"react-dom": "^17.0.2",
|