@babylonjs/inspector 5.0.0-alpha.61 → 5.0.0-alpha.65
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 +1571 -1381
- package/babylon.inspector.bundle.max.js.map +1 -1
- package/babylon.inspector.module.d.ts +343 -274
- package/package.json +7 -7
@@ -74,6 +74,8 @@ declare module "@babylonjs/inspector/components/globalState" {
|
|
74
74
|
enableLightGizmo(light: Light, enable?: boolean): void;
|
75
75
|
cameraGizmos: Array<CameraGizmo>;
|
76
76
|
enableCameraGizmo(camera: Camera, enable?: boolean): void;
|
77
|
+
onSceneExplorerClosedObservable: Observable<void>;
|
78
|
+
onActionTabsClosedObservable: Observable<void>;
|
77
79
|
}
|
78
80
|
}
|
79
81
|
declare module "@babylonjs/inspector/components/actionTabs/paneComponent" {
|
@@ -222,12 +224,14 @@ declare module "@babylonjs/inspector/sharedUiComponents/lines/fileButtonLineComp
|
|
222
224
|
}
|
223
225
|
declare module "@babylonjs/inspector/components/graph/graphSupportingTypes" {
|
224
226
|
import { IPerfDatasets } from "@babylonjs/core/Misc/interfaces/iPerfViewer";
|
227
|
+
import { Observable } from "@babylonjs/core/Misc/observable";
|
225
228
|
/**
|
226
|
-
* Defines a structure to hold max and
|
229
|
+
* Defines a structure to hold max, min and a optional current.
|
227
230
|
*/
|
228
231
|
export interface IPerfMinMax {
|
229
232
|
min: number;
|
230
233
|
max: number;
|
234
|
+
current?: number;
|
231
235
|
}
|
232
236
|
/**
|
233
237
|
* Defines structure of the object which contains information related to panning.
|
@@ -277,11 +281,15 @@ declare module "@babylonjs/inspector/components/graph/graphSupportingTypes" {
|
|
277
281
|
id: string;
|
278
282
|
text: string;
|
279
283
|
}
|
284
|
+
export interface IVisibleRangeChangedObservableProps {
|
285
|
+
valueMap: Map<string, IPerfMinMax>;
|
286
|
+
}
|
280
287
|
/**
|
281
288
|
* Defines what settings our canvas graphing service accepts
|
282
289
|
*/
|
283
290
|
export interface ICanvasGraphServiceSettings {
|
284
291
|
datasets: IPerfDatasets;
|
292
|
+
onVisibleRangeChangedObservable?: Observable<IVisibleRangeChangedObservableProps>;
|
285
293
|
}
|
286
294
|
/**
|
287
295
|
* Defines the structure representing the preprocessable tooltip information.
|
@@ -306,6 +314,169 @@ declare module "@babylonjs/inspector/components/graph/graphSupportingTypes" {
|
|
306
314
|
Hours = 3
|
307
315
|
}
|
308
316
|
}
|
317
|
+
declare module "@babylonjs/inspector/sharedUiComponents/colorPicker/colorComponentEntry" {
|
318
|
+
import * as React from "react";
|
319
|
+
export interface IColorComponentEntryProps {
|
320
|
+
value: number;
|
321
|
+
label: string;
|
322
|
+
max?: number;
|
323
|
+
min?: number;
|
324
|
+
onChange: (value: number) => void;
|
325
|
+
}
|
326
|
+
export class ColorComponentEntry extends React.Component<IColorComponentEntryProps> {
|
327
|
+
constructor(props: IColorComponentEntryProps);
|
328
|
+
updateValue(valueString: string): void;
|
329
|
+
render(): JSX.Element;
|
330
|
+
}
|
331
|
+
}
|
332
|
+
declare module "@babylonjs/inspector/sharedUiComponents/colorPicker/hexColor" {
|
333
|
+
import * as React from "react";
|
334
|
+
export interface IHexColorProps {
|
335
|
+
value: string;
|
336
|
+
expectedLength: number;
|
337
|
+
onChange: (value: string) => void;
|
338
|
+
}
|
339
|
+
export class HexColor extends React.Component<IHexColorProps, {
|
340
|
+
hex: string;
|
341
|
+
}> {
|
342
|
+
constructor(props: IHexColorProps);
|
343
|
+
shouldComponentUpdate(nextProps: IHexColorProps, nextState: {
|
344
|
+
hex: string;
|
345
|
+
}): boolean;
|
346
|
+
updateHexValue(valueString: string): void;
|
347
|
+
render(): JSX.Element;
|
348
|
+
}
|
349
|
+
}
|
350
|
+
declare module "@babylonjs/inspector/sharedUiComponents/colorPicker/colorPicker" {
|
351
|
+
import * as React from "react";
|
352
|
+
import { Color3, Color4 } from "@babylonjs/core/Maths/math.color";
|
353
|
+
/**
|
354
|
+
* Interface used to specify creation options for color picker
|
355
|
+
*/
|
356
|
+
export interface IColorPickerProps {
|
357
|
+
color: Color3 | Color4;
|
358
|
+
linearhint?: boolean;
|
359
|
+
debugMode?: boolean;
|
360
|
+
onColorChanged?: (color: Color3 | Color4) => void;
|
361
|
+
}
|
362
|
+
/**
|
363
|
+
* Interface used to specify creation options for color picker
|
364
|
+
*/
|
365
|
+
export interface IColorPickerState {
|
366
|
+
color: Color3;
|
367
|
+
alpha: number;
|
368
|
+
}
|
369
|
+
/**
|
370
|
+
* Class used to create a color picker
|
371
|
+
*/
|
372
|
+
export class ColorPicker extends React.Component<IColorPickerProps, IColorPickerState> {
|
373
|
+
private _saturationRef;
|
374
|
+
private _hueRef;
|
375
|
+
private _isSaturationPointerDown;
|
376
|
+
private _isHuePointerDown;
|
377
|
+
constructor(props: IColorPickerProps);
|
378
|
+
shouldComponentUpdate(nextProps: IColorPickerProps, nextState: IColorPickerState): boolean;
|
379
|
+
onSaturationPointerDown(evt: React.PointerEvent<HTMLDivElement>): void;
|
380
|
+
onSaturationPointerUp(evt: React.PointerEvent<HTMLDivElement>): void;
|
381
|
+
onSaturationPointerMove(evt: React.PointerEvent<HTMLDivElement>): void;
|
382
|
+
onHuePointerDown(evt: React.PointerEvent<HTMLDivElement>): void;
|
383
|
+
onHuePointerUp(evt: React.PointerEvent<HTMLDivElement>): void;
|
384
|
+
onHuePointerMove(evt: React.PointerEvent<HTMLDivElement>): void;
|
385
|
+
private _evaluateSaturation;
|
386
|
+
private _evaluateHue;
|
387
|
+
componentDidUpdate(): void;
|
388
|
+
raiseOnColorChanged(): void;
|
389
|
+
render(): JSX.Element;
|
390
|
+
}
|
391
|
+
}
|
392
|
+
declare module "@babylonjs/inspector/sharedUiComponents/lines/colorPickerComponent" {
|
393
|
+
import * as React from "react";
|
394
|
+
import { Color4, Color3 } from "@babylonjs/core/Maths/math.color";
|
395
|
+
export interface IColorPickerComponentProps {
|
396
|
+
value: Color4 | Color3;
|
397
|
+
linearHint?: boolean;
|
398
|
+
onColorChanged: (newOne: string) => void;
|
399
|
+
icon?: string;
|
400
|
+
iconLabel?: string;
|
401
|
+
shouldPopRight?: boolean;
|
402
|
+
}
|
403
|
+
interface IColorPickerComponentState {
|
404
|
+
pickerEnabled: boolean;
|
405
|
+
color: Color3 | Color4;
|
406
|
+
hex: string;
|
407
|
+
}
|
408
|
+
export class ColorPickerLineComponent extends React.Component<IColorPickerComponentProps, IColorPickerComponentState> {
|
409
|
+
private _floatRef;
|
410
|
+
private _floatHostRef;
|
411
|
+
constructor(props: IColorPickerComponentProps);
|
412
|
+
syncPositions(): void;
|
413
|
+
shouldComponentUpdate(nextProps: IColorPickerComponentProps, nextState: IColorPickerComponentState): boolean;
|
414
|
+
componentDidUpdate(): void;
|
415
|
+
componentDidMount(): void;
|
416
|
+
render(): JSX.Element;
|
417
|
+
}
|
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
|
+
}
|
462
|
+
declare module "@babylonjs/inspector/components/actionTabs/tabs/performanceViewer/performanceViewerSidebarComponent" {
|
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";
|
466
|
+
interface IPerformanceViewerSidebarComponentProps {
|
467
|
+
collector: PerformanceViewerCollector;
|
468
|
+
onVisibleRangeChangedObservable?: Observable<IVisibleRangeChangedObservableProps>;
|
469
|
+
}
|
470
|
+
export const PerformanceViewerSidebarComponent: (props: IPerformanceViewerSidebarComponentProps) => JSX.Element;
|
471
|
+
}
|
472
|
+
declare module "@babylonjs/inspector/components/actionTabs/tabs/performanceViewer/performancePlayheadButtonComponent" {
|
473
|
+
import { Observable } from "@babylonjs/core/Misc/observable";
|
474
|
+
import * as React from "react";
|
475
|
+
interface IPerformancePlayheadButtonProps {
|
476
|
+
returnToPlayhead: Observable<void>;
|
477
|
+
}
|
478
|
+
export const PerformancePlayheadButtonComponent: React.FC<IPerformancePlayheadButtonProps>;
|
479
|
+
}
|
309
480
|
declare module "@babylonjs/inspector/components/graph/canvasGraphService" {
|
310
481
|
import { ICanvasGraphServiceSettings, IPerfLayoutSize } from "@babylonjs/inspector/components/graph/graphSupportingTypes";
|
311
482
|
import { IPerfDatasets, IPerfMetadata } from "@babylonjs/core/Misc/interfaces/iPerfViewer";
|
@@ -328,6 +499,7 @@ declare module "@babylonjs/inspector/components/graph/canvasGraphService" {
|
|
328
499
|
private _tickerItems;
|
329
500
|
private _preprocessedTooltipInfo;
|
330
501
|
private _numberOfTickers;
|
502
|
+
private _onVisibleRangeChangedObservable?;
|
331
503
|
private readonly _addonFontLineHeight;
|
332
504
|
private readonly _defaultLineHeight;
|
333
505
|
readonly datasets: IPerfDatasets;
|
@@ -536,174 +708,46 @@ declare module "@babylonjs/inspector/components/graph/canvasGraphService" {
|
|
536
708
|
}
|
537
709
|
}
|
538
710
|
declare module "@babylonjs/inspector/components/graph/canvasGraphComponent" {
|
539
|
-
import { PerformanceViewerCollector } from
|
540
|
-
import { Observable } from
|
541
|
-
import * as React from
|
542
|
-
import { IPerfLayoutSize } from "@babylonjs/inspector/components/graph/graphSupportingTypes";
|
543
|
-
import { Scene } from
|
711
|
+
import { PerformanceViewerCollector } from "@babylonjs/core/Misc/PerformanceViewer/performanceViewerCollector";
|
712
|
+
import { Observable } from "@babylonjs/core/Misc/observable";
|
713
|
+
import * as React from "react";
|
714
|
+
import { IPerfLayoutSize, IVisibleRangeChangedObservableProps } from "@babylonjs/inspector/components/graph/graphSupportingTypes";
|
715
|
+
import { Scene } from "@babylonjs/core/scene";
|
544
716
|
interface ICanvasGraphComponentProps {
|
545
717
|
id: string;
|
546
718
|
scene: Scene;
|
547
719
|
collector: PerformanceViewerCollector;
|
548
720
|
layoutObservable?: Observable<IPerfLayoutSize>;
|
549
721
|
returnToPlayheadObservable?: Observable<void>;
|
722
|
+
onVisibleRangeChangedObservable?: Observable<IVisibleRangeChangedObservableProps>;
|
550
723
|
}
|
551
724
|
export const CanvasGraphComponent: React.FC<ICanvasGraphComponentProps>;
|
552
725
|
}
|
553
|
-
declare module "@babylonjs/inspector/components/
|
554
|
-
import * as React from "react";
|
555
|
-
interface IPopupComponentProps {
|
556
|
-
id: string;
|
557
|
-
title: string;
|
558
|
-
size: {
|
559
|
-
width: number;
|
560
|
-
height: number;
|
561
|
-
};
|
562
|
-
onOpen?: (window: Window) => void;
|
563
|
-
onClose: (window: Window) => void;
|
564
|
-
onResize?: () => void;
|
565
|
-
onKeyUp?: (evt: KeyboardEvent) => void;
|
566
|
-
onKeyDown?: (evt: KeyboardEvent) => void;
|
567
|
-
}
|
568
|
-
export class PopupComponent extends React.Component<IPopupComponentProps, {
|
569
|
-
isComponentMounted: boolean;
|
570
|
-
blockedByBrowser: boolean;
|
571
|
-
}> {
|
572
|
-
private _container;
|
573
|
-
private _window;
|
574
|
-
private _host;
|
575
|
-
constructor(props: IPopupComponentProps);
|
576
|
-
componentDidMount(): void;
|
577
|
-
openPopup(): void;
|
578
|
-
componentWillUnmount(): void;
|
579
|
-
getWindow(): Window | null;
|
580
|
-
render(): React.ReactPortal | null;
|
581
|
-
}
|
582
|
-
}
|
583
|
-
declare module "@babylonjs/inspector/sharedUiComponents/colorPicker/colorComponentEntry" {
|
726
|
+
declare module "@babylonjs/inspector/components/actionTabs/tabs/performanceViewer/performanceViewerPopupComponent" {
|
584
727
|
import * as React from "react";
|
585
|
-
|
586
|
-
|
587
|
-
|
588
|
-
|
589
|
-
|
590
|
-
|
591
|
-
|
592
|
-
|
593
|
-
|
594
|
-
updateValue(valueString: string): void;
|
595
|
-
render(): JSX.Element;
|
596
|
-
}
|
597
|
-
}
|
598
|
-
declare module "@babylonjs/inspector/sharedUiComponents/colorPicker/hexColor" {
|
599
|
-
import * as React from "react";
|
600
|
-
export interface IHexColorProps {
|
601
|
-
value: string;
|
602
|
-
expectedLength: number;
|
603
|
-
onChange: (value: string) => void;
|
604
|
-
}
|
605
|
-
export class HexColor extends React.Component<IHexColorProps, {
|
606
|
-
hex: string;
|
607
|
-
}> {
|
608
|
-
constructor(props: IHexColorProps);
|
609
|
-
shouldComponentUpdate(nextProps: IHexColorProps, nextState: {
|
610
|
-
hex: string;
|
611
|
-
}): boolean;
|
612
|
-
updateHexValue(valueString: string): void;
|
613
|
-
render(): JSX.Element;
|
614
|
-
}
|
615
|
-
}
|
616
|
-
declare module "@babylonjs/inspector/sharedUiComponents/colorPicker/colorPicker" {
|
617
|
-
import * as React from "react";
|
618
|
-
import { Color3, Color4 } from "@babylonjs/core/Maths/math.color";
|
619
|
-
/**
|
620
|
-
* Interface used to specify creation options for color picker
|
621
|
-
*/
|
622
|
-
export interface IColorPickerProps {
|
623
|
-
color: Color3 | Color4;
|
624
|
-
linearhint?: boolean;
|
625
|
-
debugMode?: boolean;
|
626
|
-
onColorChanged?: (color: Color3 | Color4) => void;
|
627
|
-
}
|
628
|
-
/**
|
629
|
-
* Interface used to specify creation options for color picker
|
630
|
-
*/
|
631
|
-
export interface IColorPickerState {
|
632
|
-
color: Color3;
|
633
|
-
alpha: number;
|
634
|
-
}
|
635
|
-
/**
|
636
|
-
* Class used to create a color picker
|
637
|
-
*/
|
638
|
-
export class ColorPicker extends React.Component<IColorPickerProps, IColorPickerState> {
|
639
|
-
private _saturationRef;
|
640
|
-
private _hueRef;
|
641
|
-
private _isSaturationPointerDown;
|
642
|
-
private _isHuePointerDown;
|
643
|
-
constructor(props: IColorPickerProps);
|
644
|
-
shouldComponentUpdate(nextProps: IColorPickerProps, nextState: IColorPickerState): boolean;
|
645
|
-
onSaturationPointerDown(evt: React.PointerEvent<HTMLDivElement>): void;
|
646
|
-
onSaturationPointerUp(evt: React.PointerEvent<HTMLDivElement>): void;
|
647
|
-
onSaturationPointerMove(evt: React.PointerEvent<HTMLDivElement>): void;
|
648
|
-
onHuePointerDown(evt: React.PointerEvent<HTMLDivElement>): void;
|
649
|
-
onHuePointerUp(evt: React.PointerEvent<HTMLDivElement>): void;
|
650
|
-
onHuePointerMove(evt: React.PointerEvent<HTMLDivElement>): void;
|
651
|
-
private _evaluateSaturation;
|
652
|
-
private _evaluateHue;
|
653
|
-
componentDidUpdate(): void;
|
654
|
-
raiseOnColorChanged(): void;
|
655
|
-
render(): JSX.Element;
|
656
|
-
}
|
657
|
-
}
|
658
|
-
declare module "@babylonjs/inspector/sharedUiComponents/lines/colorPickerComponent" {
|
659
|
-
import * as React from "react";
|
660
|
-
import { Color4, Color3 } from '@babylonjs/core/Maths/math.color';
|
661
|
-
export interface IColorPickerComponentProps {
|
662
|
-
value: Color4 | Color3;
|
663
|
-
linearHint?: boolean;
|
664
|
-
onColorChanged: (newOne: string) => void;
|
665
|
-
icon?: string;
|
666
|
-
iconLabel?: string;
|
667
|
-
shouldPopRight?: boolean;
|
668
|
-
}
|
669
|
-
interface IColorPickerComponentState {
|
670
|
-
pickerEnabled: boolean;
|
671
|
-
color: Color3 | Color4;
|
672
|
-
hex: string;
|
673
|
-
}
|
674
|
-
export class ColorPickerLineComponent extends React.Component<IColorPickerComponentProps, IColorPickerComponentState> {
|
675
|
-
private _floatRef;
|
676
|
-
private _floatHostRef;
|
677
|
-
constructor(props: IColorPickerComponentProps);
|
678
|
-
syncPositions(): void;
|
679
|
-
shouldComponentUpdate(nextProps: IColorPickerComponentProps, nextState: IColorPickerComponentState): boolean;
|
680
|
-
componentDidUpdate(): void;
|
681
|
-
componentDidMount(): void;
|
682
|
-
render(): JSX.Element;
|
683
|
-
}
|
684
|
-
}
|
685
|
-
declare module "@babylonjs/inspector/components/actionTabs/tabs/performanceViewer/performanceViewerSidebarComponent" {
|
686
|
-
import { PerformanceViewerCollector } from '@babylonjs/core/Misc/PerformanceViewer/performanceViewerCollector';
|
687
|
-
interface IPerformanceViewerSidebarComponentProps {
|
688
|
-
collector: PerformanceViewerCollector;
|
689
|
-
}
|
690
|
-
export const PerformanceViewerSidebarComponent: (props: IPerformanceViewerSidebarComponentProps) => JSX.Element;
|
691
|
-
}
|
692
|
-
declare module "@babylonjs/inspector/components/actionTabs/tabs/performanceViewer/performancePlayheadButtonComponent" {
|
693
|
-
import { Observable } from '@babylonjs/core/Misc/observable';
|
694
|
-
import * as React from 'react';
|
695
|
-
interface IPerformancePlayheadButtonProps {
|
696
|
-
returnToPlayhead: Observable<void>;
|
728
|
+
import { Scene } from "@babylonjs/core/scene";
|
729
|
+
import { Observable } from "@babylonjs/core/Misc/observable";
|
730
|
+
import { PerformanceViewerCollector } from "@babylonjs/core/Misc/PerformanceViewer/performanceViewerCollector";
|
731
|
+
import { IPerfLayoutSize } from "@babylonjs/inspector/components/graph/graphSupportingTypes";
|
732
|
+
interface IPerformanceViewerPopupComponentProps {
|
733
|
+
scene: Scene;
|
734
|
+
layoutObservable: Observable<IPerfLayoutSize>;
|
735
|
+
returnToLiveObservable: Observable<void>;
|
736
|
+
performanceCollector: PerformanceViewerCollector;
|
697
737
|
}
|
698
|
-
export const
|
738
|
+
export const PerformanceViewerPopupComponent: React.FC<IPerformanceViewerPopupComponentProps>;
|
699
739
|
}
|
700
740
|
declare module "@babylonjs/inspector/components/actionTabs/tabs/performanceViewer/performanceViewerComponent" {
|
701
741
|
import { Scene } from "@babylonjs/core/scene";
|
702
742
|
import * as React from "react";
|
703
|
-
import
|
743
|
+
import "@babylonjs/core/Misc/PerformanceViewer/performanceViewerSceneExtension";
|
704
744
|
interface IPerformanceViewerComponentProps {
|
705
745
|
scene: Scene;
|
706
746
|
}
|
747
|
+
export enum IPerfMetadataCategory {
|
748
|
+
Count = "Count",
|
749
|
+
FrameSteps = "Frame Steps Duration"
|
750
|
+
}
|
707
751
|
export const PerformanceViewerComponent: React.FC<IPerformanceViewerComponentProps>;
|
708
752
|
}
|
709
753
|
declare module "@babylonjs/inspector/components/actionTabs/tabs/statisticsTabComponent" {
|
@@ -717,47 +761,6 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/statisticsTabCom
|
|
717
761
|
render(): JSX.Element | null;
|
718
762
|
}
|
719
763
|
}
|
720
|
-
declare module "@babylonjs/inspector/sharedUiComponents/propertyChangedEvent" {
|
721
|
-
export class PropertyChangedEvent {
|
722
|
-
object: any;
|
723
|
-
property: string;
|
724
|
-
value: any;
|
725
|
-
initialValue: any;
|
726
|
-
allowNullValue?: boolean;
|
727
|
-
}
|
728
|
-
}
|
729
|
-
declare module "@babylonjs/inspector/sharedUiComponents/lines/checkBoxLineComponent" {
|
730
|
-
import * as React from "react";
|
731
|
-
import { Observable } from "@babylonjs/core/Misc/observable";
|
732
|
-
import { PropertyChangedEvent } from "@babylonjs/inspector/sharedUiComponents/propertyChangedEvent";
|
733
|
-
export interface ICheckBoxLineComponentProps {
|
734
|
-
label: string;
|
735
|
-
target?: any;
|
736
|
-
propertyName?: string;
|
737
|
-
isSelected?: () => boolean;
|
738
|
-
onSelect?: (value: boolean) => void;
|
739
|
-
onValueChanged?: () => void;
|
740
|
-
onPropertyChangedObservable?: Observable<PropertyChangedEvent>;
|
741
|
-
disabled?: boolean;
|
742
|
-
icon?: string;
|
743
|
-
iconLabel?: string;
|
744
|
-
}
|
745
|
-
export class CheckBoxLineComponent extends React.Component<ICheckBoxLineComponentProps, {
|
746
|
-
isSelected: boolean;
|
747
|
-
isDisabled?: boolean;
|
748
|
-
}> {
|
749
|
-
private static _UniqueIdSeed;
|
750
|
-
private _uniqueId;
|
751
|
-
private _localChange;
|
752
|
-
constructor(props: ICheckBoxLineComponentProps);
|
753
|
-
shouldComponentUpdate(nextProps: ICheckBoxLineComponentProps, nextState: {
|
754
|
-
isSelected: boolean;
|
755
|
-
isDisabled: boolean;
|
756
|
-
}): boolean;
|
757
|
-
onChange(): void;
|
758
|
-
render(): JSX.Element;
|
759
|
-
}
|
760
|
-
}
|
761
764
|
declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/renderGridPropertyGridComponent" {
|
762
765
|
import * as React from "react";
|
763
766
|
import { Scene } from "@babylonjs/core/scene";
|
@@ -819,6 +822,7 @@ declare module "@babylonjs/inspector/sharedUiComponents/lines/floatLineComponent
|
|
819
822
|
onEnter?: (newValue: number) => void;
|
820
823
|
icon?: string;
|
821
824
|
iconLabel?: string;
|
825
|
+
defaultValue?: number;
|
822
826
|
}
|
823
827
|
export class FloatLineComponent extends React.Component<IFloatLineComponentProps, {
|
824
828
|
value: string;
|
@@ -952,6 +956,7 @@ declare module "@babylonjs/inspector/sharedUiComponents/lines/textInputLineCompo
|
|
952
956
|
iconLabel?: string;
|
953
957
|
noUnderline?: boolean;
|
954
958
|
numbersOnly?: boolean;
|
959
|
+
delayInput?: boolean;
|
955
960
|
}
|
956
961
|
export class TextInputLineComponent extends React.Component<ITextInputLineComponentProps, {
|
957
962
|
value: string;
|
@@ -971,7 +976,7 @@ declare module "@babylonjs/inspector/sharedUiComponents/lines/color3LineComponen
|
|
971
976
|
import * as React from "react";
|
972
977
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
973
978
|
import { PropertyChangedEvent } from "@babylonjs/inspector/sharedUiComponents/propertyChangedEvent";
|
974
|
-
import { Color3, Color4 } from
|
979
|
+
import { Color3, Color4 } from "@babylonjs/core/Maths/math.color";
|
975
980
|
import { LockObject } from "@babylonjs/inspector/sharedUiComponents/tabs/propertyGrids/lockObject";
|
976
981
|
export interface IColor3LineComponentProps {
|
977
982
|
label: string;
|
@@ -1095,7 +1100,7 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/cu
|
|
1095
1100
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
1096
1101
|
import { PropertyChangedEvent } from "@babylonjs/inspector/components/propertyChangedEvent";
|
1097
1102
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
1098
|
-
import { IInspectable } from
|
1103
|
+
import { IInspectable } from "@babylonjs/core/Misc/iInspectable";
|
1099
1104
|
import { LockObject } from "@babylonjs/inspector/sharedUiComponents/tabs/propertyGrids/lockObject";
|
1100
1105
|
interface ICustomPropertyGridComponentProps {
|
1101
1106
|
globalState: GlobalState;
|
@@ -1111,6 +1116,36 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/cu
|
|
1111
1116
|
render(): JSX.Element | null;
|
1112
1117
|
}
|
1113
1118
|
}
|
1119
|
+
declare module "@babylonjs/inspector/components/popupComponent" {
|
1120
|
+
import * as React from "react";
|
1121
|
+
export interface IPopupComponentProps {
|
1122
|
+
id: string;
|
1123
|
+
title: string;
|
1124
|
+
size: {
|
1125
|
+
width: number;
|
1126
|
+
height: number;
|
1127
|
+
};
|
1128
|
+
onOpen?: (window: Window) => void;
|
1129
|
+
onClose: (window: Window) => void;
|
1130
|
+
onResize?: (window: Window) => void;
|
1131
|
+
onKeyUp?: (evt: KeyboardEvent) => void;
|
1132
|
+
onKeyDown?: (evt: KeyboardEvent) => void;
|
1133
|
+
}
|
1134
|
+
export class PopupComponent extends React.Component<IPopupComponentProps, {
|
1135
|
+
isComponentMounted: boolean;
|
1136
|
+
blockedByBrowser: boolean;
|
1137
|
+
}> {
|
1138
|
+
private _container;
|
1139
|
+
private _window;
|
1140
|
+
private _host;
|
1141
|
+
constructor(props: IPopupComponentProps);
|
1142
|
+
componentDidMount(): void;
|
1143
|
+
openPopup(): void;
|
1144
|
+
componentWillUnmount(): void;
|
1145
|
+
getWindow(): Window | null;
|
1146
|
+
render(): React.ReactPortal | null;
|
1147
|
+
}
|
1148
|
+
}
|
1114
1149
|
declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/animations/curveEditor/graph/curve" {
|
1115
1150
|
import { Animation } from "@babylonjs/core/Animations/animation";
|
1116
1151
|
import { AnimationKeyInterpolation } from "@babylonjs/core/Animations/animationKey";
|
@@ -1277,7 +1312,7 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/an
|
|
1277
1312
|
onValueSet: Observable<number>;
|
1278
1313
|
onValueManuallyEntered: Observable<number>;
|
1279
1314
|
onFrameRequired: Observable<void>;
|
1280
|
-
|
1315
|
+
onCreateOrUpdateKeyPointRequired: Observable<void>;
|
1281
1316
|
onFlattenTangentRequired: Observable<void>;
|
1282
1317
|
onLinearTangentRequired: Observable<void>;
|
1283
1318
|
onBreakTangentRequired: Observable<void>;
|
@@ -1318,6 +1353,15 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/an
|
|
1318
1353
|
getAnimationSortIndex(animation: Animation): number;
|
1319
1354
|
getPrevKey(): Nullable<number>;
|
1320
1355
|
getNextKey(): Nullable<number>;
|
1356
|
+
/**
|
1357
|
+
* If any current active animation has a key at the received frameNumber,
|
1358
|
+
* return the index of the animation in the active animation array, and
|
1359
|
+
* the index of the frame on the animation.
|
1360
|
+
*/
|
1361
|
+
getKeyAtAnyFrameIndex(frameNumber: number): {
|
1362
|
+
animationIndex: number;
|
1363
|
+
keyIndex: number;
|
1364
|
+
} | null;
|
1321
1365
|
}
|
1322
1366
|
}
|
1323
1367
|
declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/animations/curveEditor/controls/textInputComponent" {
|
@@ -1447,7 +1491,6 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/an
|
|
1447
1491
|
private _onClipLengthDecreasedObserver;
|
1448
1492
|
constructor(props: IBottomBarComponentProps);
|
1449
1493
|
private _changeClipLength;
|
1450
|
-
private _getKeyAtFrame;
|
1451
1494
|
componentWillUnmount(): void;
|
1452
1495
|
render(): JSX.Element;
|
1453
1496
|
}
|
@@ -2117,9 +2160,9 @@ declare module "@babylonjs/inspector/components/actionTabs/lines/textureLineComp
|
|
2117
2160
|
}
|
2118
2161
|
}
|
2119
2162
|
declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/materials/textures/toolBar" {
|
2120
|
-
import * as React from
|
2163
|
+
import * as React from "react";
|
2121
2164
|
import { IToolData, IToolType, IMetadata } from "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/materials/textures/textureEditorComponent";
|
2122
|
-
import { Color4 } from
|
2165
|
+
import { Color4 } from "@babylonjs/core/Maths/math.color";
|
2123
2166
|
export interface ITool extends IToolData {
|
2124
2167
|
instance: IToolType;
|
2125
2168
|
}
|
@@ -2147,12 +2190,12 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/ma
|
|
2147
2190
|
}
|
2148
2191
|
}
|
2149
2192
|
declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/materials/textures/channelsBar" {
|
2150
|
-
import * as React from
|
2193
|
+
import * as React from "react";
|
2151
2194
|
export interface IChannel {
|
2152
2195
|
visible: boolean;
|
2153
2196
|
editable: boolean;
|
2154
2197
|
name: string;
|
2155
|
-
id:
|
2198
|
+
id: "R" | "G" | "B" | "A";
|
2156
2199
|
icon: any;
|
2157
2200
|
}
|
2158
2201
|
interface IChannelsBarProps {
|
@@ -2289,10 +2332,10 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/ma
|
|
2289
2332
|
}
|
2290
2333
|
}
|
2291
2334
|
declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/materials/textures/propertiesBar" {
|
2292
|
-
import * as React from
|
2293
|
-
import { BaseTexture } from
|
2335
|
+
import * as React from "react";
|
2336
|
+
import { BaseTexture } from "@babylonjs/core/Materials/Textures/baseTexture";
|
2294
2337
|
import { IPixelData } from "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/materials/textures/textureCanvasManager";
|
2295
|
-
import { ISize } from
|
2338
|
+
import { ISize } from "@babylonjs/core/Maths/math.size";
|
2296
2339
|
interface IPropertiesBarProps {
|
2297
2340
|
texture: BaseTexture;
|
2298
2341
|
size: ISize;
|
@@ -2327,8 +2370,8 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/ma
|
|
2327
2370
|
}
|
2328
2371
|
}
|
2329
2372
|
declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/materials/textures/bottomBar" {
|
2330
|
-
import * as React from
|
2331
|
-
import { BaseTexture } from
|
2373
|
+
import * as React from "react";
|
2374
|
+
import { BaseTexture } from "@babylonjs/core/Materials/Textures/baseTexture";
|
2332
2375
|
interface IBottomBarProps {
|
2333
2376
|
texture: BaseTexture;
|
2334
2377
|
mipLevel: number;
|
@@ -2338,8 +2381,8 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/ma
|
|
2338
2381
|
}
|
2339
2382
|
}
|
2340
2383
|
declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/materials/textures/textureCanvasComponent" {
|
2341
|
-
import * as React from
|
2342
|
-
import { BaseTexture } from
|
2384
|
+
import * as React from "react";
|
2385
|
+
import { BaseTexture } from "@babylonjs/core/Materials/Textures/baseTexture";
|
2343
2386
|
interface ITextureCanvasComponentProps {
|
2344
2387
|
canvasUI: React.RefObject<HTMLCanvasElement>;
|
2345
2388
|
canvas2D: React.RefObject<HTMLCanvasElement>;
|
@@ -2371,7 +2414,7 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/ma
|
|
2371
2414
|
export default _default;
|
2372
2415
|
}
|
2373
2416
|
declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/materials/textures/toolSettings" {
|
2374
|
-
import * as React from
|
2417
|
+
import * as React from "react";
|
2375
2418
|
import { ITool } from "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/materials/textures/toolBar";
|
2376
2419
|
interface IToolSettingsProps {
|
2377
2420
|
tool: ITool | undefined;
|
@@ -2381,15 +2424,15 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/ma
|
|
2381
2424
|
}
|
2382
2425
|
}
|
2383
2426
|
declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/materials/textures/textureEditorComponent" {
|
2384
|
-
import * as React from
|
2427
|
+
import * as React from "react";
|
2385
2428
|
import { IPixelData } from "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/materials/textures/textureCanvasManager";
|
2386
2429
|
import { ITool } from "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/materials/textures/toolBar";
|
2387
2430
|
import { IChannel } from "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/materials/textures/channelsBar";
|
2388
|
-
import { BaseTexture } from
|
2389
|
-
import { Scene } from
|
2390
|
-
import { ISize } from
|
2391
|
-
import { Vector2 } from
|
2392
|
-
import { PointerInfo } from
|
2431
|
+
import { BaseTexture } from "@babylonjs/core/Materials/Textures/baseTexture";
|
2432
|
+
import { Scene } from "@babylonjs/core/scene";
|
2433
|
+
import { ISize } from "@babylonjs/core/Maths/math.size";
|
2434
|
+
import { Vector2 } from "@babylonjs/core/Maths/math.vector";
|
2435
|
+
import { PointerInfo } from "@babylonjs/core/Events/pointerEvents";
|
2393
2436
|
import { PopupComponent } from "@babylonjs/inspector/components/popupComponent";
|
2394
2437
|
interface ITextureEditorComponentProps {
|
2395
2438
|
texture: BaseTexture;
|
@@ -2504,6 +2547,19 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/ma
|
|
2504
2547
|
render(): JSX.Element;
|
2505
2548
|
}
|
2506
2549
|
}
|
2550
|
+
declare module "@babylonjs/inspector/components/sceneExplorer/entities/gui/guiTools" {
|
2551
|
+
import { AdvancedDynamicTexture } from "@babylonjs/gui/2D/advancedDynamicTexture";
|
2552
|
+
/** Used to pass in the gui-editor package. */
|
2553
|
+
export function InjectGUIEditor(guiEditorPackage: any): void;
|
2554
|
+
/** Change the URL that the GUI editor loads from */
|
2555
|
+
export function SetGUIEditorURL(guiEditorURL: string): void;
|
2556
|
+
/**
|
2557
|
+
* Opens an ADT in the GUI editor
|
2558
|
+
* if you are in an ES6 environment, you must first call InjectGUIEditor to provide the gui-editor package
|
2559
|
+
* If you are in a UMD environment, it will load the package from a URL
|
2560
|
+
*/
|
2561
|
+
export function EditAdvancedDynamicTexture(adt: AdvancedDynamicTexture): Promise<void>;
|
2562
|
+
}
|
2507
2563
|
declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/materials/texturePropertyGridComponent" {
|
2508
2564
|
import * as React from "react";
|
2509
2565
|
import { Nullable } from "@babylonjs/core/types";
|
@@ -3294,7 +3350,7 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/po
|
|
3294
3350
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
3295
3351
|
import { PropertyChangedEvent } from "@babylonjs/inspector/components/propertyChangedEvent";
|
3296
3352
|
import { LockObject } from "@babylonjs/inspector/sharedUiComponents/tabs/propertyGrids/lockObject";
|
3297
|
-
import { PostProcess } from
|
3353
|
+
import { PostProcess } from "@babylonjs/core/PostProcesses/postProcess";
|
3298
3354
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
3299
3355
|
interface ICommonPostProcessPropertyGridComponentProps {
|
3300
3356
|
globalState: GlobalState;
|
@@ -3331,7 +3387,7 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/po
|
|
3331
3387
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
3332
3388
|
import { PropertyChangedEvent } from "@babylonjs/inspector/components/propertyChangedEvent";
|
3333
3389
|
import { LockObject } from "@babylonjs/inspector/sharedUiComponents/tabs/propertyGrids/lockObject";
|
3334
|
-
import { PostProcessRenderPipeline } from
|
3390
|
+
import { PostProcessRenderPipeline } from "@babylonjs/core/PostProcesses/RenderPipeline/postProcessRenderPipeline";
|
3335
3391
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
3336
3392
|
interface ICommonRenderingPipelinePropertyGridComponentProps {
|
3337
3393
|
globalState: GlobalState;
|
@@ -3385,7 +3441,7 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/po
|
|
3385
3441
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
3386
3442
|
import { PropertyChangedEvent } from "@babylonjs/inspector/components/propertyChangedEvent";
|
3387
3443
|
import { LockObject } from "@babylonjs/inspector/sharedUiComponents/tabs/propertyGrids/lockObject";
|
3388
|
-
import { SSAORenderingPipeline } from
|
3444
|
+
import { SSAORenderingPipeline } from "@babylonjs/core/PostProcesses/RenderPipeline/Pipelines/ssaoRenderingPipeline";
|
3389
3445
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
3390
3446
|
interface ISSAORenderingPipelinePropertyGridComponentProps {
|
3391
3447
|
globalState: GlobalState;
|
@@ -3403,7 +3459,7 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/po
|
|
3403
3459
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
3404
3460
|
import { PropertyChangedEvent } from "@babylonjs/inspector/components/propertyChangedEvent";
|
3405
3461
|
import { LockObject } from "@babylonjs/inspector/sharedUiComponents/tabs/propertyGrids/lockObject";
|
3406
|
-
import { SSAO2RenderingPipeline } from
|
3462
|
+
import { SSAO2RenderingPipeline } from "@babylonjs/core/PostProcesses/RenderPipeline/Pipelines/ssao2RenderingPipeline";
|
3407
3463
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
3408
3464
|
interface ISSAO2RenderingPipelinePropertyGridComponentProps {
|
3409
3465
|
globalState: GlobalState;
|
@@ -3422,7 +3478,7 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/me
|
|
3422
3478
|
import { PropertyChangedEvent } from "@babylonjs/inspector/components/propertyChangedEvent";
|
3423
3479
|
import { LockObject } from "@babylonjs/inspector/sharedUiComponents/tabs/propertyGrids/lockObject";
|
3424
3480
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
3425
|
-
import { Skeleton } from
|
3481
|
+
import { Skeleton } from "@babylonjs/core/Bones/skeleton";
|
3426
3482
|
interface ISkeletonPropertyGridComponentProps {
|
3427
3483
|
globalState: GlobalState;
|
3428
3484
|
skeleton: Skeleton;
|
@@ -3449,7 +3505,7 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/me
|
|
3449
3505
|
import { PropertyChangedEvent } from "@babylonjs/inspector/components/propertyChangedEvent";
|
3450
3506
|
import { LockObject } from "@babylonjs/inspector/sharedUiComponents/tabs/propertyGrids/lockObject";
|
3451
3507
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
3452
|
-
import { Bone } from
|
3508
|
+
import { Bone } from "@babylonjs/core/Bones/bone";
|
3453
3509
|
interface IBonePropertyGridComponentProps {
|
3454
3510
|
globalState: GlobalState;
|
3455
3511
|
bone: Bone;
|
@@ -3558,9 +3614,9 @@ declare module "@babylonjs/inspector/sharedUiComponents/lines/vector4LineCompone
|
|
3558
3614
|
}
|
3559
3615
|
}
|
3560
3616
|
declare module "@babylonjs/inspector/components/actionTabs/tabs/gradientStepComponent" {
|
3561
|
-
import * as React from
|
3617
|
+
import * as React from "react";
|
3562
3618
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
3563
|
-
import { GradientBlockColorStep } from
|
3619
|
+
import { GradientBlockColorStep } from "@babylonjs/core/Materials/Node/Blocks/gradientBlock";
|
3564
3620
|
interface IGradientStepComponentProps {
|
3565
3621
|
globalState: GlobalState;
|
3566
3622
|
step: GradientBlockColorStep;
|
@@ -3590,7 +3646,7 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyComponen
|
|
3590
3646
|
}
|
3591
3647
|
declare module "@babylonjs/inspector/components/actionTabs/tabs/gradientNodePropertyComponent" {
|
3592
3648
|
import * as React from "react";
|
3593
|
-
import { GradientBlockColorStep } from
|
3649
|
+
import { GradientBlockColorStep } from "@babylonjs/core/Materials/Node/Blocks/gradientBlock";
|
3594
3650
|
import { IPropertyComponentProps } from "@babylonjs/inspector/components/actionTabs/tabs/propertyComponentProps";
|
3595
3651
|
export class GradientPropertyTabComponent extends React.Component<IPropertyComponentProps> {
|
3596
3652
|
private _gradientBlock;
|
@@ -3646,7 +3702,7 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/ma
|
|
3646
3702
|
import { PropertyChangedEvent } from "@babylonjs/inspector/components/propertyChangedEvent";
|
3647
3703
|
import { LockObject } from "@babylonjs/inspector/sharedUiComponents/tabs/propertyGrids/lockObject";
|
3648
3704
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
3649
|
-
import { InputBlock } from
|
3705
|
+
import { InputBlock } from "@babylonjs/core/Materials/Node/Blocks/Input/inputBlock";
|
3650
3706
|
interface INodeMaterialPropertyGridComponentProps {
|
3651
3707
|
globalState: GlobalState;
|
3652
3708
|
material: NodeMaterial;
|
@@ -3670,8 +3726,8 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/ma
|
|
3670
3726
|
import { PropertyChangedEvent } from "@babylonjs/inspector/components/propertyChangedEvent";
|
3671
3727
|
import { LockObject } from "@babylonjs/inspector/sharedUiComponents/tabs/propertyGrids/lockObject";
|
3672
3728
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
3673
|
-
import { Material } from
|
3674
|
-
import { MultiMaterial } from
|
3729
|
+
import { Material } from "@babylonjs/core/Materials/material";
|
3730
|
+
import { MultiMaterial } from "@babylonjs/core/Materials/multiMaterial";
|
3675
3731
|
interface IMultiMaterialPropertyGridComponentProps {
|
3676
3732
|
globalState: GlobalState;
|
3677
3733
|
material: MultiMaterial;
|
@@ -3691,7 +3747,7 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/pa
|
|
3691
3747
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
3692
3748
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
3693
3749
|
import { PropertyChangedEvent } from "@babylonjs/inspector/components/propertyChangedEvent";
|
3694
|
-
import { BoxParticleEmitter } from
|
3750
|
+
import { BoxParticleEmitter } from "@babylonjs/core/Particles/EmitterTypes/boxParticleEmitter";
|
3695
3751
|
interface IBoxEmitterGridComponentProps {
|
3696
3752
|
globalState: GlobalState;
|
3697
3753
|
emitter: BoxParticleEmitter;
|
@@ -3707,7 +3763,7 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/pa
|
|
3707
3763
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
3708
3764
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
3709
3765
|
import { PropertyChangedEvent } from "@babylonjs/inspector/components/propertyChangedEvent";
|
3710
|
-
import { ConeParticleEmitter } from
|
3766
|
+
import { ConeParticleEmitter } from "@babylonjs/core/Particles/EmitterTypes/coneParticleEmitter";
|
3711
3767
|
interface IConeEmitterGridComponentProps {
|
3712
3768
|
globalState: GlobalState;
|
3713
3769
|
emitter: ConeParticleEmitter;
|
@@ -3724,7 +3780,7 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/pa
|
|
3724
3780
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
3725
3781
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
3726
3782
|
import { PropertyChangedEvent } from "@babylonjs/inspector/components/propertyChangedEvent";
|
3727
|
-
import { CylinderParticleEmitter } from
|
3783
|
+
import { CylinderParticleEmitter } from "@babylonjs/core/Particles/EmitterTypes/cylinderParticleEmitter";
|
3728
3784
|
import { LockObject } from "@babylonjs/inspector/sharedUiComponents/tabs/propertyGrids/lockObject";
|
3729
3785
|
interface ICylinderEmitterGridComponentProps {
|
3730
3786
|
globalState: GlobalState;
|
@@ -3743,7 +3799,7 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/pa
|
|
3743
3799
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
3744
3800
|
import { PropertyChangedEvent } from "@babylonjs/inspector/components/propertyChangedEvent";
|
3745
3801
|
import { LockObject } from "@babylonjs/inspector/sharedUiComponents/tabs/propertyGrids/lockObject";
|
3746
|
-
import { HemisphericParticleEmitter } from
|
3802
|
+
import { HemisphericParticleEmitter } from "@babylonjs/core/Particles/EmitterTypes/hemisphericParticleEmitter";
|
3747
3803
|
interface IHemisphericEmitterGridComponentProps {
|
3748
3804
|
globalState: GlobalState;
|
3749
3805
|
emitter: HemisphericParticleEmitter;
|
@@ -3761,7 +3817,7 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/pa
|
|
3761
3817
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
3762
3818
|
import { PropertyChangedEvent } from "@babylonjs/inspector/components/propertyChangedEvent";
|
3763
3819
|
import { LockObject } from "@babylonjs/inspector/sharedUiComponents/tabs/propertyGrids/lockObject";
|
3764
|
-
import { PointParticleEmitter } from
|
3820
|
+
import { PointParticleEmitter } from "@babylonjs/core/Particles/EmitterTypes/pointParticleEmitter";
|
3765
3821
|
interface IPointEmitterGridComponentProps {
|
3766
3822
|
globalState: GlobalState;
|
3767
3823
|
emitter: PointParticleEmitter;
|
@@ -3779,7 +3835,7 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/pa
|
|
3779
3835
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
3780
3836
|
import { PropertyChangedEvent } from "@babylonjs/inspector/components/propertyChangedEvent";
|
3781
3837
|
import { LockObject } from "@babylonjs/inspector/sharedUiComponents/tabs/propertyGrids/lockObject";
|
3782
|
-
import { SphereParticleEmitter } from
|
3838
|
+
import { SphereParticleEmitter } from "@babylonjs/core/Particles/EmitterTypes/sphereParticleEmitter";
|
3783
3839
|
interface ISphereEmitterGridComponentProps {
|
3784
3840
|
globalState: GlobalState;
|
3785
3841
|
emitter: SphereParticleEmitter;
|
@@ -3794,9 +3850,9 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/pa
|
|
3794
3850
|
declare module "@babylonjs/inspector/components/actionTabs/lines/meshPickerComponent" {
|
3795
3851
|
import * as React from "react";
|
3796
3852
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
3797
|
-
import { Observable } from
|
3853
|
+
import { Observable } from "@babylonjs/core/Misc/observable";
|
3798
3854
|
import { PropertyChangedEvent } from "@babylonjs/inspector/components/propertyChangedEvent";
|
3799
|
-
import { Scene } from
|
3855
|
+
import { Scene } from "@babylonjs/core/scene";
|
3800
3856
|
interface IMeshPickerComponentProps {
|
3801
3857
|
globalState: GlobalState;
|
3802
3858
|
target: any;
|
@@ -3816,8 +3872,8 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/pa
|
|
3816
3872
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
3817
3873
|
import { PropertyChangedEvent } from "@babylonjs/inspector/components/propertyChangedEvent";
|
3818
3874
|
import { LockObject } from "@babylonjs/inspector/sharedUiComponents/tabs/propertyGrids/lockObject";
|
3819
|
-
import { MeshParticleEmitter } from
|
3820
|
-
import { Scene } from
|
3875
|
+
import { MeshParticleEmitter } from "@babylonjs/core/Particles/EmitterTypes/meshParticleEmitter";
|
3876
|
+
import { Scene } from "@babylonjs/core/scene";
|
3821
3877
|
interface IMeshEmitterGridComponentProps {
|
3822
3878
|
globalState: GlobalState;
|
3823
3879
|
emitter: MeshParticleEmitter;
|
@@ -3832,11 +3888,11 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/pa
|
|
3832
3888
|
}
|
3833
3889
|
}
|
3834
3890
|
declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/particleSystems/factorGradientStepGridComponent" {
|
3835
|
-
import * as React from
|
3891
|
+
import * as React from "react";
|
3836
3892
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
3837
|
-
import { FactorGradient } from
|
3893
|
+
import { FactorGradient } from "@babylonjs/core/Misc/gradients";
|
3838
3894
|
import { LockObject } from "@babylonjs/inspector/sharedUiComponents/tabs/propertyGrids/lockObject";
|
3839
|
-
import { IParticleSystem } from
|
3895
|
+
import { IParticleSystem } from "@babylonjs/core/Particles/IParticleSystem";
|
3840
3896
|
interface IFactorGradientStepGridComponent {
|
3841
3897
|
globalState: GlobalState;
|
3842
3898
|
gradient: FactorGradient;
|
@@ -3869,11 +3925,11 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/pa
|
|
3869
3925
|
}
|
3870
3926
|
}
|
3871
3927
|
declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/particleSystems/colorGradientStepGridComponent" {
|
3872
|
-
import * as React from
|
3928
|
+
import * as React from "react";
|
3873
3929
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
3874
|
-
import { ColorGradient, Color3Gradient } from
|
3930
|
+
import { ColorGradient, Color3Gradient } from "@babylonjs/core/Misc/gradients";
|
3875
3931
|
import { LockObject } from "@babylonjs/inspector/sharedUiComponents/tabs/propertyGrids/lockObject";
|
3876
|
-
import { IParticleSystem } from
|
3932
|
+
import { IParticleSystem } from "@babylonjs/core/Particles/IParticleSystem";
|
3877
3933
|
interface IColorGradientStepGridComponent {
|
3878
3934
|
globalState: GlobalState;
|
3879
3935
|
gradient: ColorGradient | Color3Gradient;
|
@@ -3917,10 +3973,10 @@ declare module "@babylonjs/inspector/sharedUiComponents/lines/linkButtonComponen
|
|
3917
3973
|
declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/particleSystems/valueGradientGridComponent" {
|
3918
3974
|
import * as React from "react";
|
3919
3975
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
3920
|
-
import { IValueGradient } from
|
3976
|
+
import { IValueGradient } from "@babylonjs/core/Misc/gradients";
|
3921
3977
|
import { LockObject } from "@babylonjs/inspector/sharedUiComponents/tabs/propertyGrids/lockObject";
|
3922
|
-
import { Nullable } from
|
3923
|
-
import { IParticleSystem } from
|
3978
|
+
import { Nullable } from "@babylonjs/core/types";
|
3979
|
+
import { IParticleSystem } from "@babylonjs/core/Particles/IParticleSystem";
|
3924
3980
|
export enum GradientGridMode {
|
3925
3981
|
Factor = 0,
|
3926
3982
|
Color3 = 1,
|
@@ -3952,7 +4008,7 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/pa
|
|
3952
4008
|
import { PropertyChangedEvent } from "@babylonjs/inspector/components/propertyChangedEvent";
|
3953
4009
|
import { LockObject } from "@babylonjs/inspector/sharedUiComponents/tabs/propertyGrids/lockObject";
|
3954
4010
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
3955
|
-
import { IParticleSystem } from
|
4011
|
+
import { IParticleSystem } from "@babylonjs/core/Particles/IParticleSystem";
|
3956
4012
|
interface IParticleSystemPropertyGridComponentProps {
|
3957
4013
|
globalState: GlobalState;
|
3958
4014
|
system: IParticleSystem;
|
@@ -3979,7 +4035,7 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/sp
|
|
3979
4035
|
import { PropertyChangedEvent } from "@babylonjs/inspector/components/propertyChangedEvent";
|
3980
4036
|
import { LockObject } from "@babylonjs/inspector/sharedUiComponents/tabs/propertyGrids/lockObject";
|
3981
4037
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
3982
|
-
import { SpriteManager } from
|
4038
|
+
import { SpriteManager } from "@babylonjs/core/Sprites/spriteManager";
|
3983
4039
|
interface ISpriteManagerPropertyGridComponentProps {
|
3984
4040
|
globalState: GlobalState;
|
3985
4041
|
spriteManager: SpriteManager;
|
@@ -4005,7 +4061,7 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/sp
|
|
4005
4061
|
import { PropertyChangedEvent } from "@babylonjs/inspector/components/propertyChangedEvent";
|
4006
4062
|
import { LockObject } from "@babylonjs/inspector/sharedUiComponents/tabs/propertyGrids/lockObject";
|
4007
4063
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
4008
|
-
import { Sprite } from
|
4064
|
+
import { Sprite } from "@babylonjs/core/Sprites/sprite";
|
4009
4065
|
interface ISpritePropertyGridComponentProps {
|
4010
4066
|
globalState: GlobalState;
|
4011
4067
|
sprite: Sprite;
|
@@ -4059,7 +4115,7 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/ca
|
|
4059
4115
|
import { PropertyChangedEvent } from "@babylonjs/inspector/components/propertyChangedEvent";
|
4060
4116
|
import { LockObject } from "@babylonjs/inspector/sharedUiComponents/tabs/propertyGrids/lockObject";
|
4061
4117
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
4062
|
-
import { FollowCamera } from
|
4118
|
+
import { FollowCamera } from "@babylonjs/core/Cameras/followCamera";
|
4063
4119
|
interface IFollowCameraPropertyGridComponentProps {
|
4064
4120
|
globalState: GlobalState;
|
4065
4121
|
camera: FollowCamera;
|
@@ -4077,8 +4133,8 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/so
|
|
4077
4133
|
import { PropertyChangedEvent } from "@babylonjs/inspector/components/propertyChangedEvent";
|
4078
4134
|
import { LockObject } from "@babylonjs/inspector/sharedUiComponents/tabs/propertyGrids/lockObject";
|
4079
4135
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
4080
|
-
import { Sound } from
|
4081
|
-
import { IExplorerExtensibilityGroup } from
|
4136
|
+
import { Sound } from "@babylonjs/core/Audio/sound";
|
4137
|
+
import { IExplorerExtensibilityGroup } from "@babylonjs/core/Debug/debugLayer";
|
4082
4138
|
interface ISoundPropertyGridComponentProps {
|
4083
4139
|
globalState: GlobalState;
|
4084
4140
|
sound: Sound;
|
@@ -4097,7 +4153,7 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/la
|
|
4097
4153
|
import { PropertyChangedEvent } from "@babylonjs/inspector/components/propertyChangedEvent";
|
4098
4154
|
import { LockObject } from "@babylonjs/inspector/sharedUiComponents/tabs/propertyGrids/lockObject";
|
4099
4155
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
4100
|
-
import { IExplorerExtensibilityGroup } from
|
4156
|
+
import { IExplorerExtensibilityGroup } from "@babylonjs/core/Debug/debugLayer";
|
4101
4157
|
import { EffectLayer } from "@babylonjs/core/Layers/effectLayer";
|
4102
4158
|
interface ILayerPropertyGridComponentProps {
|
4103
4159
|
globalState: GlobalState;
|
@@ -4376,8 +4432,8 @@ declare module "@babylonjs/inspector/components/sceneExplorer/entities/lightTree
|
|
4376
4432
|
declare module "@babylonjs/inspector/components/sceneExplorer/entities/materialTreeItemComponent" {
|
4377
4433
|
import { IExplorerExtensibilityGroup } from "@babylonjs/core/Debug/debugLayer";
|
4378
4434
|
import { Material } from "@babylonjs/core/Materials/material";
|
4379
|
-
import * as React from
|
4380
|
-
import { NodeMaterial } from
|
4435
|
+
import * as React from "react";
|
4436
|
+
import { NodeMaterial } from "@babylonjs/core/Materials/Node/nodeMaterial";
|
4381
4437
|
interface IMaterialTreeItemComponentProps {
|
4382
4438
|
material: Material | NodeMaterial;
|
4383
4439
|
extensibilityGroups?: IExplorerExtensibilityGroup[];
|
@@ -4391,7 +4447,7 @@ declare module "@babylonjs/inspector/components/sceneExplorer/entities/materialT
|
|
4391
4447
|
declare module "@babylonjs/inspector/components/sceneExplorer/entities/textureTreeItemComponent" {
|
4392
4448
|
import { IExplorerExtensibilityGroup } from "@babylonjs/core/Debug/debugLayer";
|
4393
4449
|
import { Texture } from "@babylonjs/core/Materials/Textures/texture";
|
4394
|
-
import * as React from
|
4450
|
+
import * as React from "react";
|
4395
4451
|
interface ITextureTreeItemComponentProps {
|
4396
4452
|
texture: Texture;
|
4397
4453
|
extensibilityGroups?: IExplorerExtensibilityGroup[];
|
@@ -4419,7 +4475,7 @@ declare module "@babylonjs/inspector/components/sceneExplorer/entities/transform
|
|
4419
4475
|
declare module "@babylonjs/inspector/components/sceneExplorer/entities/gui/controlTreeItemComponent" {
|
4420
4476
|
import { IExplorerExtensibilityGroup } from "@babylonjs/core/Debug/debugLayer";
|
4421
4477
|
import { Control } from "@babylonjs/gui/2D/controls/control";
|
4422
|
-
import * as React from
|
4478
|
+
import * as React from "react";
|
4423
4479
|
interface IControlTreeItemComponentProps {
|
4424
4480
|
control: Control;
|
4425
4481
|
extensibilityGroups?: IExplorerExtensibilityGroup[];
|
@@ -4438,8 +4494,8 @@ declare module "@babylonjs/inspector/components/sceneExplorer/entities/gui/contr
|
|
4438
4494
|
declare module "@babylonjs/inspector/components/sceneExplorer/entities/gui/advancedDynamicTextureTreeItemComponent" {
|
4439
4495
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
4440
4496
|
import { IExplorerExtensibilityGroup } from "@babylonjs/core/Debug/debugLayer";
|
4441
|
-
import { AdvancedDynamicTexture } from
|
4442
|
-
import * as React from
|
4497
|
+
import { AdvancedDynamicTexture } from "@babylonjs/gui/2D/advancedDynamicTexture";
|
4498
|
+
import * as React from "react";
|
4443
4499
|
interface IAdvancedDynamicTextureTreeItemComponentProps {
|
4444
4500
|
texture: AdvancedDynamicTexture;
|
4445
4501
|
extensibilityGroups?: IExplorerExtensibilityGroup[];
|
@@ -4472,8 +4528,8 @@ declare module "@babylonjs/inspector/components/sceneExplorer/entities/animation
|
|
4472
4528
|
}
|
4473
4529
|
declare module "@babylonjs/inspector/components/sceneExplorer/entities/postProcessTreeItemComponent" {
|
4474
4530
|
import { IExplorerExtensibilityGroup } from "@babylonjs/core/Debug/debugLayer";
|
4475
|
-
import { PostProcess } from
|
4476
|
-
import * as React from
|
4531
|
+
import { PostProcess } from "@babylonjs/core/PostProcesses/postProcess";
|
4532
|
+
import * as React from "react";
|
4477
4533
|
interface IPostProcessItemComponentProps {
|
4478
4534
|
postProcess: PostProcess;
|
4479
4535
|
extensibilityGroups?: IExplorerExtensibilityGroup[];
|
@@ -4486,8 +4542,8 @@ declare module "@babylonjs/inspector/components/sceneExplorer/entities/postProce
|
|
4486
4542
|
}
|
4487
4543
|
declare module "@babylonjs/inspector/components/sceneExplorer/entities/renderingPipelineTreeItemComponent" {
|
4488
4544
|
import { IExplorerExtensibilityGroup } from "@babylonjs/core/Debug/debugLayer";
|
4489
|
-
import { PostProcessRenderPipeline } from
|
4490
|
-
import * as React from
|
4545
|
+
import { PostProcessRenderPipeline } from "@babylonjs/core/PostProcesses/RenderPipeline/postProcessRenderPipeline";
|
4546
|
+
import * as React from "react";
|
4491
4547
|
interface IRenderPipelineItemComponenttProps {
|
4492
4548
|
renderPipeline: PostProcessRenderPipeline;
|
4493
4549
|
extensibilityGroups?: IExplorerExtensibilityGroup[];
|
@@ -4501,7 +4557,7 @@ declare module "@babylonjs/inspector/components/sceneExplorer/entities/rendering
|
|
4501
4557
|
declare module "@babylonjs/inspector/components/sceneExplorer/entities/skeletonTreeItemComponent" {
|
4502
4558
|
import { IExplorerExtensibilityGroup } from "@babylonjs/core/Debug/debugLayer";
|
4503
4559
|
import * as React from "react";
|
4504
|
-
import { Skeleton } from
|
4560
|
+
import { Skeleton } from "@babylonjs/core/Bones/skeleton";
|
4505
4561
|
interface ISkeletonTreeItemComponentProps {
|
4506
4562
|
skeleton: Skeleton;
|
4507
4563
|
extensibilityGroups?: IExplorerExtensibilityGroup[];
|
@@ -4515,7 +4571,7 @@ declare module "@babylonjs/inspector/components/sceneExplorer/entities/skeletonT
|
|
4515
4571
|
declare module "@babylonjs/inspector/components/sceneExplorer/entities/boneTreeItemComponent" {
|
4516
4572
|
import { IExplorerExtensibilityGroup } from "@babylonjs/core/Debug/debugLayer";
|
4517
4573
|
import * as React from "react";
|
4518
|
-
import { Bone } from
|
4574
|
+
import { Bone } from "@babylonjs/core/Bones/bone";
|
4519
4575
|
interface IBoneTreeItemComponenttProps {
|
4520
4576
|
bone: Bone;
|
4521
4577
|
extensibilityGroups?: IExplorerExtensibilityGroup[];
|
@@ -4528,8 +4584,8 @@ declare module "@babylonjs/inspector/components/sceneExplorer/entities/boneTreeI
|
|
4528
4584
|
}
|
4529
4585
|
declare module "@babylonjs/inspector/components/sceneExplorer/entities/particleSystemTreeItemComponent" {
|
4530
4586
|
import { IExplorerExtensibilityGroup } from "@babylonjs/core/Debug/debugLayer";
|
4531
|
-
import * as React from
|
4532
|
-
import { IParticleSystem } from
|
4587
|
+
import * as React from "react";
|
4588
|
+
import { IParticleSystem } from "@babylonjs/core/Particles/IParticleSystem";
|
4533
4589
|
interface IParticleSystemTreeItemComponentProps {
|
4534
4590
|
system: IParticleSystem;
|
4535
4591
|
extensibilityGroups?: IExplorerExtensibilityGroup[];
|
@@ -4542,8 +4598,8 @@ declare module "@babylonjs/inspector/components/sceneExplorer/entities/particleS
|
|
4542
4598
|
}
|
4543
4599
|
declare module "@babylonjs/inspector/components/sceneExplorer/entities/spriteManagerTreeItemComponent" {
|
4544
4600
|
import { IExplorerExtensibilityGroup } from "@babylonjs/core/Debug/debugLayer";
|
4545
|
-
import * as React from
|
4546
|
-
import { SpriteManager } from
|
4601
|
+
import * as React from "react";
|
4602
|
+
import { SpriteManager } from "@babylonjs/core/Sprites/spriteManager";
|
4547
4603
|
interface ISpriteManagerTreeItemComponentProps {
|
4548
4604
|
spriteManager: SpriteManager;
|
4549
4605
|
extensibilityGroups?: IExplorerExtensibilityGroup[];
|
@@ -4556,8 +4612,8 @@ declare module "@babylonjs/inspector/components/sceneExplorer/entities/spriteMan
|
|
4556
4612
|
}
|
4557
4613
|
declare module "@babylonjs/inspector/components/sceneExplorer/entities/spriteTreeItemComponent" {
|
4558
4614
|
import { IExplorerExtensibilityGroup } from "@babylonjs/core/Debug/debugLayer";
|
4559
|
-
import * as React from
|
4560
|
-
import { Sprite } from
|
4615
|
+
import * as React from "react";
|
4616
|
+
import { Sprite } from "@babylonjs/core/Sprites/sprite";
|
4561
4617
|
interface ISpriteTreeItemComponentProps {
|
4562
4618
|
sprite: Sprite;
|
4563
4619
|
extensibilityGroups?: IExplorerExtensibilityGroup[];
|
@@ -4585,7 +4641,7 @@ declare module "@babylonjs/inspector/components/sceneExplorer/entities/targetedA
|
|
4585
4641
|
declare module "@babylonjs/inspector/components/sceneExplorer/entities/soundTreeItemComponent" {
|
4586
4642
|
import { IExplorerExtensibilityGroup } from "@babylonjs/core/Debug/debugLayer";
|
4587
4643
|
import * as React from "react";
|
4588
|
-
import { Sound } from
|
4644
|
+
import { Sound } from "@babylonjs/core/Audio/sound";
|
4589
4645
|
interface ISoundTreeItemComponentProps {
|
4590
4646
|
sound: Sound;
|
4591
4647
|
extensibilityGroups?: IExplorerExtensibilityGroup[];
|
@@ -4598,7 +4654,7 @@ declare module "@babylonjs/inspector/components/sceneExplorer/entities/soundTree
|
|
4598
4654
|
}
|
4599
4655
|
declare module "@babylonjs/inspector/components/sceneExplorer/entities/effectLayerPipelineTreeItemComponent" {
|
4600
4656
|
import { IExplorerExtensibilityGroup } from "@babylonjs/core/Debug/debugLayer";
|
4601
|
-
import * as React from
|
4657
|
+
import * as React from "react";
|
4602
4658
|
import { EffectLayer } from "@babylonjs/core/Layers/effectLayer";
|
4603
4659
|
interface IEffectLayerItemComponenttProps {
|
4604
4660
|
layer: EffectLayer;
|
@@ -4800,7 +4856,7 @@ declare module "@babylonjs/inspector/components/embedHost/embedHostComponent" {
|
|
4800
4856
|
import * as React from "react";
|
4801
4857
|
import { Scene } from "@babylonjs/core/scene";
|
4802
4858
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
4803
|
-
import { IExplorerExtensibilityGroup, DebugLayerTab } from
|
4859
|
+
import { IExplorerExtensibilityGroup, DebugLayerTab } from "@babylonjs/core/Debug/debugLayer";
|
4804
4860
|
interface IEmbedHostComponentProps {
|
4805
4861
|
scene: Scene;
|
4806
4862
|
globalState: GlobalState;
|
@@ -4824,21 +4880,32 @@ declare module "@babylonjs/inspector/components/embedHost/embedHostComponent" {
|
|
4824
4880
|
}
|
4825
4881
|
}
|
4826
4882
|
declare module "@babylonjs/inspector/inspector" {
|
4883
|
+
import * as React from "react";
|
4827
4884
|
import { IInspectorOptions } from "@babylonjs/core/Debug/debugLayer";
|
4828
4885
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
4829
4886
|
import { Scene } from "@babylonjs/core/scene";
|
4830
4887
|
import { PropertyChangedEvent } from "@babylonjs/inspector/components/propertyChangedEvent";
|
4888
|
+
import { IPopupComponentProps } from "@babylonjs/inspector/components/popupComponent";
|
4889
|
+
export interface IPersistentPopupConfiguration {
|
4890
|
+
props: IPopupComponentProps;
|
4891
|
+
children: React.ReactNode;
|
4892
|
+
closeWhenSceneExplorerCloses?: boolean;
|
4893
|
+
closeWhenActionTabsCloses?: boolean;
|
4894
|
+
}
|
4831
4895
|
export class Inspector {
|
4832
4896
|
private static _SceneExplorerHost;
|
4833
4897
|
private static _ActionTabsHost;
|
4834
4898
|
private static _EmbedHost;
|
4835
4899
|
private static _NewCanvasContainer;
|
4900
|
+
private static _PersistentPopupHost;
|
4836
4901
|
private static _SceneExplorerWindow;
|
4837
4902
|
private static _ActionTabsWindow;
|
4838
4903
|
private static _EmbedHostWindow;
|
4839
4904
|
private static _Scene;
|
4840
4905
|
private static _OpenedPane;
|
4841
4906
|
private static _OnBeforeRenderObserver;
|
4907
|
+
private static _OnSceneExplorerClosedObserver;
|
4908
|
+
private static _OnActionTabsClosedObserver;
|
4842
4909
|
static OnSelectionChangeObservable: Observable<any>;
|
4843
4910
|
static OnPropertyChangedObservable: Observable<PropertyChangedEvent>;
|
4844
4911
|
private static _GlobalState;
|
@@ -4858,6 +4925,8 @@ declare module "@babylonjs/inspector/inspector" {
|
|
4858
4925
|
private static _Cleanup;
|
4859
4926
|
private static _RemoveElementFromDOM;
|
4860
4927
|
static Hide(): void;
|
4928
|
+
static _CreatePersistentPopup(config: IPersistentPopupConfiguration, hostElement: HTMLElement): void;
|
4929
|
+
static _ClosePersistentPopup(): void;
|
4861
4930
|
}
|
4862
4931
|
}
|
4863
4932
|
declare module "@babylonjs/inspector/index" {
|
@@ -4904,7 +4973,7 @@ declare module "@babylonjs/inspector/sharedUiComponents/lines/draggableLineCompo
|
|
4904
4973
|
}
|
4905
4974
|
}
|
4906
4975
|
declare module "@babylonjs/inspector/sharedUiComponents/lines/iconButtonLineComponent" {
|
4907
|
-
import * as React from
|
4976
|
+
import * as React from "react";
|
4908
4977
|
export interface IIconButtonLineComponentProps {
|
4909
4978
|
icon: string;
|
4910
4979
|
onClick: () => void;
|