@babylonjs/inspector 5.0.0-beta.1 → 5.0.0-beta.10
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 +1216 -842
- package/babylon.inspector.bundle.max.js.map +1 -1
- package/babylon.inspector.module.d.ts +119 -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;
|
@@ -957,6 +991,9 @@ declare module "@babylonjs/inspector/sharedUiComponents/lines/textInputLineCompo
|
|
957
991
|
noUnderline?: boolean;
|
958
992
|
numbersOnly?: boolean;
|
959
993
|
delayInput?: boolean;
|
994
|
+
unit?: string;
|
995
|
+
onUnitClicked?: (unit: string) => void;
|
996
|
+
unitLocked?: boolean;
|
960
997
|
}
|
961
998
|
export class TextInputLineComponent extends React.Component<ITextInputLineComponentProps, {
|
962
999
|
value: string;
|
@@ -972,47 +1009,71 @@ declare module "@babylonjs/inspector/sharedUiComponents/lines/textInputLineCompo
|
|
972
1009
|
render(): JSX.Element;
|
973
1010
|
}
|
974
1011
|
}
|
975
|
-
declare module "@babylonjs/inspector/sharedUiComponents/lines/
|
1012
|
+
declare module "@babylonjs/inspector/sharedUiComponents/lines/colorLineComponent" {
|
976
1013
|
import * as React from "react";
|
977
1014
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
1015
|
+
import { Color4 } from "@babylonjs/core/Maths/math.color";
|
978
1016
|
import { PropertyChangedEvent } from "@babylonjs/inspector/sharedUiComponents/propertyChangedEvent";
|
979
|
-
import { Color3, Color4 } from "@babylonjs/core/Maths/math.color";
|
980
1017
|
import { LockObject } from "@babylonjs/inspector/sharedUiComponents/tabs/propertyGrids/lockObject";
|
981
|
-
export interface
|
1018
|
+
export interface IColorLineComponentProps {
|
982
1019
|
label: string;
|
983
|
-
target
|
1020
|
+
target?: any;
|
984
1021
|
propertyName: string;
|
985
1022
|
onPropertyChangedObservable?: Observable<PropertyChangedEvent>;
|
1023
|
+
onChange?: () => void;
|
986
1024
|
isLinear?: boolean;
|
987
1025
|
icon?: string;
|
988
|
-
lockObject?: LockObject;
|
989
1026
|
iconLabel?: string;
|
990
|
-
|
1027
|
+
lockObject?: LockObject;
|
1028
|
+
disableAlpha?: boolean;
|
991
1029
|
}
|
992
|
-
|
1030
|
+
interface IColorLineComponentState {
|
993
1031
|
isExpanded: boolean;
|
994
|
-
color:
|
995
|
-
|
996
|
-
}
|
997
|
-
|
998
|
-
constructor(props:
|
999
|
-
|
1000
|
-
|
1001
|
-
|
1002
|
-
|
1003
|
-
|
1004
|
-
|
1005
|
-
|
1032
|
+
color: Color4;
|
1033
|
+
colorString: string;
|
1034
|
+
}
|
1035
|
+
export class ColorLineComponent extends React.Component<IColorLineComponentProps, IColorLineComponentState> {
|
1036
|
+
constructor(props: IColorLineComponentProps);
|
1037
|
+
shouldComponentUpdate(nextProps: IColorLineComponentProps, nextState: IColorLineComponentState): boolean;
|
1038
|
+
getValue(props?: Readonly<IColorLineComponentProps> & Readonly<{
|
1039
|
+
children?: React.ReactNode;
|
1040
|
+
}>): Color4;
|
1041
|
+
getValueAsString(props?: Readonly<IColorLineComponentProps> & Readonly<{
|
1042
|
+
children?: React.ReactNode;
|
1043
|
+
}>): string;
|
1044
|
+
setColorFromString(colorString: string): void;
|
1045
|
+
setColor(color: Color4): void;
|
1046
|
+
updateColor(newColor: Color4): void;
|
1006
1047
|
switchExpandState(): void;
|
1007
|
-
raiseOnPropertyChanged(previousValue: Color3 | Color4): void;
|
1008
1048
|
updateStateR(value: number): void;
|
1009
1049
|
updateStateG(value: number): void;
|
1010
1050
|
updateStateB(value: number): void;
|
1051
|
+
updateStateA(value: number): void;
|
1011
1052
|
copyToClipboard(): void;
|
1012
|
-
|
1013
|
-
|
1014
|
-
private
|
1015
|
-
private
|
1053
|
+
get colorString(): string;
|
1054
|
+
set colorString(_: string);
|
1055
|
+
private convertToColor;
|
1056
|
+
private toColor3;
|
1057
|
+
render(): JSX.Element;
|
1058
|
+
}
|
1059
|
+
}
|
1060
|
+
declare module "@babylonjs/inspector/sharedUiComponents/lines/color3LineComponent" {
|
1061
|
+
import * as React from "react";
|
1062
|
+
import { Observable } from "@babylonjs/core/Misc/observable";
|
1063
|
+
import { PropertyChangedEvent } from "@babylonjs/inspector/sharedUiComponents/propertyChangedEvent";
|
1064
|
+
import { LockObject } from "@babylonjs/inspector/sharedUiComponents/tabs/propertyGrids/lockObject";
|
1065
|
+
export interface IColor3LineComponentProps {
|
1066
|
+
label: string;
|
1067
|
+
target: any;
|
1068
|
+
propertyName: string;
|
1069
|
+
onPropertyChangedObservable?: Observable<PropertyChangedEvent>;
|
1070
|
+
isLinear?: boolean;
|
1071
|
+
icon?: string;
|
1072
|
+
lockObject?: LockObject;
|
1073
|
+
iconLabel?: string;
|
1074
|
+
onValueChange?: (value: string) => void;
|
1075
|
+
}
|
1076
|
+
export class Color3LineComponent extends React.Component<IColor3LineComponentProps> {
|
1016
1077
|
render(): JSX.Element;
|
1017
1078
|
}
|
1018
1079
|
}
|
@@ -1140,6 +1201,7 @@ declare module "@babylonjs/inspector/components/popupComponent" {
|
|
1140
1201
|
private _host;
|
1141
1202
|
constructor(props: IPopupComponentProps);
|
1142
1203
|
componentDidMount(): void;
|
1204
|
+
onBeforeUnloadListener: () => void;
|
1143
1205
|
openPopup(): void;
|
1144
1206
|
componentWillUnmount(): void;
|
1145
1207
|
getWindow(): Window | null;
|
@@ -1277,6 +1339,11 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/an
|
|
1277
1339
|
import { IAnimatable } from "@babylonjs/core/Animations/animatable.interface";
|
1278
1340
|
import { AnimationGroup, TargetedAnimation } from "@babylonjs/core/Animations/animationGroup";
|
1279
1341
|
import { AnimationKeyInterpolation } from "@babylonjs/core/Animations/animationKey";
|
1342
|
+
export interface IActiveAnimationChangedOptions {
|
1343
|
+
evaluateKeys?: boolean;
|
1344
|
+
frame?: boolean;
|
1345
|
+
range?: boolean;
|
1346
|
+
}
|
1280
1347
|
export class Context {
|
1281
1348
|
title: string;
|
1282
1349
|
animations: Nullable<Animation[] | TargetedAnimation[]>;
|
@@ -1294,13 +1361,14 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/an
|
|
1294
1361
|
activeFrame: number;
|
1295
1362
|
fromKey: number;
|
1296
1363
|
toKey: number;
|
1364
|
+
useExistingPlayRange: boolean;
|
1297
1365
|
forwardAnimation: boolean;
|
1298
1366
|
isPlaying: boolean;
|
1299
1367
|
clipLength: number;
|
1300
1368
|
referenceMinFrame: number;
|
1301
1369
|
referenceMaxFrame: number;
|
1302
1370
|
focusedInput: boolean;
|
1303
|
-
onActiveAnimationChanged: Observable<
|
1371
|
+
onActiveAnimationChanged: Observable<IActiveAnimationChangedOptions>;
|
1304
1372
|
onActiveKeyPointChanged: Observable<void>;
|
1305
1373
|
onHostWindowResized: Observable<void>;
|
1306
1374
|
onSelectAllKeys: Observable<void>;
|
@@ -1339,6 +1407,9 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/an
|
|
1339
1407
|
from: number;
|
1340
1408
|
to: number;
|
1341
1409
|
}>;
|
1410
|
+
lockLastFrameValue: boolean;
|
1411
|
+
lockLastFrameFrame: boolean;
|
1412
|
+
onActiveKeyDataChanged: Observable<number>;
|
1342
1413
|
prepare(): void;
|
1343
1414
|
play(forward: boolean): void;
|
1344
1415
|
stop(): void;
|
@@ -1362,6 +1433,7 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/an
|
|
1362
1433
|
animationIndex: number;
|
1363
1434
|
keyIndex: number;
|
1364
1435
|
} | null;
|
1436
|
+
hasActiveQuaternionAnimationKeyPoints(): boolean;
|
1365
1437
|
}
|
1366
1438
|
}
|
1367
1439
|
declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/animations/curveEditor/controls/textInputComponent" {
|
@@ -1527,7 +1599,8 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/an
|
|
1527
1599
|
interface ITopBarComponentState {
|
1528
1600
|
keyFrameValue: string;
|
1529
1601
|
keyValue: string;
|
1530
|
-
|
1602
|
+
frameControlEnabled: boolean;
|
1603
|
+
valueControlEnabled: boolean;
|
1531
1604
|
}
|
1532
1605
|
export class TopBarComponent extends React.Component<ITopBarComponentProps, ITopBarComponentState> {
|
1533
1606
|
private _onFrameSetObserver;
|
@@ -1620,6 +1693,7 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/an
|
|
1620
1693
|
private _pointerIsDown;
|
1621
1694
|
private _sourcePointerX;
|
1622
1695
|
private _sourcePointerY;
|
1696
|
+
private _selectionMade;
|
1623
1697
|
private _selectionStartX;
|
1624
1698
|
private _selectionStartY;
|
1625
1699
|
private _onActiveAnimationChangedObserver;
|
@@ -1636,7 +1710,7 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/an
|
|
1636
1710
|
private _invertY;
|
1637
1711
|
private _buildFrameIntervalAxis;
|
1638
1712
|
private _buildYAxis;
|
1639
|
-
private
|
1713
|
+
private _frameFromActiveKeys;
|
1640
1714
|
private _dropKeyFrames;
|
1641
1715
|
private _onPointerDown;
|
1642
1716
|
private _onPointerMove;
|
@@ -2662,6 +2736,8 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/ma
|
|
2662
2736
|
import { TextureLinkLineComponent } from "@babylonjs/inspector/components/actionTabs/lines/textureLinkLineComponent";
|
2663
2737
|
import { LockObject } from "@babylonjs/inspector/sharedUiComponents/tabs/propertyGrids/lockObject";
|
2664
2738
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
2739
|
+
import "@babylonjs/core/Rendering/prePassRendererSceneComponent";
|
2740
|
+
import "@babylonjs/core/Rendering/subSurfaceSceneComponent";
|
2665
2741
|
interface IPBRMaterialPropertyGridComponentProps {
|
2666
2742
|
globalState: GlobalState;
|
2667
2743
|
material: PBRMaterial;
|
@@ -2727,6 +2803,7 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/sc
|
|
2727
2803
|
import { PropertyChangedEvent } from "@babylonjs/inspector/components/propertyChangedEvent";
|
2728
2804
|
import { LockObject } from "@babylonjs/inspector/sharedUiComponents/tabs/propertyGrids/lockObject";
|
2729
2805
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
2806
|
+
import "@babylonjs/core/Physics/physicsEngineComponent";
|
2730
2807
|
interface IScenePropertyGridComponentProps {
|
2731
2808
|
globalState: GlobalState;
|
2732
2809
|
scene: Scene;
|
@@ -2940,6 +3017,7 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/me
|
|
2940
3017
|
import { PropertyChangedEvent } from "@babylonjs/inspector/components/propertyChangedEvent";
|
2941
3018
|
import { LockObject } from "@babylonjs/inspector/sharedUiComponents/tabs/propertyGrids/lockObject";
|
2942
3019
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
3020
|
+
import "@babylonjs/core/Physics/physicsEngineComponent";
|
2943
3021
|
interface IMeshPropertyGridComponentProps {
|
2944
3022
|
globalState: GlobalState;
|
2945
3023
|
mesh: Mesh;
|
@@ -3015,14 +3093,15 @@ declare module "@babylonjs/inspector/sharedUiComponents/tabs/propertyGrids/gui/c
|
|
3015
3093
|
import { Control } from "@babylonjs/gui/2D/controls/control";
|
3016
3094
|
import { LockObject } from "@babylonjs/inspector/sharedUiComponents/tabs/propertyGrids/lockObject";
|
3017
3095
|
interface ICommonControlPropertyGridComponentProps {
|
3018
|
-
|
3096
|
+
controls?: Control[];
|
3097
|
+
control?: Control;
|
3019
3098
|
lockObject: LockObject;
|
3020
3099
|
onPropertyChangedObservable?: Observable<PropertyChangedEvent>;
|
3021
3100
|
}
|
3022
3101
|
export class CommonControlPropertyGridComponent extends React.Component<ICommonControlPropertyGridComponentProps> {
|
3023
3102
|
constructor(props: ICommonControlPropertyGridComponentProps);
|
3024
|
-
renderGridInformation(): JSX.Element | null;
|
3025
|
-
render(): JSX.Element;
|
3103
|
+
renderGridInformation(control: Control): JSX.Element | null;
|
3104
|
+
render(): JSX.Element | undefined;
|
3026
3105
|
}
|
3027
3106
|
}
|
3028
3107
|
declare module "@babylonjs/inspector/sharedUiComponents/tabs/propertyGrids/gui/controlPropertyGridComponent" {
|
@@ -3227,7 +3306,7 @@ declare module "@babylonjs/inspector/sharedUiComponents/tabs/propertyGrids/gui/r
|
|
3227
3306
|
import { LockObject } from "@babylonjs/inspector/sharedUiComponents/tabs/propertyGrids/lockObject";
|
3228
3307
|
import { RadioButton } from "@babylonjs/gui/2D/controls/radioButton";
|
3229
3308
|
interface IRadioButtonPropertyGridComponentProps {
|
3230
|
-
|
3309
|
+
radioButtons: RadioButton[];
|
3231
3310
|
lockObject: LockObject;
|
3232
3311
|
onPropertyChangedObservable?: Observable<PropertyChangedEvent>;
|
3233
3312
|
}
|
@@ -3495,7 +3574,6 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/me
|
|
3495
3574
|
changeDisplayMode(): void;
|
3496
3575
|
changeDisplayOptions(option: string, value: number): void;
|
3497
3576
|
shouldComponentUpdate(nextProps: ISkeletonPropertyGridComponentProps): boolean;
|
3498
|
-
onOverrideMeshLink(): void;
|
3499
3577
|
render(): JSX.Element;
|
3500
3578
|
}
|
3501
3579
|
}
|
@@ -3662,36 +3740,20 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/gradientNodeProp
|
|
3662
3740
|
declare module "@babylonjs/inspector/sharedUiComponents/lines/color4LineComponent" {
|
3663
3741
|
import * as React from "react";
|
3664
3742
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
3665
|
-
import { Color4 } from "@babylonjs/core/Maths/math.color";
|
3666
3743
|
import { PropertyChangedEvent } from "@babylonjs/inspector/sharedUiComponents/propertyChangedEvent";
|
3744
|
+
import { LockObject } from "@babylonjs/inspector/sharedUiComponents/tabs/propertyGrids/lockObject";
|
3667
3745
|
export interface IColor4LineComponentProps {
|
3668
3746
|
label: string;
|
3669
|
-
target
|
3747
|
+
target?: any;
|
3670
3748
|
propertyName: string;
|
3671
3749
|
onPropertyChangedObservable?: Observable<PropertyChangedEvent>;
|
3672
3750
|
onChange?: () => void;
|
3673
3751
|
isLinear?: boolean;
|
3674
3752
|
icon?: string;
|
3675
3753
|
iconLabel?: string;
|
3754
|
+
lockObject?: LockObject;
|
3676
3755
|
}
|
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;
|
3756
|
+
export class Color4LineComponent extends React.Component<IColor4LineComponentProps> {
|
3695
3757
|
render(): JSX.Element;
|
3696
3758
|
}
|
3697
3759
|
}
|
@@ -4368,6 +4430,7 @@ declare module "@babylonjs/inspector/components/sceneExplorer/entities/meshTreeI
|
|
4368
4430
|
import { AbstractMesh } from "@babylonjs/core/Meshes/abstractMesh";
|
4369
4431
|
import * as React from "react";
|
4370
4432
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
4433
|
+
import "@babylonjs/core/Rendering/boundingBoxRenderer";
|
4371
4434
|
interface IMeshTreeItemComponentProps {
|
4372
4435
|
mesh: AbstractMesh;
|
4373
4436
|
extensibilityGroups?: IExplorerExtensibilityGroup[];
|
@@ -4789,6 +4852,7 @@ declare module "@babylonjs/inspector/components/sceneExplorer/entities/sceneTree
|
|
4789
4852
|
isSelected: boolean;
|
4790
4853
|
isInPickingMode: boolean;
|
4791
4854
|
}): boolean;
|
4855
|
+
updateGizmoAutoPicking(isInPickingMode: boolean): void;
|
4792
4856
|
componentDidMount(): void;
|
4793
4857
|
componentWillUnmount(): void;
|
4794
4858
|
onSelect(): void;
|
@@ -4803,6 +4867,9 @@ declare module "@babylonjs/inspector/components/sceneExplorer/sceneExplorerCompo
|
|
4803
4867
|
import { IExplorerExtensibilityGroup } from "@babylonjs/core/Debug/debugLayer";
|
4804
4868
|
import { Scene } from "@babylonjs/core/scene";
|
4805
4869
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
4870
|
+
import "@babylonjs/core/Sprites/spriteSceneComponent";
|
4871
|
+
import "@babylonjs/core/Audio/audioSceneComponent";
|
4872
|
+
import "@babylonjs/core/PostProcesses/RenderPipeline/postProcessRenderPipelineManagerSceneComponent";
|
4806
4873
|
interface ISceneExplorerFilterComponentProps {
|
4807
4874
|
onFilter: (filter: string) => void;
|
4808
4875
|
}
|
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.10",
|
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.10",
|
31
|
+
"@babylonjs/gui": "5.0.0-beta.10",
|
32
|
+
"@babylonjs/loaders": "5.0.0-beta.10",
|
33
|
+
"@babylonjs/materials": "5.0.0-beta.10",
|
34
|
+
"@babylonjs/serializers": "5.0.0-beta.10",
|
35
|
+
"babylonjs-gltf2interface": "5.0.0-beta.10",
|
36
36
|
"tslib": "^2.3.1"
|
37
37
|
},
|
38
38
|
"peerDependencies": {
|