@babylonjs/inspector 5.0.0-alpha.63 → 5.0.0-alpha.64
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.
@@ -224,12 +224,14 @@ declare module "@babylonjs/inspector/sharedUiComponents/lines/fileButtonLineComp
|
|
224
224
|
}
|
225
225
|
declare module "@babylonjs/inspector/components/graph/graphSupportingTypes" {
|
226
226
|
import { IPerfDatasets } from "@babylonjs/core/Misc/interfaces/iPerfViewer";
|
227
|
+
import { Observable } from "@babylonjs/core/Misc/observable";
|
227
228
|
/**
|
228
|
-
* Defines a structure to hold max and
|
229
|
+
* Defines a structure to hold max, min and a optional current.
|
229
230
|
*/
|
230
231
|
export interface IPerfMinMax {
|
231
232
|
min: number;
|
232
233
|
max: number;
|
234
|
+
current?: number;
|
233
235
|
}
|
234
236
|
/**
|
235
237
|
* Defines structure of the object which contains information related to panning.
|
@@ -279,11 +281,15 @@ declare module "@babylonjs/inspector/components/graph/graphSupportingTypes" {
|
|
279
281
|
id: string;
|
280
282
|
text: string;
|
281
283
|
}
|
284
|
+
export interface IVisibleRangeChangedObservableProps {
|
285
|
+
valueMap: Map<string, IPerfMinMax>;
|
286
|
+
}
|
282
287
|
/**
|
283
288
|
* Defines what settings our canvas graphing service accepts
|
284
289
|
*/
|
285
290
|
export interface ICanvasGraphServiceSettings {
|
286
291
|
datasets: IPerfDatasets;
|
292
|
+
onVisibleRangeChangedObservable?: Observable<IVisibleRangeChangedObservableProps>;
|
287
293
|
}
|
288
294
|
/**
|
289
295
|
* Defines the structure representing the preprocessable tooltip information.
|
@@ -410,10 +416,56 @@ declare module "@babylonjs/inspector/sharedUiComponents/lines/colorPickerCompone
|
|
410
416
|
render(): JSX.Element;
|
411
417
|
}
|
412
418
|
}
|
419
|
+
declare module "@babylonjs/inspector/sharedUiComponents/propertyChangedEvent" {
|
420
|
+
export class PropertyChangedEvent {
|
421
|
+
object: any;
|
422
|
+
property: string;
|
423
|
+
value: any;
|
424
|
+
initialValue: any;
|
425
|
+
allowNullValue?: boolean;
|
426
|
+
}
|
427
|
+
}
|
428
|
+
declare module "@babylonjs/inspector/sharedUiComponents/lines/checkBoxLineComponent" {
|
429
|
+
import * as React from "react";
|
430
|
+
import { Observable } from "@babylonjs/core/Misc/observable";
|
431
|
+
import { PropertyChangedEvent } from "@babylonjs/inspector/sharedUiComponents/propertyChangedEvent";
|
432
|
+
export interface ICheckBoxLineComponentProps {
|
433
|
+
label?: string;
|
434
|
+
target?: any;
|
435
|
+
propertyName?: string;
|
436
|
+
isSelected?: () => boolean;
|
437
|
+
onSelect?: (value: boolean) => void;
|
438
|
+
onValueChanged?: () => void;
|
439
|
+
onPropertyChangedObservable?: Observable<PropertyChangedEvent>;
|
440
|
+
disabled?: boolean;
|
441
|
+
icon?: string;
|
442
|
+
iconLabel?: string;
|
443
|
+
faIcons?: {
|
444
|
+
};
|
445
|
+
}
|
446
|
+
export class CheckBoxLineComponent extends React.Component<ICheckBoxLineComponentProps, {
|
447
|
+
isSelected: boolean;
|
448
|
+
isDisabled?: boolean;
|
449
|
+
}> {
|
450
|
+
private static _UniqueIdSeed;
|
451
|
+
private _uniqueId;
|
452
|
+
private _localChange;
|
453
|
+
constructor(props: ICheckBoxLineComponentProps);
|
454
|
+
shouldComponentUpdate(nextProps: ICheckBoxLineComponentProps, nextState: {
|
455
|
+
isSelected: boolean;
|
456
|
+
isDisabled: boolean;
|
457
|
+
}): boolean;
|
458
|
+
onChange(): void;
|
459
|
+
render(): JSX.Element;
|
460
|
+
}
|
461
|
+
}
|
413
462
|
declare module "@babylonjs/inspector/components/actionTabs/tabs/performanceViewer/performanceViewerSidebarComponent" {
|
414
463
|
import { PerformanceViewerCollector } from "@babylonjs/core/Misc/PerformanceViewer/performanceViewerCollector";
|
464
|
+
import { Observable } from "@babylonjs/core/Misc/observable";
|
465
|
+
import { IVisibleRangeChangedObservableProps } from "@babylonjs/inspector/components/graph/graphSupportingTypes";
|
415
466
|
interface IPerformanceViewerSidebarComponentProps {
|
416
467
|
collector: PerformanceViewerCollector;
|
468
|
+
onVisibleRangeChangedObservable?: Observable<IVisibleRangeChangedObservableProps>;
|
417
469
|
}
|
418
470
|
export const PerformanceViewerSidebarComponent: (props: IPerformanceViewerSidebarComponentProps) => JSX.Element;
|
419
471
|
}
|
@@ -447,6 +499,7 @@ declare module "@babylonjs/inspector/components/graph/canvasGraphService" {
|
|
447
499
|
private _tickerItems;
|
448
500
|
private _preprocessedTooltipInfo;
|
449
501
|
private _numberOfTickers;
|
502
|
+
private _onVisibleRangeChangedObservable?;
|
450
503
|
private readonly _addonFontLineHeight;
|
451
504
|
private readonly _defaultLineHeight;
|
452
505
|
readonly datasets: IPerfDatasets;
|
@@ -658,7 +711,7 @@ declare module "@babylonjs/inspector/components/graph/canvasGraphComponent" {
|
|
658
711
|
import { PerformanceViewerCollector } from "@babylonjs/core/Misc/PerformanceViewer/performanceViewerCollector";
|
659
712
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
660
713
|
import * as React from "react";
|
661
|
-
import { IPerfLayoutSize } from "@babylonjs/inspector/components/graph/graphSupportingTypes";
|
714
|
+
import { IPerfLayoutSize, IVisibleRangeChangedObservableProps } from "@babylonjs/inspector/components/graph/graphSupportingTypes";
|
662
715
|
import { Scene } from "@babylonjs/core/scene";
|
663
716
|
interface ICanvasGraphComponentProps {
|
664
717
|
id: string;
|
@@ -666,6 +719,7 @@ declare module "@babylonjs/inspector/components/graph/canvasGraphComponent" {
|
|
666
719
|
collector: PerformanceViewerCollector;
|
667
720
|
layoutObservable?: Observable<IPerfLayoutSize>;
|
668
721
|
returnToPlayheadObservable?: Observable<void>;
|
722
|
+
onVisibleRangeChangedObservable?: Observable<IVisibleRangeChangedObservableProps>;
|
669
723
|
}
|
670
724
|
export const CanvasGraphComponent: React.FC<ICanvasGraphComponentProps>;
|
671
725
|
}
|
@@ -707,47 +761,6 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/statisticsTabCom
|
|
707
761
|
render(): JSX.Element | null;
|
708
762
|
}
|
709
763
|
}
|
710
|
-
declare module "@babylonjs/inspector/sharedUiComponents/propertyChangedEvent" {
|
711
|
-
export class PropertyChangedEvent {
|
712
|
-
object: any;
|
713
|
-
property: string;
|
714
|
-
value: any;
|
715
|
-
initialValue: any;
|
716
|
-
allowNullValue?: boolean;
|
717
|
-
}
|
718
|
-
}
|
719
|
-
declare module "@babylonjs/inspector/sharedUiComponents/lines/checkBoxLineComponent" {
|
720
|
-
import * as React from "react";
|
721
|
-
import { Observable } from "@babylonjs/core/Misc/observable";
|
722
|
-
import { PropertyChangedEvent } from "@babylonjs/inspector/sharedUiComponents/propertyChangedEvent";
|
723
|
-
export interface ICheckBoxLineComponentProps {
|
724
|
-
label: string;
|
725
|
-
target?: any;
|
726
|
-
propertyName?: string;
|
727
|
-
isSelected?: () => boolean;
|
728
|
-
onSelect?: (value: boolean) => void;
|
729
|
-
onValueChanged?: () => void;
|
730
|
-
onPropertyChangedObservable?: Observable<PropertyChangedEvent>;
|
731
|
-
disabled?: boolean;
|
732
|
-
icon?: string;
|
733
|
-
iconLabel?: string;
|
734
|
-
}
|
735
|
-
export class CheckBoxLineComponent extends React.Component<ICheckBoxLineComponentProps, {
|
736
|
-
isSelected: boolean;
|
737
|
-
isDisabled?: boolean;
|
738
|
-
}> {
|
739
|
-
private static _UniqueIdSeed;
|
740
|
-
private _uniqueId;
|
741
|
-
private _localChange;
|
742
|
-
constructor(props: ICheckBoxLineComponentProps);
|
743
|
-
shouldComponentUpdate(nextProps: ICheckBoxLineComponentProps, nextState: {
|
744
|
-
isSelected: boolean;
|
745
|
-
isDisabled: boolean;
|
746
|
-
}): boolean;
|
747
|
-
onChange(): void;
|
748
|
-
render(): JSX.Element;
|
749
|
-
}
|
750
|
-
}
|
751
764
|
declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/renderGridPropertyGridComponent" {
|
752
765
|
import * as React from "react";
|
753
766
|
import { Scene } from "@babylonjs/core/scene";
|
@@ -809,6 +822,7 @@ declare module "@babylonjs/inspector/sharedUiComponents/lines/floatLineComponent
|
|
809
822
|
onEnter?: (newValue: number) => void;
|
810
823
|
icon?: string;
|
811
824
|
iconLabel?: string;
|
825
|
+
defaultValue?: number;
|
812
826
|
}
|
813
827
|
export class FloatLineComponent extends React.Component<IFloatLineComponentProps, {
|
814
828
|
value: string;
|
@@ -942,6 +956,7 @@ declare module "@babylonjs/inspector/sharedUiComponents/lines/textInputLineCompo
|
|
942
956
|
iconLabel?: string;
|
943
957
|
noUnderline?: boolean;
|
944
958
|
numbersOnly?: boolean;
|
959
|
+
delayInput?: boolean;
|
945
960
|
}
|
946
961
|
export class TextInputLineComponent extends React.Component<ITextInputLineComponentProps, {
|
947
962
|
value: string;
|
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-alpha.
|
7
|
+
"version": "5.0.0-alpha.64",
|
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-alpha.
|
31
|
-
"@babylonjs/gui": "5.0.0-alpha.
|
32
|
-
"@babylonjs/loaders": "5.0.0-alpha.
|
33
|
-
"@babylonjs/materials": "5.0.0-alpha.
|
34
|
-
"@babylonjs/serializers": "5.0.0-alpha.
|
35
|
-
"babylonjs-gltf2interface": "5.0.0-alpha.
|
30
|
+
"@babylonjs/core": "5.0.0-alpha.64",
|
31
|
+
"@babylonjs/gui": "5.0.0-alpha.64",
|
32
|
+
"@babylonjs/loaders": "5.0.0-alpha.64",
|
33
|
+
"@babylonjs/materials": "5.0.0-alpha.64",
|
34
|
+
"@babylonjs/serializers": "5.0.0-alpha.64",
|
35
|
+
"babylonjs-gltf2interface": "5.0.0-alpha.64",
|
36
36
|
"tslib": "^2.3.1"
|
37
37
|
},
|
38
38
|
"peerDependencies": {
|