@babylonjs/inspector 7.49.0 → 7.51.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
|
}
|
@@ -6308,30 +6312,32 @@ export interface ITextInputLineComponentProps {
|
|
6308
6312
|
max?: number;
|
6309
6313
|
placeholder?: string;
|
6310
6314
|
unit?: React.ReactNode;
|
6311
|
-
validator?: (
|
6315
|
+
validator?: (input: string) => boolean;
|
6316
|
+
onValidateChangeFailed?: (invalidInput: string) => void;
|
6312
6317
|
multilines?: boolean;
|
6313
6318
|
throttlePropertyChangedNotification?: boolean;
|
6314
6319
|
throttlePropertyChangedNotificationDelay?: number;
|
6315
6320
|
disabled?: boolean;
|
6316
6321
|
}
|
6317
|
-
|
6318
|
-
|
6322
|
+
interface ITextInputLineComponentState {
|
6323
|
+
input: string;
|
6319
6324
|
dragging: boolean;
|
6320
|
-
|
6325
|
+
inputValid: boolean;
|
6326
|
+
}
|
6327
|
+
export class TextInputLineComponent extends React.Component<ITextInputLineComponentProps, ITextInputLineComponentState> {
|
6321
6328
|
private _localChange;
|
6322
6329
|
constructor(props: ITextInputLineComponentProps);
|
6323
6330
|
componentWillUnmount(): void;
|
6324
|
-
shouldComponentUpdate(nextProps: ITextInputLineComponentProps, nextState:
|
6325
|
-
value: string;
|
6326
|
-
dragging: boolean;
|
6327
|
-
}): boolean;
|
6331
|
+
shouldComponentUpdate(nextProps: ITextInputLineComponentProps, nextState: ITextInputLineComponentState): boolean;
|
6328
6332
|
raiseOnPropertyChanged(newValue: string, previousValue: string): void;
|
6329
6333
|
getCurrentNumericValue(value: string): number;
|
6330
|
-
|
6334
|
+
updateInput(input: string): void;
|
6335
|
+
updateValue(adjustedInput?: string, updateState?: boolean): void;
|
6331
6336
|
incrementValue(amount: number): void;
|
6332
6337
|
onKeyDown(event: React.KeyboardEvent): void;
|
6333
6338
|
|
6334
6339
|
}
|
6340
|
+
export {};
|
6335
6341
|
|
6336
6342
|
}
|
6337
6343
|
declare module "@babylonjs/inspector/lines/targetsProxy" {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@babylonjs/inspector",
|
3
|
-
"version": "7.
|
3
|
+
"version": "7.51.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.51.0",
|
36
|
+
"@babylonjs/gui": "^7.51.0",
|
37
|
+
"@babylonjs/gui-editor": "^7.51.0",
|
38
|
+
"@babylonjs/loaders": "^7.51.0",
|
39
|
+
"@babylonjs/materials": "^7.51.0",
|
40
|
+
"@babylonjs/serializers": "^7.51.0",
|
41
41
|
"@lts/gui": "1.0.0",
|
42
42
|
"react": "^17.0.2",
|
43
43
|
"react-dom": "^17.0.2"
|