@babylonjs/inspector 6.21.1 → 6.21.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.
@@ -3323,9 +3323,9 @@ export class GlobalState {
|
|
3323
3323
|
prepareGLTFPlugin(loader: GLTFFileLoader): void;
|
3324
3324
|
resetGLTFValidationResults(): void;
|
3325
3325
|
lightGizmos: Array<LightGizmo>;
|
3326
|
-
enableLightGizmo(light: Light, enable?: boolean): void;
|
3326
|
+
enableLightGizmo(light: Light, enable?: boolean, gizmoCamera?: Nullable<Camera>): void;
|
3327
3327
|
cameraGizmos: Array<CameraGizmo>;
|
3328
|
-
enableCameraGizmo(camera: Camera, enable?: boolean): void;
|
3328
|
+
enableCameraGizmo(camera: Camera, enable?: boolean, gizmoCamera?: Nullable<Camera>): void;
|
3329
3329
|
onSceneExplorerClosedObservable: Observable<void>;
|
3330
3330
|
onActionTabsClosedObservable: Observable<void>;
|
3331
3331
|
}
|
@@ -3801,6 +3801,7 @@ interface ICameraTreeItemComponentProps {
|
|
3801
3801
|
extensibilityGroups?: IExplorerExtensibilityGroup[];
|
3802
3802
|
onClick: () => void;
|
3803
3803
|
globalState: GlobalState;
|
3804
|
+
gizmoCamera?: Camera;
|
3804
3805
|
}
|
3805
3806
|
export class CameraTreeItemComponent extends React.Component<ICameraTreeItemComponentProps, {
|
3806
3807
|
isActive: boolean;
|
@@ -3902,6 +3903,7 @@ export function EditAdvancedDynamicTexture(adt: AdvancedDynamicTexture, embed?:
|
|
3902
3903
|
declare module "@babylonjs/inspector/components/sceneExplorer/entities/lightTreeItemComponent" {
|
3903
3904
|
import { IExplorerExtensibilityGroup } from "@babylonjs/core/Debug/debugLayer";
|
3904
3905
|
import { Light } from "@babylonjs/core/Lights/light";
|
3906
|
+
import { Camera } from "@babylonjs/core/Cameras/camera";
|
3905
3907
|
import * as React from "react";
|
3906
3908
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
3907
3909
|
interface ILightTreeItemComponentProps {
|
@@ -3909,6 +3911,7 @@ interface ILightTreeItemComponentProps {
|
|
3909
3911
|
extensibilityGroups?: IExplorerExtensibilityGroup[];
|
3910
3912
|
onClick: () => void;
|
3911
3913
|
globalState: GlobalState;
|
3914
|
+
gizmoCamera?: Camera;
|
3912
3915
|
}
|
3913
3916
|
export class LightTreeItemComponent extends React.Component<ILightTreeItemComponentProps, {
|
3914
3917
|
isEnabled: boolean;
|
@@ -4267,6 +4270,7 @@ import * as React from "react";
|
|
4267
4270
|
import { Nullable } from "@babylonjs/core/types";
|
4268
4271
|
import { IInspectorContextMenuItem, IExplorerExtensibilityGroup } from "@babylonjs/core/Debug/debugLayer";
|
4269
4272
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
4273
|
+
import { Camera } from "@babylonjs/core/Cameras/camera";
|
4270
4274
|
export interface ITreeItemComponentProps {
|
4271
4275
|
items?: Nullable<any[]>;
|
4272
4276
|
label: string;
|
@@ -4274,6 +4278,7 @@ export interface ITreeItemComponentProps {
|
|
4274
4278
|
filter: Nullable<string>;
|
4275
4279
|
forceSubitems?: boolean;
|
4276
4280
|
globalState: GlobalState;
|
4281
|
+
gizmoCamera?: Camera;
|
4277
4282
|
entity?: any;
|
4278
4283
|
selectedEntity: any;
|
4279
4284
|
extensibilityGroups?: IExplorerExtensibilityGroup[];
|
@@ -4314,6 +4319,7 @@ export {};
|
|
4314
4319
|
}
|
4315
4320
|
declare module "@babylonjs/inspector/components/sceneExplorer/treeItemSelectableComponent" {
|
4316
4321
|
import { Nullable } from "@babylonjs/core/types";
|
4322
|
+
import { Camera } from "@babylonjs/core/Cameras/camera";
|
4317
4323
|
import { IExplorerExtensibilityGroup } from "@babylonjs/core/Debug/debugLayer";
|
4318
4324
|
import * as React from "react";
|
4319
4325
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
@@ -4323,6 +4329,7 @@ export interface ITreeItemSelectableComponentProps {
|
|
4323
4329
|
mustExpand?: boolean;
|
4324
4330
|
offset: number;
|
4325
4331
|
globalState: GlobalState;
|
4332
|
+
gizmoCamera?: Camera;
|
4326
4333
|
extensibilityGroups?: IExplorerExtensibilityGroup[];
|
4327
4334
|
filter: Nullable<string>;
|
4328
4335
|
}
|
@@ -4347,6 +4354,7 @@ export class TreeItemSelectableComponent extends React.Component<ITreeItemSelect
|
|
4347
4354
|
|
4348
4355
|
}
|
4349
4356
|
declare module "@babylonjs/inspector/components/sceneExplorer/treeItemSpecializedComponent" {
|
4357
|
+
import { Camera } from "@babylonjs/core/Cameras/camera";
|
4350
4358
|
import { IExplorerExtensibilityGroup } from "@babylonjs/core/Debug/debugLayer";
|
4351
4359
|
import * as React from "react";
|
4352
4360
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
@@ -4355,6 +4363,7 @@ interface ITreeItemSpecializedComponentProps {
|
|
4355
4363
|
entity?: any;
|
4356
4364
|
extensibilityGroups?: IExplorerExtensibilityGroup[];
|
4357
4365
|
globalState: GlobalState;
|
4366
|
+
gizmoCamera?: Camera;
|
4358
4367
|
onClick?: () => void;
|
4359
4368
|
}
|
4360
4369
|
export class TreeItemSpecializedComponent extends React.Component<ITreeItemSpecializedComponentProps> {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@babylonjs/inspector",
|
3
|
-
"version": "6.21.
|
3
|
+
"version": "6.21.2",
|
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": "^6.21.
|
36
|
-
"@babylonjs/gui": "^6.21.
|
37
|
-
"@babylonjs/gui-editor": "^6.21.
|
38
|
-
"@babylonjs/loaders": "^6.21.
|
39
|
-
"@babylonjs/materials": "^6.21.
|
40
|
-
"@babylonjs/serializers": "^6.21.
|
35
|
+
"@babylonjs/core": "^6.21.2",
|
36
|
+
"@babylonjs/gui": "^6.21.2",
|
37
|
+
"@babylonjs/gui-editor": "^6.21.2",
|
38
|
+
"@babylonjs/loaders": "^6.21.2",
|
39
|
+
"@babylonjs/materials": "^6.21.2",
|
40
|
+
"@babylonjs/serializers": "^6.21.2",
|
41
41
|
"@lts/gui": "1.0.0",
|
42
42
|
"react": "^17.0.2",
|
43
43
|
"react-dom": "^17.0.2"
|