@babylonjs/inspector 5.0.0-beta.1 → 5.0.0-beta.12
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/babylon.inspector.bundle.max.js +1327 -846
- package/babylon.inspector.bundle.max.js.map +1 -1
- package/babylon.inspector.module.d.ts +139 -52
- package/package.json +7 -7
@@ -411,6 +411,9 @@ declare module "@babylonjs/inspector/sharedUiComponents/lines/colorPickerCompone
|
|
411
411
|
constructor(props: IColorPickerComponentProps);
|
412
412
|
syncPositions(): void;
|
413
413
|
shouldComponentUpdate(nextProps: IColorPickerComponentProps, nextState: IColorPickerComponentState): boolean;
|
414
|
+
getHexString(props?: Readonly<IColorPickerComponentProps> & Readonly<{
|
415
|
+
children?: React.ReactNode;
|
416
|
+
}>): string;
|
414
417
|
componentDidUpdate(): void;
|
415
418
|
componentDidMount(): void;
|
416
419
|
render(): JSX.Element;
|
@@ -425,6 +428,20 @@ declare module "@babylonjs/inspector/sharedUiComponents/propertyChangedEvent" {
|
|
425
428
|
allowNullValue?: boolean;
|
426
429
|
}
|
427
430
|
}
|
431
|
+
declare module "@babylonjs/inspector/sharedUiComponents/lines/targetsProxy" {
|
432
|
+
import { PropertyChangedEvent } from "@babylonjs/inspector/sharedUiComponents/propertyChangedEvent";
|
433
|
+
import { Observable } from "@babylonjs/core/Misc/observable";
|
434
|
+
export const conflictingValuesPlaceholder = "\u2014";
|
435
|
+
/**
|
436
|
+
*
|
437
|
+
* @param propertyName the property that the input changes
|
438
|
+
* @param targets a list of selected targets
|
439
|
+
* @param defaultValue the value that should be returned when two targets have conflicting values
|
440
|
+
* @param setter an optional setter function to override the default setter behavior
|
441
|
+
* @returns a proxy object that can be passed as a target into the input
|
442
|
+
*/
|
443
|
+
export function makeTargetsProxy<Type>(targets: Type[], onPropertyChangedObservable?: Observable<PropertyChangedEvent>, getProperty?: (target: Type, property: keyof Type) => any): any;
|
444
|
+
}
|
428
445
|
declare module "@babylonjs/inspector/sharedUiComponents/lines/checkBoxLineComponent" {
|
429
446
|
import * as React from "react";
|
430
447
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
@@ -446,6 +463,7 @@ declare module "@babylonjs/inspector/sharedUiComponents/lines/checkBoxLineCompon
|
|
446
463
|
export class CheckBoxLineComponent extends React.Component<ICheckBoxLineComponentProps, {
|
447
464
|
isSelected: boolean;
|
448
465
|
isDisabled?: boolean;
|
466
|
+
isConflict: boolean;
|
449
467
|
}> {
|
450
468
|
private static _UniqueIdSeed;
|
451
469
|
private _uniqueId;
|
@@ -454,6 +472,7 @@ declare module "@babylonjs/inspector/sharedUiComponents/lines/checkBoxLineCompon
|
|
454
472
|
shouldComponentUpdate(nextProps: ICheckBoxLineComponentProps, nextState: {
|
455
473
|
isSelected: boolean;
|
456
474
|
isDisabled: boolean;
|
475
|
+
isConflict: boolean;
|
457
476
|
}): boolean;
|
458
477
|
onChange(): void;
|
459
478
|
render(): JSX.Element;
|
@@ -524,6 +543,8 @@ declare module "@babylonjs/inspector/components/graph/canvasGraphService" {
|
|
524
543
|
* Force resets the position in the data, effectively returning to the most current data.
|
525
544
|
*/
|
526
545
|
resetDataPosition(): void;
|
546
|
+
private _prevPointById;
|
547
|
+
private _prevValueById;
|
527
548
|
/**
|
528
549
|
* This method draws the data and sets up the appropriate scales.
|
529
550
|
*/
|
@@ -720,6 +741,10 @@ declare module "@babylonjs/inspector/components/graph/canvasGraphComponent" {
|
|
720
741
|
layoutObservable?: Observable<IPerfLayoutSize>;
|
721
742
|
returnToPlayheadObservable?: Observable<void>;
|
722
743
|
onVisibleRangeChangedObservable?: Observable<IVisibleRangeChangedObservableProps>;
|
744
|
+
initialGraphSize?: {
|
745
|
+
width: number;
|
746
|
+
height: number;
|
747
|
+
};
|
723
748
|
}
|
724
749
|
export const CanvasGraphComponent: React.FC<ICanvasGraphComponentProps>;
|
725
750
|
}
|
@@ -734,6 +759,10 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/performanceViewe
|
|
734
759
|
layoutObservable: Observable<IPerfLayoutSize>;
|
735
760
|
returnToLiveObservable: Observable<void>;
|
736
761
|
performanceCollector: PerformanceViewerCollector;
|
762
|
+
initialGraphSize?: {
|
763
|
+
width: number;
|
764
|
+
height: number;
|
765
|
+
};
|
737
766
|
}
|
738
767
|
export const PerformanceViewerPopupComponent: React.FC<IPerformanceViewerPopupComponentProps>;
|
739
768
|
}
|
@@ -781,6 +810,7 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/re
|
|
781
810
|
}
|
782
811
|
declare module "@babylonjs/inspector/components/actionTabs/tabs/debugTabComponent" {
|
783
812
|
import { PaneComponent, IPaneComponentProps } from "@babylonjs/inspector/components/actionTabs/paneComponent";
|
813
|
+
import "@babylonjs/core/Physics/physicsEngineComponent";
|
784
814
|
export class DebugTabComponent extends PaneComponent {
|
785
815
|
private _physicsViewersEnabled;
|
786
816
|
constructor(props: IPaneComponentProps);
|
@@ -823,6 +853,9 @@ declare module "@babylonjs/inspector/sharedUiComponents/lines/floatLineComponent
|
|
823
853
|
icon?: string;
|
824
854
|
iconLabel?: string;
|
825
855
|
defaultValue?: number;
|
856
|
+
unit?: string;
|
857
|
+
onUnitClicked?: () => void;
|
858
|
+
unitLocked?: boolean;
|
826
859
|
}
|
827
860
|
export class FloatLineComponent extends React.Component<IFloatLineComponentProps, {
|
828
861
|
value: string;
|
@@ -831,6 +864,7 @@ declare module "@babylonjs/inspector/sharedUiComponents/lines/floatLineComponent
|
|
831
864
|
private _store;
|
832
865
|
constructor(props: IFloatLineComponentProps);
|
833
866
|
componentWillUnmount(): void;
|
867
|
+
getValueString(value: any): string;
|
834
868
|
shouldComponentUpdate(nextProps: IFloatLineComponentProps, nextState: {
|
835
869
|
value: string;
|
836
870
|
}): boolean;
|
@@ -939,6 +973,19 @@ declare module "@babylonjs/inspector/sharedUiComponents/lines/numericInputCompon
|
|
939
973
|
render(): JSX.Element;
|
940
974
|
}
|
941
975
|
}
|
976
|
+
declare module "@babylonjs/inspector/sharedUiComponents/lines/inputArrowsComponent" {
|
977
|
+
import * as React from "react";
|
978
|
+
interface IInputArrowsComponentProps {
|
979
|
+
incrementValue: (amount: number) => void;
|
980
|
+
setDragging: (dragging: boolean) => void;
|
981
|
+
}
|
982
|
+
export class InputArrowsComponent extends React.Component<IInputArrowsComponentProps> {
|
983
|
+
private _arrowsRef;
|
984
|
+
private _drag;
|
985
|
+
private _releaseListener;
|
986
|
+
render(): JSX.Element;
|
987
|
+
}
|
988
|
+
}
|
942
989
|
declare module "@babylonjs/inspector/sharedUiComponents/lines/textInputLineComponent" {
|
943
990
|
import * as React from "react";
|
944
991
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
@@ -957,62 +1004,96 @@ declare module "@babylonjs/inspector/sharedUiComponents/lines/textInputLineCompo
|
|
957
1004
|
noUnderline?: boolean;
|
958
1005
|
numbersOnly?: boolean;
|
959
1006
|
delayInput?: boolean;
|
1007
|
+
unit?: string;
|
1008
|
+
onUnitClicked?: (unit: string) => void;
|
1009
|
+
unitLocked?: boolean;
|
1010
|
+
arrows?: boolean;
|
1011
|
+
arrowsIncrement?: (amount: number) => void;
|
1012
|
+
step?: number;
|
960
1013
|
}
|
961
1014
|
export class TextInputLineComponent extends React.Component<ITextInputLineComponentProps, {
|
962
1015
|
value: string;
|
1016
|
+
dragging: boolean;
|
963
1017
|
}> {
|
964
1018
|
private _localChange;
|
965
1019
|
constructor(props: ITextInputLineComponentProps);
|
966
1020
|
componentWillUnmount(): void;
|
967
1021
|
shouldComponentUpdate(nextProps: ITextInputLineComponentProps, nextState: {
|
968
1022
|
value: string;
|
1023
|
+
dragging: boolean;
|
969
1024
|
}): boolean;
|
970
1025
|
raiseOnPropertyChanged(newValue: string, previousValue: string): void;
|
971
1026
|
updateValue(value: string): void;
|
1027
|
+
incrementValue(amount: number): void;
|
1028
|
+
onKeyDown(event: React.KeyboardEvent): void;
|
972
1029
|
render(): JSX.Element;
|
973
1030
|
}
|
974
1031
|
}
|
975
|
-
declare module "@babylonjs/inspector/sharedUiComponents/lines/
|
1032
|
+
declare module "@babylonjs/inspector/sharedUiComponents/lines/colorLineComponent" {
|
976
1033
|
import * as React from "react";
|
977
1034
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
1035
|
+
import { Color4 } from "@babylonjs/core/Maths/math.color";
|
978
1036
|
import { PropertyChangedEvent } from "@babylonjs/inspector/sharedUiComponents/propertyChangedEvent";
|
979
|
-
import { Color3, Color4 } from "@babylonjs/core/Maths/math.color";
|
980
1037
|
import { LockObject } from "@babylonjs/inspector/sharedUiComponents/tabs/propertyGrids/lockObject";
|
981
|
-
export interface
|
1038
|
+
export interface IColorLineComponentProps {
|
982
1039
|
label: string;
|
983
|
-
target
|
1040
|
+
target?: any;
|
984
1041
|
propertyName: string;
|
985
1042
|
onPropertyChangedObservable?: Observable<PropertyChangedEvent>;
|
1043
|
+
onChange?: () => void;
|
986
1044
|
isLinear?: boolean;
|
987
1045
|
icon?: string;
|
988
|
-
lockObject?: LockObject;
|
989
1046
|
iconLabel?: string;
|
990
|
-
|
1047
|
+
lockObject?: LockObject;
|
1048
|
+
disableAlpha?: boolean;
|
991
1049
|
}
|
992
|
-
|
1050
|
+
interface IColorLineComponentState {
|
993
1051
|
isExpanded: boolean;
|
994
|
-
color:
|
995
|
-
|
996
|
-
}
|
997
|
-
|
998
|
-
constructor(props:
|
999
|
-
|
1000
|
-
|
1001
|
-
|
1002
|
-
|
1003
|
-
|
1004
|
-
|
1005
|
-
|
1052
|
+
color: Color4;
|
1053
|
+
colorString: string;
|
1054
|
+
}
|
1055
|
+
export class ColorLineComponent extends React.Component<IColorLineComponentProps, IColorLineComponentState> {
|
1056
|
+
constructor(props: IColorLineComponentProps);
|
1057
|
+
shouldComponentUpdate(nextProps: IColorLineComponentProps, nextState: IColorLineComponentState): boolean;
|
1058
|
+
getValue(props?: Readonly<IColorLineComponentProps> & Readonly<{
|
1059
|
+
children?: React.ReactNode;
|
1060
|
+
}>): Color4;
|
1061
|
+
getValueAsString(props?: Readonly<IColorLineComponentProps> & Readonly<{
|
1062
|
+
children?: React.ReactNode;
|
1063
|
+
}>): string;
|
1064
|
+
setColorFromString(colorString: string): void;
|
1065
|
+
setColor(color: Color4): void;
|
1066
|
+
updateColor(newColor: Color4): void;
|
1006
1067
|
switchExpandState(): void;
|
1007
|
-
raiseOnPropertyChanged(previousValue: Color3 | Color4): void;
|
1008
1068
|
updateStateR(value: number): void;
|
1009
1069
|
updateStateG(value: number): void;
|
1010
1070
|
updateStateB(value: number): void;
|
1071
|
+
updateStateA(value: number): void;
|
1011
1072
|
copyToClipboard(): void;
|
1012
|
-
|
1013
|
-
|
1014
|
-
private
|
1015
|
-
private
|
1073
|
+
get colorString(): string;
|
1074
|
+
set colorString(_: string);
|
1075
|
+
private convertToColor;
|
1076
|
+
private toColor3;
|
1077
|
+
render(): JSX.Element;
|
1078
|
+
}
|
1079
|
+
}
|
1080
|
+
declare module "@babylonjs/inspector/sharedUiComponents/lines/color3LineComponent" {
|
1081
|
+
import * as React from "react";
|
1082
|
+
import { Observable } from "@babylonjs/core/Misc/observable";
|
1083
|
+
import { PropertyChangedEvent } from "@babylonjs/inspector/sharedUiComponents/propertyChangedEvent";
|
1084
|
+
import { LockObject } from "@babylonjs/inspector/sharedUiComponents/tabs/propertyGrids/lockObject";
|
1085
|
+
export interface IColor3LineComponentProps {
|
1086
|
+
label: string;
|
1087
|
+
target: any;
|
1088
|
+
propertyName: string;
|
1089
|
+
onPropertyChangedObservable?: Observable<PropertyChangedEvent>;
|
1090
|
+
isLinear?: boolean;
|
1091
|
+
icon?: string;
|
1092
|
+
lockObject?: LockObject;
|
1093
|
+
iconLabel?: string;
|
1094
|
+
onValueChange?: (value: string) => void;
|
1095
|
+
}
|
1096
|
+
export class Color3LineComponent extends React.Component<IColor3LineComponentProps> {
|
1016
1097
|
render(): JSX.Element;
|
1017
1098
|
}
|
1018
1099
|
}
|
@@ -1140,6 +1221,7 @@ declare module "@babylonjs/inspector/components/popupComponent" {
|
|
1140
1221
|
private _host;
|
1141
1222
|
constructor(props: IPopupComponentProps);
|
1142
1223
|
componentDidMount(): void;
|
1224
|
+
onBeforeUnloadListener: () => void;
|
1143
1225
|
openPopup(): void;
|
1144
1226
|
componentWillUnmount(): void;
|
1145
1227
|
getWindow(): Window | null;
|
@@ -1277,6 +1359,11 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/an
|
|
1277
1359
|
import { IAnimatable } from "@babylonjs/core/Animations/animatable.interface";
|
1278
1360
|
import { AnimationGroup, TargetedAnimation } from "@babylonjs/core/Animations/animationGroup";
|
1279
1361
|
import { AnimationKeyInterpolation } from "@babylonjs/core/Animations/animationKey";
|
1362
|
+
export interface IActiveAnimationChangedOptions {
|
1363
|
+
evaluateKeys?: boolean;
|
1364
|
+
frame?: boolean;
|
1365
|
+
range?: boolean;
|
1366
|
+
}
|
1280
1367
|
export class Context {
|
1281
1368
|
title: string;
|
1282
1369
|
animations: Nullable<Animation[] | TargetedAnimation[]>;
|
@@ -1294,13 +1381,14 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/an
|
|
1294
1381
|
activeFrame: number;
|
1295
1382
|
fromKey: number;
|
1296
1383
|
toKey: number;
|
1384
|
+
useExistingPlayRange: boolean;
|
1297
1385
|
forwardAnimation: boolean;
|
1298
1386
|
isPlaying: boolean;
|
1299
1387
|
clipLength: number;
|
1300
1388
|
referenceMinFrame: number;
|
1301
1389
|
referenceMaxFrame: number;
|
1302
1390
|
focusedInput: boolean;
|
1303
|
-
onActiveAnimationChanged: Observable<
|
1391
|
+
onActiveAnimationChanged: Observable<IActiveAnimationChangedOptions>;
|
1304
1392
|
onActiveKeyPointChanged: Observable<void>;
|
1305
1393
|
onHostWindowResized: Observable<void>;
|
1306
1394
|
onSelectAllKeys: Observable<void>;
|
@@ -1339,6 +1427,9 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/an
|
|
1339
1427
|
from: number;
|
1340
1428
|
to: number;
|
1341
1429
|
}>;
|
1430
|
+
lockLastFrameValue: boolean;
|
1431
|
+
lockLastFrameFrame: boolean;
|
1432
|
+
onActiveKeyDataChanged: Observable<number>;
|
1342
1433
|
prepare(): void;
|
1343
1434
|
play(forward: boolean): void;
|
1344
1435
|
stop(): void;
|
@@ -1362,6 +1453,7 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/an
|
|
1362
1453
|
animationIndex: number;
|
1363
1454
|
keyIndex: number;
|
1364
1455
|
} | null;
|
1456
|
+
hasActiveQuaternionAnimationKeyPoints(): boolean;
|
1365
1457
|
}
|
1366
1458
|
}
|
1367
1459
|
declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/animations/curveEditor/controls/textInputComponent" {
|
@@ -1527,7 +1619,8 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/an
|
|
1527
1619
|
interface ITopBarComponentState {
|
1528
1620
|
keyFrameValue: string;
|
1529
1621
|
keyValue: string;
|
1530
|
-
|
1622
|
+
frameControlEnabled: boolean;
|
1623
|
+
valueControlEnabled: boolean;
|
1531
1624
|
}
|
1532
1625
|
export class TopBarComponent extends React.Component<ITopBarComponentProps, ITopBarComponentState> {
|
1533
1626
|
private _onFrameSetObserver;
|
@@ -1620,6 +1713,7 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/an
|
|
1620
1713
|
private _pointerIsDown;
|
1621
1714
|
private _sourcePointerX;
|
1622
1715
|
private _sourcePointerY;
|
1716
|
+
private _selectionMade;
|
1623
1717
|
private _selectionStartX;
|
1624
1718
|
private _selectionStartY;
|
1625
1719
|
private _onActiveAnimationChangedObserver;
|
@@ -1636,7 +1730,7 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/an
|
|
1636
1730
|
private _invertY;
|
1637
1731
|
private _buildFrameIntervalAxis;
|
1638
1732
|
private _buildYAxis;
|
1639
|
-
private
|
1733
|
+
private _frameFromActiveKeys;
|
1640
1734
|
private _dropKeyFrames;
|
1641
1735
|
private _onPointerDown;
|
1642
1736
|
private _onPointerMove;
|
@@ -2662,6 +2756,8 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/ma
|
|
2662
2756
|
import { TextureLinkLineComponent } from "@babylonjs/inspector/components/actionTabs/lines/textureLinkLineComponent";
|
2663
2757
|
import { LockObject } from "@babylonjs/inspector/sharedUiComponents/tabs/propertyGrids/lockObject";
|
2664
2758
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
2759
|
+
import "@babylonjs/core/Rendering/prePassRendererSceneComponent";
|
2760
|
+
import "@babylonjs/core/Rendering/subSurfaceSceneComponent";
|
2665
2761
|
interface IPBRMaterialPropertyGridComponentProps {
|
2666
2762
|
globalState: GlobalState;
|
2667
2763
|
material: PBRMaterial;
|
@@ -2727,6 +2823,7 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/sc
|
|
2727
2823
|
import { PropertyChangedEvent } from "@babylonjs/inspector/components/propertyChangedEvent";
|
2728
2824
|
import { LockObject } from "@babylonjs/inspector/sharedUiComponents/tabs/propertyGrids/lockObject";
|
2729
2825
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
2826
|
+
import "@babylonjs/core/Physics/physicsEngineComponent";
|
2730
2827
|
interface IScenePropertyGridComponentProps {
|
2731
2828
|
globalState: GlobalState;
|
2732
2829
|
scene: Scene;
|
@@ -2940,6 +3037,7 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/me
|
|
2940
3037
|
import { PropertyChangedEvent } from "@babylonjs/inspector/components/propertyChangedEvent";
|
2941
3038
|
import { LockObject } from "@babylonjs/inspector/sharedUiComponents/tabs/propertyGrids/lockObject";
|
2942
3039
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
3040
|
+
import "@babylonjs/core/Physics/physicsEngineComponent";
|
2943
3041
|
interface IMeshPropertyGridComponentProps {
|
2944
3042
|
globalState: GlobalState;
|
2945
3043
|
mesh: Mesh;
|
@@ -3015,14 +3113,15 @@ declare module "@babylonjs/inspector/sharedUiComponents/tabs/propertyGrids/gui/c
|
|
3015
3113
|
import { Control } from "@babylonjs/gui/2D/controls/control";
|
3016
3114
|
import { LockObject } from "@babylonjs/inspector/sharedUiComponents/tabs/propertyGrids/lockObject";
|
3017
3115
|
interface ICommonControlPropertyGridComponentProps {
|
3018
|
-
|
3116
|
+
controls?: Control[];
|
3117
|
+
control?: Control;
|
3019
3118
|
lockObject: LockObject;
|
3020
3119
|
onPropertyChangedObservable?: Observable<PropertyChangedEvent>;
|
3021
3120
|
}
|
3022
3121
|
export class CommonControlPropertyGridComponent extends React.Component<ICommonControlPropertyGridComponentProps> {
|
3023
3122
|
constructor(props: ICommonControlPropertyGridComponentProps);
|
3024
|
-
renderGridInformation(): JSX.Element | null;
|
3025
|
-
render(): JSX.Element;
|
3123
|
+
renderGridInformation(control: Control): JSX.Element | null;
|
3124
|
+
render(): JSX.Element | undefined;
|
3026
3125
|
}
|
3027
3126
|
}
|
3028
3127
|
declare module "@babylonjs/inspector/sharedUiComponents/tabs/propertyGrids/gui/controlPropertyGridComponent" {
|
@@ -3227,7 +3326,7 @@ declare module "@babylonjs/inspector/sharedUiComponents/tabs/propertyGrids/gui/r
|
|
3227
3326
|
import { LockObject } from "@babylonjs/inspector/sharedUiComponents/tabs/propertyGrids/lockObject";
|
3228
3327
|
import { RadioButton } from "@babylonjs/gui/2D/controls/radioButton";
|
3229
3328
|
interface IRadioButtonPropertyGridComponentProps {
|
3230
|
-
|
3329
|
+
radioButtons: RadioButton[];
|
3231
3330
|
lockObject: LockObject;
|
3232
3331
|
onPropertyChangedObservable?: Observable<PropertyChangedEvent>;
|
3233
3332
|
}
|
@@ -3495,7 +3594,6 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/me
|
|
3495
3594
|
changeDisplayMode(): void;
|
3496
3595
|
changeDisplayOptions(option: string, value: number): void;
|
3497
3596
|
shouldComponentUpdate(nextProps: ISkeletonPropertyGridComponentProps): boolean;
|
3498
|
-
onOverrideMeshLink(): void;
|
3499
3597
|
render(): JSX.Element;
|
3500
3598
|
}
|
3501
3599
|
}
|
@@ -3662,36 +3760,20 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/gradientNodeProp
|
|
3662
3760
|
declare module "@babylonjs/inspector/sharedUiComponents/lines/color4LineComponent" {
|
3663
3761
|
import * as React from "react";
|
3664
3762
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
3665
|
-
import { Color4 } from "@babylonjs/core/Maths/math.color";
|
3666
3763
|
import { PropertyChangedEvent } from "@babylonjs/inspector/sharedUiComponents/propertyChangedEvent";
|
3764
|
+
import { LockObject } from "@babylonjs/inspector/sharedUiComponents/tabs/propertyGrids/lockObject";
|
3667
3765
|
export interface IColor4LineComponentProps {
|
3668
3766
|
label: string;
|
3669
|
-
target
|
3767
|
+
target?: any;
|
3670
3768
|
propertyName: string;
|
3671
3769
|
onPropertyChangedObservable?: Observable<PropertyChangedEvent>;
|
3672
3770
|
onChange?: () => void;
|
3673
3771
|
isLinear?: boolean;
|
3674
3772
|
icon?: string;
|
3675
3773
|
iconLabel?: string;
|
3774
|
+
lockObject?: LockObject;
|
3676
3775
|
}
|
3677
|
-
export class Color4LineComponent extends React.Component<IColor4LineComponentProps
|
3678
|
-
isExpanded: boolean;
|
3679
|
-
color: Color4;
|
3680
|
-
}> {
|
3681
|
-
private _localChange;
|
3682
|
-
constructor(props: IColor4LineComponentProps);
|
3683
|
-
shouldComponentUpdate(nextProps: IColor4LineComponentProps, nextState: {
|
3684
|
-
color: Color4;
|
3685
|
-
}): boolean;
|
3686
|
-
setPropertyValue(newColor: Color4): void;
|
3687
|
-
onChange(newValue: string): void;
|
3688
|
-
switchExpandState(): void;
|
3689
|
-
raiseOnPropertyChanged(previousValue: Color4): void;
|
3690
|
-
updateStateR(value: number): void;
|
3691
|
-
updateStateG(value: number): void;
|
3692
|
-
updateStateB(value: number): void;
|
3693
|
-
updateStateA(value: number): void;
|
3694
|
-
copyToClipboard(): void;
|
3776
|
+
export class Color4LineComponent extends React.Component<IColor4LineComponentProps> {
|
3695
3777
|
render(): JSX.Element;
|
3696
3778
|
}
|
3697
3779
|
}
|
@@ -4368,6 +4450,7 @@ declare module "@babylonjs/inspector/components/sceneExplorer/entities/meshTreeI
|
|
4368
4450
|
import { AbstractMesh } from "@babylonjs/core/Meshes/abstractMesh";
|
4369
4451
|
import * as React from "react";
|
4370
4452
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
4453
|
+
import "@babylonjs/core/Rendering/boundingBoxRenderer";
|
4371
4454
|
interface IMeshTreeItemComponentProps {
|
4372
4455
|
mesh: AbstractMesh;
|
4373
4456
|
extensibilityGroups?: IExplorerExtensibilityGroup[];
|
@@ -4789,6 +4872,7 @@ declare module "@babylonjs/inspector/components/sceneExplorer/entities/sceneTree
|
|
4789
4872
|
isSelected: boolean;
|
4790
4873
|
isInPickingMode: boolean;
|
4791
4874
|
}): boolean;
|
4875
|
+
updateGizmoAutoPicking(isInPickingMode: boolean): void;
|
4792
4876
|
componentDidMount(): void;
|
4793
4877
|
componentWillUnmount(): void;
|
4794
4878
|
onSelect(): void;
|
@@ -4803,6 +4887,9 @@ declare module "@babylonjs/inspector/components/sceneExplorer/sceneExplorerCompo
|
|
4803
4887
|
import { IExplorerExtensibilityGroup } from "@babylonjs/core/Debug/debugLayer";
|
4804
4888
|
import { Scene } from "@babylonjs/core/scene";
|
4805
4889
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
4890
|
+
import "@babylonjs/core/Sprites/spriteSceneComponent";
|
4891
|
+
import "@babylonjs/core/Audio/audioSceneComponent";
|
4892
|
+
import "@babylonjs/core/PostProcesses/RenderPipeline/postProcessRenderPipelineManagerSceneComponent";
|
4806
4893
|
interface ISceneExplorerFilterComponentProps {
|
4807
4894
|
onFilter: (filter: string) => void;
|
4808
4895
|
}
|
package/package.json
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
},
|
5
5
|
"name": "@babylonjs/inspector",
|
6
6
|
"description": "The Babylon.js inspector.",
|
7
|
-
"version": "5.0.0-beta.
|
7
|
+
"version": "5.0.0-beta.12",
|
8
8
|
"repository": {
|
9
9
|
"type": "git",
|
10
10
|
"url": "https://github.com/BabylonJS/Babylon.js.git"
|
@@ -27,12 +27,12 @@
|
|
27
27
|
],
|
28
28
|
"license": "Apache-2.0",
|
29
29
|
"dependencies": {
|
30
|
-
"@babylonjs/core": "5.0.0-beta.
|
31
|
-
"@babylonjs/gui": "5.0.0-beta.
|
32
|
-
"@babylonjs/loaders": "5.0.0-beta.
|
33
|
-
"@babylonjs/materials": "5.0.0-beta.
|
34
|
-
"@babylonjs/serializers": "5.0.0-beta.
|
35
|
-
"babylonjs-gltf2interface": "5.0.0-beta.
|
30
|
+
"@babylonjs/core": "5.0.0-beta.12",
|
31
|
+
"@babylonjs/gui": "5.0.0-beta.12",
|
32
|
+
"@babylonjs/loaders": "5.0.0-beta.12",
|
33
|
+
"@babylonjs/materials": "5.0.0-beta.12",
|
34
|
+
"@babylonjs/serializers": "5.0.0-beta.12",
|
35
|
+
"babylonjs-gltf2interface": "5.0.0-beta.12",
|
36
36
|
"tslib": "^2.3.1"
|
37
37
|
},
|
38
38
|
"peerDependencies": {
|