@babylonjs/inspector 5.0.0-alpha.60 → 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.
- package/babylon.inspector.bundle.max.js +2171 -1639
- package/babylon.inspector.bundle.max.js.map +1 -1
- package/babylon.inspector.module.d.ts +414 -310
- 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" {
|
584
|
-
import * as React from "react";
|
585
|
-
export interface IColorComponentEntryProps {
|
586
|
-
value: number;
|
587
|
-
label: string;
|
588
|
-
max?: number;
|
589
|
-
min?: number;
|
590
|
-
onChange: (value: number) => void;
|
591
|
-
}
|
592
|
-
export class ColorComponentEntry extends React.Component<IColorComponentEntryProps> {
|
593
|
-
constructor(props: IColorComponentEntryProps);
|
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" {
|
726
|
+
declare module "@babylonjs/inspector/components/actionTabs/tabs/performanceViewer/performanceViewerPopupComponent" {
|
659
727
|
import * as React from "react";
|
660
|
-
import {
|
661
|
-
|
662
|
-
|
663
|
-
|
664
|
-
|
665
|
-
|
666
|
-
|
667
|
-
|
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 } 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;
|
@@ -982,25 +987,31 @@ declare module "@babylonjs/inspector/sharedUiComponents/lines/color3LineComponen
|
|
982
987
|
icon?: string;
|
983
988
|
lockObject?: LockObject;
|
984
989
|
iconLabel?: string;
|
990
|
+
onValueChange?: (value: string) => void;
|
985
991
|
}
|
986
992
|
export class Color3LineComponent extends React.Component<IColor3LineComponentProps, {
|
987
993
|
isExpanded: boolean;
|
988
|
-
color: Color3;
|
994
|
+
color: Color3 | Color4;
|
995
|
+
colorText: string;
|
989
996
|
}> {
|
990
997
|
private _localChange;
|
991
998
|
constructor(props: IColor3LineComponentProps);
|
999
|
+
private convertToColor3;
|
992
1000
|
shouldComponentUpdate(nextProps: IColor3LineComponentProps, nextState: {
|
993
|
-
color: Color3;
|
1001
|
+
color: Color3 | Color4;
|
1002
|
+
colorText: string;
|
994
1003
|
}): boolean;
|
995
|
-
setPropertyValue(newColor: Color3): void;
|
1004
|
+
setPropertyValue(newColor: Color3 | Color4, newColorText: string): void;
|
996
1005
|
onChange(newValue: string): void;
|
997
1006
|
switchExpandState(): void;
|
998
|
-
raiseOnPropertyChanged(previousValue: Color3): void;
|
1007
|
+
raiseOnPropertyChanged(previousValue: Color3 | Color4): void;
|
999
1008
|
updateStateR(value: number): void;
|
1000
1009
|
updateStateG(value: number): void;
|
1001
1010
|
updateStateB(value: number): void;
|
1002
1011
|
copyToClipboard(): void;
|
1003
1012
|
convert(colorString: string): void;
|
1013
|
+
private _colorStringSaved;
|
1014
|
+
private _colorPickerOpen;
|
1004
1015
|
private _colorString;
|
1005
1016
|
render(): JSX.Element;
|
1006
1017
|
}
|
@@ -1089,7 +1100,7 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/cu
|
|
1089
1100
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
1090
1101
|
import { PropertyChangedEvent } from "@babylonjs/inspector/components/propertyChangedEvent";
|
1091
1102
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
1092
|
-
import { IInspectable } from
|
1103
|
+
import { IInspectable } from "@babylonjs/core/Misc/iInspectable";
|
1093
1104
|
import { LockObject } from "@babylonjs/inspector/sharedUiComponents/tabs/propertyGrids/lockObject";
|
1094
1105
|
interface ICustomPropertyGridComponentProps {
|
1095
1106
|
globalState: GlobalState;
|
@@ -1105,8 +1116,39 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/cu
|
|
1105
1116
|
render(): JSX.Element | null;
|
1106
1117
|
}
|
1107
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
|
+
}
|
1108
1149
|
declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/animations/curveEditor/graph/curve" {
|
1109
1150
|
import { Animation } from "@babylonjs/core/Animations/animation";
|
1151
|
+
import { AnimationKeyInterpolation } from "@babylonjs/core/Animations/animationKey";
|
1110
1152
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
1111
1153
|
export interface KeyEntry {
|
1112
1154
|
frame: number;
|
@@ -1114,6 +1156,7 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/an
|
|
1114
1156
|
inTangent?: number;
|
1115
1157
|
outTangent?: number;
|
1116
1158
|
lockedTangent: boolean;
|
1159
|
+
interpolation?: AnimationKeyInterpolation;
|
1117
1160
|
}
|
1118
1161
|
export class Curve {
|
1119
1162
|
static readonly SampleRate: number;
|
@@ -1127,11 +1170,14 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/an
|
|
1127
1170
|
setDefaultOutTangent?: (keyId: number) => any;
|
1128
1171
|
static readonly TangentLength: number;
|
1129
1172
|
constructor(color: string, animation: Animation, property?: string, tangentBuilder?: () => any, setDefaultInTangent?: (keyId: number) => any, setDefaultOutTangent?: (keyId: number) => any);
|
1130
|
-
|
1173
|
+
getPathData(convertX: (x: number) => number, convertY: (y: number) => number): string;
|
1131
1174
|
updateLockedTangentMode(keyIndex: number, enabled: boolean): void;
|
1132
|
-
|
1133
|
-
|
1175
|
+
updateInterpolationMode(keyIndex: number, interpolationMode: AnimationKeyInterpolation): void;
|
1176
|
+
getInControlPoint(keyIndex: number): number | undefined;
|
1177
|
+
getOutControlPoint(keyIndex: number): number | undefined;
|
1178
|
+
hasDefinedOutTangent(keyIndex: number): boolean;
|
1134
1179
|
evaluateOutTangent(keyIndex: number): number;
|
1180
|
+
hasDefinedInTangent(keyIndex: number): boolean;
|
1135
1181
|
evaluateInTangent(keyIndex: number): number;
|
1136
1182
|
storeDefaultInTangent(keyIndex: number): void;
|
1137
1183
|
storeDefaultOutTangent(keyIndex: number): void;
|
@@ -1187,6 +1233,7 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/an
|
|
1187
1233
|
private _onLinearTangentRequiredObserver;
|
1188
1234
|
private _onBreakTangentRequiredObserver;
|
1189
1235
|
private _onUnifyTangentRequiredObserver;
|
1236
|
+
private _onStepTangentRequiredObserver;
|
1190
1237
|
private _onSelectAllKeysObserver;
|
1191
1238
|
private _pointerIsDown;
|
1192
1239
|
private _sourcePointerX;
|
@@ -1211,6 +1258,7 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/an
|
|
1211
1258
|
private _unifyTangent;
|
1212
1259
|
private _flattenTangent;
|
1213
1260
|
private _linearTangent;
|
1261
|
+
private _stepTangent;
|
1214
1262
|
private _select;
|
1215
1263
|
private _onPointerDown;
|
1216
1264
|
private _extractSlope;
|
@@ -1228,6 +1276,7 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/an
|
|
1228
1276
|
import { Scene } from "@babylonjs/core/scene";
|
1229
1277
|
import { IAnimatable } from "@babylonjs/core/Animations/animatable.interface";
|
1230
1278
|
import { AnimationGroup, TargetedAnimation } from "@babylonjs/core/Animations/animationGroup";
|
1279
|
+
import { AnimationKeyInterpolation } from "@babylonjs/core/Animations/animationKey";
|
1231
1280
|
export class Context {
|
1232
1281
|
title: string;
|
1233
1282
|
animations: Nullable<Animation[] | TargetedAnimation[]>;
|
@@ -1247,8 +1296,10 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/an
|
|
1247
1296
|
toKey: number;
|
1248
1297
|
forwardAnimation: boolean;
|
1249
1298
|
isPlaying: boolean;
|
1299
|
+
clipLength: number;
|
1250
1300
|
referenceMinFrame: number;
|
1251
1301
|
referenceMaxFrame: number;
|
1302
|
+
focusedInput: boolean;
|
1252
1303
|
onActiveAnimationChanged: Observable<void>;
|
1253
1304
|
onActiveKeyPointChanged: Observable<void>;
|
1254
1305
|
onHostWindowResized: Observable<void>;
|
@@ -1261,11 +1312,12 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/an
|
|
1261
1312
|
onValueSet: Observable<number>;
|
1262
1313
|
onValueManuallyEntered: Observable<number>;
|
1263
1314
|
onFrameRequired: Observable<void>;
|
1264
|
-
|
1315
|
+
onCreateOrUpdateKeyPointRequired: Observable<void>;
|
1265
1316
|
onFlattenTangentRequired: Observable<void>;
|
1266
1317
|
onLinearTangentRequired: Observable<void>;
|
1267
1318
|
onBreakTangentRequired: Observable<void>;
|
1268
1319
|
onUnifyTangentRequired: Observable<void>;
|
1320
|
+
onStepTangentRequired: Observable<void>;
|
1269
1321
|
onDeleteAnimation: Observable<Animation>;
|
1270
1322
|
onGraphMoved: Observable<number>;
|
1271
1323
|
onGraphScaled: Observable<number>;
|
@@ -1277,6 +1329,12 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/an
|
|
1277
1329
|
onAnimationsLoaded: Observable<void>;
|
1278
1330
|
onEditAnimationRequired: Observable<Animation>;
|
1279
1331
|
onEditAnimationUIClosed: Observable<void>;
|
1332
|
+
onClipLengthIncreased: Observable<number>;
|
1333
|
+
onClipLengthDecreased: Observable<number>;
|
1334
|
+
onInterpolationModeSet: Observable<{
|
1335
|
+
keyId: number;
|
1336
|
+
value: AnimationKeyInterpolation;
|
1337
|
+
}>;
|
1280
1338
|
onSelectToActivated: Observable<{
|
1281
1339
|
from: number;
|
1282
1340
|
to: number;
|
@@ -1293,6 +1351,47 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/an
|
|
1293
1351
|
getActiveChannel(animation: Animation): string;
|
1294
1352
|
resetAllActiveChannels(): void;
|
1295
1353
|
getAnimationSortIndex(animation: Animation): number;
|
1354
|
+
getPrevKey(): Nullable<number>;
|
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;
|
1365
|
+
}
|
1366
|
+
}
|
1367
|
+
declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/animations/curveEditor/controls/textInputComponent" {
|
1368
|
+
import * as React from "react";
|
1369
|
+
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
1370
|
+
import { Context } from "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/animations/curveEditor/context";
|
1371
|
+
interface ITextInputComponentProps {
|
1372
|
+
globalState: GlobalState;
|
1373
|
+
context: Context;
|
1374
|
+
id?: string;
|
1375
|
+
className?: string;
|
1376
|
+
tooltip?: string;
|
1377
|
+
value: string;
|
1378
|
+
isNumber?: boolean;
|
1379
|
+
complement?: string;
|
1380
|
+
onValueAsNumberChanged?: (value: number, isFocused: boolean) => void;
|
1381
|
+
}
|
1382
|
+
interface ITextInputComponentState {
|
1383
|
+
value: string;
|
1384
|
+
isFocused: boolean;
|
1385
|
+
}
|
1386
|
+
export class TextInputComponent extends React.Component<ITextInputComponentProps, ITextInputComponentState> {
|
1387
|
+
private _lastKnownGoodValue;
|
1388
|
+
constructor(props: ITextInputComponentProps);
|
1389
|
+
private _onChange;
|
1390
|
+
private _onBlur;
|
1391
|
+
private _onFocus;
|
1392
|
+
shouldComponentUpdate(newProps: ITextInputComponentProps, newState: ITextInputComponentState): boolean;
|
1393
|
+
private _onKeyPress;
|
1394
|
+
render(): JSX.Element;
|
1296
1395
|
}
|
1297
1396
|
}
|
1298
1397
|
declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/animations/curveEditor/controls/controlButtonComponent" {
|
@@ -1335,6 +1434,8 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/an
|
|
1335
1434
|
private _onPrevKey;
|
1336
1435
|
private _onRewind;
|
1337
1436
|
private _onForward;
|
1437
|
+
private _onPrevFrame;
|
1438
|
+
private _onNextFrame;
|
1338
1439
|
private _onNextKey;
|
1339
1440
|
private _onEndKey;
|
1340
1441
|
private _onStop;
|
@@ -1381,12 +1482,15 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/an
|
|
1381
1482
|
context: Context;
|
1382
1483
|
}
|
1383
1484
|
interface IBottomBarComponentState {
|
1485
|
+
clipLength: string;
|
1384
1486
|
}
|
1385
1487
|
export class BottomBarComponent extends React.Component<IBottomBarComponentProps, IBottomBarComponentState> {
|
1386
1488
|
private _onAnimationsLoadedObserver;
|
1387
1489
|
private _onActiveAnimationChangedObserver;
|
1490
|
+
private _onClipLengthIncreasedObserver;
|
1491
|
+
private _onClipLengthDecreasedObserver;
|
1388
1492
|
constructor(props: IBottomBarComponentProps);
|
1389
|
-
private
|
1493
|
+
private _changeClipLength;
|
1390
1494
|
componentWillUnmount(): void;
|
1391
1495
|
render(): JSX.Element;
|
1392
1496
|
}
|
@@ -1412,35 +1516,6 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/an
|
|
1412
1516
|
render(): JSX.Element;
|
1413
1517
|
}
|
1414
1518
|
}
|
1415
|
-
declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/animations/curveEditor/controls/textInputComponent" {
|
1416
|
-
import * as React from "react";
|
1417
|
-
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
1418
|
-
import { Context } from "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/animations/curveEditor/context";
|
1419
|
-
interface ITextInputComponentProps {
|
1420
|
-
globalState: GlobalState;
|
1421
|
-
context: Context;
|
1422
|
-
id?: string;
|
1423
|
-
className?: string;
|
1424
|
-
tooltip?: string;
|
1425
|
-
value: string;
|
1426
|
-
isNumber?: boolean;
|
1427
|
-
complement?: string;
|
1428
|
-
onValueAsNumberChanged?: (value: number) => void;
|
1429
|
-
}
|
1430
|
-
interface ITextInputComponentState {
|
1431
|
-
value: string;
|
1432
|
-
isFocused: boolean;
|
1433
|
-
}
|
1434
|
-
export class TextInputComponent extends React.Component<ITextInputComponentProps, ITextInputComponentState> {
|
1435
|
-
private _lastKnownGoodValue;
|
1436
|
-
constructor(props: ITextInputComponentProps);
|
1437
|
-
private _onChange;
|
1438
|
-
private _onBlur;
|
1439
|
-
private _onFocus;
|
1440
|
-
shouldComponentUpdate(newProps: ITextInputComponentProps, newState: ITextInputComponentState): boolean;
|
1441
|
-
render(): JSX.Element;
|
1442
|
-
}
|
1443
|
-
}
|
1444
1519
|
declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/animations/curveEditor/topBarComponent" {
|
1445
1520
|
import * as React from "react";
|
1446
1521
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
@@ -1504,6 +1579,7 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/an
|
|
1504
1579
|
export class CurveComponent extends React.Component<ICurveComponentProps, ICurveComponentState> {
|
1505
1580
|
private _onDataUpdatedObserver;
|
1506
1581
|
private _onActiveAnimationChangedObserver;
|
1582
|
+
private _onInterpolationModeSetObserver;
|
1507
1583
|
constructor(props: ICurveComponentProps);
|
1508
1584
|
componentWillUnmount(): void;
|
1509
1585
|
componentDidUpdate(): boolean;
|
@@ -1707,6 +1783,7 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/an
|
|
1707
1783
|
export class AnimationListComponent extends React.Component<IAnimationListComponentProps, IAnimationListComponentState> {
|
1708
1784
|
private _onEditAnimationRequiredObserver;
|
1709
1785
|
private _onEditAnimationUIClosedObserver;
|
1786
|
+
private _onDeleteAnimationObserver;
|
1710
1787
|
constructor(props: IAnimationListComponentProps);
|
1711
1788
|
componentWillUnmount(): void;
|
1712
1789
|
render(): JSX.Element | null;
|
@@ -1890,6 +1967,7 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/an
|
|
1890
1967
|
componentWillUnmount(): void;
|
1891
1968
|
onCurrentFrameChange(value: number): void;
|
1892
1969
|
onChangeFromOrTo(): void;
|
1970
|
+
componentDidUpdate(prevProps: IAnimationGridComponentProps): void;
|
1893
1971
|
render(): JSX.Element;
|
1894
1972
|
}
|
1895
1973
|
}
|
@@ -2082,9 +2160,9 @@ declare module "@babylonjs/inspector/components/actionTabs/lines/textureLineComp
|
|
2082
2160
|
}
|
2083
2161
|
}
|
2084
2162
|
declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/materials/textures/toolBar" {
|
2085
|
-
import * as React from
|
2163
|
+
import * as React from "react";
|
2086
2164
|
import { IToolData, IToolType, IMetadata } from "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/materials/textures/textureEditorComponent";
|
2087
|
-
import { Color4 } from
|
2165
|
+
import { Color4 } from "@babylonjs/core/Maths/math.color";
|
2088
2166
|
export interface ITool extends IToolData {
|
2089
2167
|
instance: IToolType;
|
2090
2168
|
}
|
@@ -2112,12 +2190,12 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/ma
|
|
2112
2190
|
}
|
2113
2191
|
}
|
2114
2192
|
declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/materials/textures/channelsBar" {
|
2115
|
-
import * as React from
|
2193
|
+
import * as React from "react";
|
2116
2194
|
export interface IChannel {
|
2117
2195
|
visible: boolean;
|
2118
2196
|
editable: boolean;
|
2119
2197
|
name: string;
|
2120
|
-
id:
|
2198
|
+
id: "R" | "G" | "B" | "A";
|
2121
2199
|
icon: any;
|
2122
2200
|
}
|
2123
2201
|
interface IChannelsBarProps {
|
@@ -2254,10 +2332,10 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/ma
|
|
2254
2332
|
}
|
2255
2333
|
}
|
2256
2334
|
declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/materials/textures/propertiesBar" {
|
2257
|
-
import * as React from
|
2258
|
-
import { BaseTexture } from
|
2335
|
+
import * as React from "react";
|
2336
|
+
import { BaseTexture } from "@babylonjs/core/Materials/Textures/baseTexture";
|
2259
2337
|
import { IPixelData } from "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/materials/textures/textureCanvasManager";
|
2260
|
-
import { ISize } from
|
2338
|
+
import { ISize } from "@babylonjs/core/Maths/math.size";
|
2261
2339
|
interface IPropertiesBarProps {
|
2262
2340
|
texture: BaseTexture;
|
2263
2341
|
size: ISize;
|
@@ -2292,8 +2370,8 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/ma
|
|
2292
2370
|
}
|
2293
2371
|
}
|
2294
2372
|
declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/materials/textures/bottomBar" {
|
2295
|
-
import * as React from
|
2296
|
-
import { BaseTexture } from
|
2373
|
+
import * as React from "react";
|
2374
|
+
import { BaseTexture } from "@babylonjs/core/Materials/Textures/baseTexture";
|
2297
2375
|
interface IBottomBarProps {
|
2298
2376
|
texture: BaseTexture;
|
2299
2377
|
mipLevel: number;
|
@@ -2303,8 +2381,8 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/ma
|
|
2303
2381
|
}
|
2304
2382
|
}
|
2305
2383
|
declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/materials/textures/textureCanvasComponent" {
|
2306
|
-
import * as React from
|
2307
|
-
import { BaseTexture } from
|
2384
|
+
import * as React from "react";
|
2385
|
+
import { BaseTexture } from "@babylonjs/core/Materials/Textures/baseTexture";
|
2308
2386
|
interface ITextureCanvasComponentProps {
|
2309
2387
|
canvasUI: React.RefObject<HTMLCanvasElement>;
|
2310
2388
|
canvas2D: React.RefObject<HTMLCanvasElement>;
|
@@ -2336,7 +2414,7 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/ma
|
|
2336
2414
|
export default _default;
|
2337
2415
|
}
|
2338
2416
|
declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/materials/textures/toolSettings" {
|
2339
|
-
import * as React from
|
2417
|
+
import * as React from "react";
|
2340
2418
|
import { ITool } from "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/materials/textures/toolBar";
|
2341
2419
|
interface IToolSettingsProps {
|
2342
2420
|
tool: ITool | undefined;
|
@@ -2346,15 +2424,15 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/ma
|
|
2346
2424
|
}
|
2347
2425
|
}
|
2348
2426
|
declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/materials/textures/textureEditorComponent" {
|
2349
|
-
import * as React from
|
2427
|
+
import * as React from "react";
|
2350
2428
|
import { IPixelData } from "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/materials/textures/textureCanvasManager";
|
2351
2429
|
import { ITool } from "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/materials/textures/toolBar";
|
2352
2430
|
import { IChannel } from "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/materials/textures/channelsBar";
|
2353
|
-
import { BaseTexture } from
|
2354
|
-
import { Scene } from
|
2355
|
-
import { ISize } from
|
2356
|
-
import { Vector2 } from
|
2357
|
-
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";
|
2358
2436
|
import { PopupComponent } from "@babylonjs/inspector/components/popupComponent";
|
2359
2437
|
interface ITextureEditorComponentProps {
|
2360
2438
|
texture: BaseTexture;
|
@@ -2469,6 +2547,19 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/ma
|
|
2469
2547
|
render(): JSX.Element;
|
2470
2548
|
}
|
2471
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
|
+
}
|
2472
2563
|
declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/materials/texturePropertyGridComponent" {
|
2473
2564
|
import * as React from "react";
|
2474
2565
|
import { Nullable } from "@babylonjs/core/types";
|
@@ -3259,7 +3350,7 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/po
|
|
3259
3350
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
3260
3351
|
import { PropertyChangedEvent } from "@babylonjs/inspector/components/propertyChangedEvent";
|
3261
3352
|
import { LockObject } from "@babylonjs/inspector/sharedUiComponents/tabs/propertyGrids/lockObject";
|
3262
|
-
import { PostProcess } from
|
3353
|
+
import { PostProcess } from "@babylonjs/core/PostProcesses/postProcess";
|
3263
3354
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
3264
3355
|
interface ICommonPostProcessPropertyGridComponentProps {
|
3265
3356
|
globalState: GlobalState;
|
@@ -3296,7 +3387,7 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/po
|
|
3296
3387
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
3297
3388
|
import { PropertyChangedEvent } from "@babylonjs/inspector/components/propertyChangedEvent";
|
3298
3389
|
import { LockObject } from "@babylonjs/inspector/sharedUiComponents/tabs/propertyGrids/lockObject";
|
3299
|
-
import { PostProcessRenderPipeline } from
|
3390
|
+
import { PostProcessRenderPipeline } from "@babylonjs/core/PostProcesses/RenderPipeline/postProcessRenderPipeline";
|
3300
3391
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
3301
3392
|
interface ICommonRenderingPipelinePropertyGridComponentProps {
|
3302
3393
|
globalState: GlobalState;
|
@@ -3350,7 +3441,7 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/po
|
|
3350
3441
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
3351
3442
|
import { PropertyChangedEvent } from "@babylonjs/inspector/components/propertyChangedEvent";
|
3352
3443
|
import { LockObject } from "@babylonjs/inspector/sharedUiComponents/tabs/propertyGrids/lockObject";
|
3353
|
-
import { SSAORenderingPipeline } from
|
3444
|
+
import { SSAORenderingPipeline } from "@babylonjs/core/PostProcesses/RenderPipeline/Pipelines/ssaoRenderingPipeline";
|
3354
3445
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
3355
3446
|
interface ISSAORenderingPipelinePropertyGridComponentProps {
|
3356
3447
|
globalState: GlobalState;
|
@@ -3368,7 +3459,7 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/po
|
|
3368
3459
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
3369
3460
|
import { PropertyChangedEvent } from "@babylonjs/inspector/components/propertyChangedEvent";
|
3370
3461
|
import { LockObject } from "@babylonjs/inspector/sharedUiComponents/tabs/propertyGrids/lockObject";
|
3371
|
-
import { SSAO2RenderingPipeline } from
|
3462
|
+
import { SSAO2RenderingPipeline } from "@babylonjs/core/PostProcesses/RenderPipeline/Pipelines/ssao2RenderingPipeline";
|
3372
3463
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
3373
3464
|
interface ISSAO2RenderingPipelinePropertyGridComponentProps {
|
3374
3465
|
globalState: GlobalState;
|
@@ -3387,7 +3478,7 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/me
|
|
3387
3478
|
import { PropertyChangedEvent } from "@babylonjs/inspector/components/propertyChangedEvent";
|
3388
3479
|
import { LockObject } from "@babylonjs/inspector/sharedUiComponents/tabs/propertyGrids/lockObject";
|
3389
3480
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
3390
|
-
import { Skeleton } from
|
3481
|
+
import { Skeleton } from "@babylonjs/core/Bones/skeleton";
|
3391
3482
|
interface ISkeletonPropertyGridComponentProps {
|
3392
3483
|
globalState: GlobalState;
|
3393
3484
|
skeleton: Skeleton;
|
@@ -3414,7 +3505,7 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/me
|
|
3414
3505
|
import { PropertyChangedEvent } from "@babylonjs/inspector/components/propertyChangedEvent";
|
3415
3506
|
import { LockObject } from "@babylonjs/inspector/sharedUiComponents/tabs/propertyGrids/lockObject";
|
3416
3507
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
3417
|
-
import { Bone } from
|
3508
|
+
import { Bone } from "@babylonjs/core/Bones/bone";
|
3418
3509
|
interface IBonePropertyGridComponentProps {
|
3419
3510
|
globalState: GlobalState;
|
3420
3511
|
bone: Bone;
|
@@ -3523,9 +3614,9 @@ declare module "@babylonjs/inspector/sharedUiComponents/lines/vector4LineCompone
|
|
3523
3614
|
}
|
3524
3615
|
}
|
3525
3616
|
declare module "@babylonjs/inspector/components/actionTabs/tabs/gradientStepComponent" {
|
3526
|
-
import * as React from
|
3617
|
+
import * as React from "react";
|
3527
3618
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
3528
|
-
import { GradientBlockColorStep } from
|
3619
|
+
import { GradientBlockColorStep } from "@babylonjs/core/Materials/Node/Blocks/gradientBlock";
|
3529
3620
|
interface IGradientStepComponentProps {
|
3530
3621
|
globalState: GlobalState;
|
3531
3622
|
step: GradientBlockColorStep;
|
@@ -3555,7 +3646,7 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyComponen
|
|
3555
3646
|
}
|
3556
3647
|
declare module "@babylonjs/inspector/components/actionTabs/tabs/gradientNodePropertyComponent" {
|
3557
3648
|
import * as React from "react";
|
3558
|
-
import { GradientBlockColorStep } from
|
3649
|
+
import { GradientBlockColorStep } from "@babylonjs/core/Materials/Node/Blocks/gradientBlock";
|
3559
3650
|
import { IPropertyComponentProps } from "@babylonjs/inspector/components/actionTabs/tabs/propertyComponentProps";
|
3560
3651
|
export class GradientPropertyTabComponent extends React.Component<IPropertyComponentProps> {
|
3561
3652
|
private _gradientBlock;
|
@@ -3611,7 +3702,7 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/ma
|
|
3611
3702
|
import { PropertyChangedEvent } from "@babylonjs/inspector/components/propertyChangedEvent";
|
3612
3703
|
import { LockObject } from "@babylonjs/inspector/sharedUiComponents/tabs/propertyGrids/lockObject";
|
3613
3704
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
3614
|
-
import { InputBlock } from
|
3705
|
+
import { InputBlock } from "@babylonjs/core/Materials/Node/Blocks/Input/inputBlock";
|
3615
3706
|
interface INodeMaterialPropertyGridComponentProps {
|
3616
3707
|
globalState: GlobalState;
|
3617
3708
|
material: NodeMaterial;
|
@@ -3635,8 +3726,8 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/ma
|
|
3635
3726
|
import { PropertyChangedEvent } from "@babylonjs/inspector/components/propertyChangedEvent";
|
3636
3727
|
import { LockObject } from "@babylonjs/inspector/sharedUiComponents/tabs/propertyGrids/lockObject";
|
3637
3728
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
3638
|
-
import { Material } from
|
3639
|
-
import { MultiMaterial } from
|
3729
|
+
import { Material } from "@babylonjs/core/Materials/material";
|
3730
|
+
import { MultiMaterial } from "@babylonjs/core/Materials/multiMaterial";
|
3640
3731
|
interface IMultiMaterialPropertyGridComponentProps {
|
3641
3732
|
globalState: GlobalState;
|
3642
3733
|
material: MultiMaterial;
|
@@ -3656,7 +3747,7 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/pa
|
|
3656
3747
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
3657
3748
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
3658
3749
|
import { PropertyChangedEvent } from "@babylonjs/inspector/components/propertyChangedEvent";
|
3659
|
-
import { BoxParticleEmitter } from
|
3750
|
+
import { BoxParticleEmitter } from "@babylonjs/core/Particles/EmitterTypes/boxParticleEmitter";
|
3660
3751
|
interface IBoxEmitterGridComponentProps {
|
3661
3752
|
globalState: GlobalState;
|
3662
3753
|
emitter: BoxParticleEmitter;
|
@@ -3672,7 +3763,7 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/pa
|
|
3672
3763
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
3673
3764
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
3674
3765
|
import { PropertyChangedEvent } from "@babylonjs/inspector/components/propertyChangedEvent";
|
3675
|
-
import { ConeParticleEmitter } from
|
3766
|
+
import { ConeParticleEmitter } from "@babylonjs/core/Particles/EmitterTypes/coneParticleEmitter";
|
3676
3767
|
interface IConeEmitterGridComponentProps {
|
3677
3768
|
globalState: GlobalState;
|
3678
3769
|
emitter: ConeParticleEmitter;
|
@@ -3689,7 +3780,7 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/pa
|
|
3689
3780
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
3690
3781
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
3691
3782
|
import { PropertyChangedEvent } from "@babylonjs/inspector/components/propertyChangedEvent";
|
3692
|
-
import { CylinderParticleEmitter } from
|
3783
|
+
import { CylinderParticleEmitter } from "@babylonjs/core/Particles/EmitterTypes/cylinderParticleEmitter";
|
3693
3784
|
import { LockObject } from "@babylonjs/inspector/sharedUiComponents/tabs/propertyGrids/lockObject";
|
3694
3785
|
interface ICylinderEmitterGridComponentProps {
|
3695
3786
|
globalState: GlobalState;
|
@@ -3708,7 +3799,7 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/pa
|
|
3708
3799
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
3709
3800
|
import { PropertyChangedEvent } from "@babylonjs/inspector/components/propertyChangedEvent";
|
3710
3801
|
import { LockObject } from "@babylonjs/inspector/sharedUiComponents/tabs/propertyGrids/lockObject";
|
3711
|
-
import { HemisphericParticleEmitter } from
|
3802
|
+
import { HemisphericParticleEmitter } from "@babylonjs/core/Particles/EmitterTypes/hemisphericParticleEmitter";
|
3712
3803
|
interface IHemisphericEmitterGridComponentProps {
|
3713
3804
|
globalState: GlobalState;
|
3714
3805
|
emitter: HemisphericParticleEmitter;
|
@@ -3726,7 +3817,7 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/pa
|
|
3726
3817
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
3727
3818
|
import { PropertyChangedEvent } from "@babylonjs/inspector/components/propertyChangedEvent";
|
3728
3819
|
import { LockObject } from "@babylonjs/inspector/sharedUiComponents/tabs/propertyGrids/lockObject";
|
3729
|
-
import { PointParticleEmitter } from
|
3820
|
+
import { PointParticleEmitter } from "@babylonjs/core/Particles/EmitterTypes/pointParticleEmitter";
|
3730
3821
|
interface IPointEmitterGridComponentProps {
|
3731
3822
|
globalState: GlobalState;
|
3732
3823
|
emitter: PointParticleEmitter;
|
@@ -3744,7 +3835,7 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/pa
|
|
3744
3835
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
3745
3836
|
import { PropertyChangedEvent } from "@babylonjs/inspector/components/propertyChangedEvent";
|
3746
3837
|
import { LockObject } from "@babylonjs/inspector/sharedUiComponents/tabs/propertyGrids/lockObject";
|
3747
|
-
import { SphereParticleEmitter } from
|
3838
|
+
import { SphereParticleEmitter } from "@babylonjs/core/Particles/EmitterTypes/sphereParticleEmitter";
|
3748
3839
|
interface ISphereEmitterGridComponentProps {
|
3749
3840
|
globalState: GlobalState;
|
3750
3841
|
emitter: SphereParticleEmitter;
|
@@ -3759,9 +3850,9 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/pa
|
|
3759
3850
|
declare module "@babylonjs/inspector/components/actionTabs/lines/meshPickerComponent" {
|
3760
3851
|
import * as React from "react";
|
3761
3852
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
3762
|
-
import { Observable } from
|
3853
|
+
import { Observable } from "@babylonjs/core/Misc/observable";
|
3763
3854
|
import { PropertyChangedEvent } from "@babylonjs/inspector/components/propertyChangedEvent";
|
3764
|
-
import { Scene } from
|
3855
|
+
import { Scene } from "@babylonjs/core/scene";
|
3765
3856
|
interface IMeshPickerComponentProps {
|
3766
3857
|
globalState: GlobalState;
|
3767
3858
|
target: any;
|
@@ -3781,8 +3872,8 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/pa
|
|
3781
3872
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
3782
3873
|
import { PropertyChangedEvent } from "@babylonjs/inspector/components/propertyChangedEvent";
|
3783
3874
|
import { LockObject } from "@babylonjs/inspector/sharedUiComponents/tabs/propertyGrids/lockObject";
|
3784
|
-
import { MeshParticleEmitter } from
|
3785
|
-
import { Scene } from
|
3875
|
+
import { MeshParticleEmitter } from "@babylonjs/core/Particles/EmitterTypes/meshParticleEmitter";
|
3876
|
+
import { Scene } from "@babylonjs/core/scene";
|
3786
3877
|
interface IMeshEmitterGridComponentProps {
|
3787
3878
|
globalState: GlobalState;
|
3788
3879
|
emitter: MeshParticleEmitter;
|
@@ -3797,11 +3888,11 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/pa
|
|
3797
3888
|
}
|
3798
3889
|
}
|
3799
3890
|
declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/particleSystems/factorGradientStepGridComponent" {
|
3800
|
-
import * as React from
|
3891
|
+
import * as React from "react";
|
3801
3892
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
3802
|
-
import { FactorGradient } from
|
3893
|
+
import { FactorGradient } from "@babylonjs/core/Misc/gradients";
|
3803
3894
|
import { LockObject } from "@babylonjs/inspector/sharedUiComponents/tabs/propertyGrids/lockObject";
|
3804
|
-
import { IParticleSystem } from
|
3895
|
+
import { IParticleSystem } from "@babylonjs/core/Particles/IParticleSystem";
|
3805
3896
|
interface IFactorGradientStepGridComponent {
|
3806
3897
|
globalState: GlobalState;
|
3807
3898
|
gradient: FactorGradient;
|
@@ -3834,11 +3925,11 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/pa
|
|
3834
3925
|
}
|
3835
3926
|
}
|
3836
3927
|
declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/particleSystems/colorGradientStepGridComponent" {
|
3837
|
-
import * as React from
|
3928
|
+
import * as React from "react";
|
3838
3929
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
3839
|
-
import { ColorGradient, Color3Gradient } from
|
3930
|
+
import { ColorGradient, Color3Gradient } from "@babylonjs/core/Misc/gradients";
|
3840
3931
|
import { LockObject } from "@babylonjs/inspector/sharedUiComponents/tabs/propertyGrids/lockObject";
|
3841
|
-
import { IParticleSystem } from
|
3932
|
+
import { IParticleSystem } from "@babylonjs/core/Particles/IParticleSystem";
|
3842
3933
|
interface IColorGradientStepGridComponent {
|
3843
3934
|
globalState: GlobalState;
|
3844
3935
|
gradient: ColorGradient | Color3Gradient;
|
@@ -3882,10 +3973,10 @@ declare module "@babylonjs/inspector/sharedUiComponents/lines/linkButtonComponen
|
|
3882
3973
|
declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/particleSystems/valueGradientGridComponent" {
|
3883
3974
|
import * as React from "react";
|
3884
3975
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
3885
|
-
import { IValueGradient } from
|
3976
|
+
import { IValueGradient } from "@babylonjs/core/Misc/gradients";
|
3886
3977
|
import { LockObject } from "@babylonjs/inspector/sharedUiComponents/tabs/propertyGrids/lockObject";
|
3887
|
-
import { Nullable } from
|
3888
|
-
import { IParticleSystem } from
|
3978
|
+
import { Nullable } from "@babylonjs/core/types";
|
3979
|
+
import { IParticleSystem } from "@babylonjs/core/Particles/IParticleSystem";
|
3889
3980
|
export enum GradientGridMode {
|
3890
3981
|
Factor = 0,
|
3891
3982
|
Color3 = 1,
|
@@ -3917,7 +4008,7 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/pa
|
|
3917
4008
|
import { PropertyChangedEvent } from "@babylonjs/inspector/components/propertyChangedEvent";
|
3918
4009
|
import { LockObject } from "@babylonjs/inspector/sharedUiComponents/tabs/propertyGrids/lockObject";
|
3919
4010
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
3920
|
-
import { IParticleSystem } from
|
4011
|
+
import { IParticleSystem } from "@babylonjs/core/Particles/IParticleSystem";
|
3921
4012
|
interface IParticleSystemPropertyGridComponentProps {
|
3922
4013
|
globalState: GlobalState;
|
3923
4014
|
system: IParticleSystem;
|
@@ -3944,7 +4035,7 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/sp
|
|
3944
4035
|
import { PropertyChangedEvent } from "@babylonjs/inspector/components/propertyChangedEvent";
|
3945
4036
|
import { LockObject } from "@babylonjs/inspector/sharedUiComponents/tabs/propertyGrids/lockObject";
|
3946
4037
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
3947
|
-
import { SpriteManager } from
|
4038
|
+
import { SpriteManager } from "@babylonjs/core/Sprites/spriteManager";
|
3948
4039
|
interface ISpriteManagerPropertyGridComponentProps {
|
3949
4040
|
globalState: GlobalState;
|
3950
4041
|
spriteManager: SpriteManager;
|
@@ -3970,7 +4061,7 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/sp
|
|
3970
4061
|
import { PropertyChangedEvent } from "@babylonjs/inspector/components/propertyChangedEvent";
|
3971
4062
|
import { LockObject } from "@babylonjs/inspector/sharedUiComponents/tabs/propertyGrids/lockObject";
|
3972
4063
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
3973
|
-
import { Sprite } from
|
4064
|
+
import { Sprite } from "@babylonjs/core/Sprites/sprite";
|
3974
4065
|
interface ISpritePropertyGridComponentProps {
|
3975
4066
|
globalState: GlobalState;
|
3976
4067
|
sprite: Sprite;
|
@@ -4024,7 +4115,7 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/ca
|
|
4024
4115
|
import { PropertyChangedEvent } from "@babylonjs/inspector/components/propertyChangedEvent";
|
4025
4116
|
import { LockObject } from "@babylonjs/inspector/sharedUiComponents/tabs/propertyGrids/lockObject";
|
4026
4117
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
4027
|
-
import { FollowCamera } from
|
4118
|
+
import { FollowCamera } from "@babylonjs/core/Cameras/followCamera";
|
4028
4119
|
interface IFollowCameraPropertyGridComponentProps {
|
4029
4120
|
globalState: GlobalState;
|
4030
4121
|
camera: FollowCamera;
|
@@ -4042,8 +4133,8 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/so
|
|
4042
4133
|
import { PropertyChangedEvent } from "@babylonjs/inspector/components/propertyChangedEvent";
|
4043
4134
|
import { LockObject } from "@babylonjs/inspector/sharedUiComponents/tabs/propertyGrids/lockObject";
|
4044
4135
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
4045
|
-
import { Sound } from
|
4046
|
-
import { IExplorerExtensibilityGroup } from
|
4136
|
+
import { Sound } from "@babylonjs/core/Audio/sound";
|
4137
|
+
import { IExplorerExtensibilityGroup } from "@babylonjs/core/Debug/debugLayer";
|
4047
4138
|
interface ISoundPropertyGridComponentProps {
|
4048
4139
|
globalState: GlobalState;
|
4049
4140
|
sound: Sound;
|
@@ -4062,7 +4153,7 @@ declare module "@babylonjs/inspector/components/actionTabs/tabs/propertyGrids/la
|
|
4062
4153
|
import { PropertyChangedEvent } from "@babylonjs/inspector/components/propertyChangedEvent";
|
4063
4154
|
import { LockObject } from "@babylonjs/inspector/sharedUiComponents/tabs/propertyGrids/lockObject";
|
4064
4155
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
4065
|
-
import { IExplorerExtensibilityGroup } from
|
4156
|
+
import { IExplorerExtensibilityGroup } from "@babylonjs/core/Debug/debugLayer";
|
4066
4157
|
import { EffectLayer } from "@babylonjs/core/Layers/effectLayer";
|
4067
4158
|
interface ILayerPropertyGridComponentProps {
|
4068
4159
|
globalState: GlobalState;
|
@@ -4341,8 +4432,8 @@ declare module "@babylonjs/inspector/components/sceneExplorer/entities/lightTree
|
|
4341
4432
|
declare module "@babylonjs/inspector/components/sceneExplorer/entities/materialTreeItemComponent" {
|
4342
4433
|
import { IExplorerExtensibilityGroup } from "@babylonjs/core/Debug/debugLayer";
|
4343
4434
|
import { Material } from "@babylonjs/core/Materials/material";
|
4344
|
-
import * as React from
|
4345
|
-
import { NodeMaterial } from
|
4435
|
+
import * as React from "react";
|
4436
|
+
import { NodeMaterial } from "@babylonjs/core/Materials/Node/nodeMaterial";
|
4346
4437
|
interface IMaterialTreeItemComponentProps {
|
4347
4438
|
material: Material | NodeMaterial;
|
4348
4439
|
extensibilityGroups?: IExplorerExtensibilityGroup[];
|
@@ -4356,7 +4447,7 @@ declare module "@babylonjs/inspector/components/sceneExplorer/entities/materialT
|
|
4356
4447
|
declare module "@babylonjs/inspector/components/sceneExplorer/entities/textureTreeItemComponent" {
|
4357
4448
|
import { IExplorerExtensibilityGroup } from "@babylonjs/core/Debug/debugLayer";
|
4358
4449
|
import { Texture } from "@babylonjs/core/Materials/Textures/texture";
|
4359
|
-
import * as React from
|
4450
|
+
import * as React from "react";
|
4360
4451
|
interface ITextureTreeItemComponentProps {
|
4361
4452
|
texture: Texture;
|
4362
4453
|
extensibilityGroups?: IExplorerExtensibilityGroup[];
|
@@ -4384,7 +4475,7 @@ declare module "@babylonjs/inspector/components/sceneExplorer/entities/transform
|
|
4384
4475
|
declare module "@babylonjs/inspector/components/sceneExplorer/entities/gui/controlTreeItemComponent" {
|
4385
4476
|
import { IExplorerExtensibilityGroup } from "@babylonjs/core/Debug/debugLayer";
|
4386
4477
|
import { Control } from "@babylonjs/gui/2D/controls/control";
|
4387
|
-
import * as React from
|
4478
|
+
import * as React from "react";
|
4388
4479
|
interface IControlTreeItemComponentProps {
|
4389
4480
|
control: Control;
|
4390
4481
|
extensibilityGroups?: IExplorerExtensibilityGroup[];
|
@@ -4403,8 +4494,8 @@ declare module "@babylonjs/inspector/components/sceneExplorer/entities/gui/contr
|
|
4403
4494
|
declare module "@babylonjs/inspector/components/sceneExplorer/entities/gui/advancedDynamicTextureTreeItemComponent" {
|
4404
4495
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
4405
4496
|
import { IExplorerExtensibilityGroup } from "@babylonjs/core/Debug/debugLayer";
|
4406
|
-
import { AdvancedDynamicTexture } from
|
4407
|
-
import * as React from
|
4497
|
+
import { AdvancedDynamicTexture } from "@babylonjs/gui/2D/advancedDynamicTexture";
|
4498
|
+
import * as React from "react";
|
4408
4499
|
interface IAdvancedDynamicTextureTreeItemComponentProps {
|
4409
4500
|
texture: AdvancedDynamicTexture;
|
4410
4501
|
extensibilityGroups?: IExplorerExtensibilityGroup[];
|
@@ -4437,8 +4528,8 @@ declare module "@babylonjs/inspector/components/sceneExplorer/entities/animation
|
|
4437
4528
|
}
|
4438
4529
|
declare module "@babylonjs/inspector/components/sceneExplorer/entities/postProcessTreeItemComponent" {
|
4439
4530
|
import { IExplorerExtensibilityGroup } from "@babylonjs/core/Debug/debugLayer";
|
4440
|
-
import { PostProcess } from
|
4441
|
-
import * as React from
|
4531
|
+
import { PostProcess } from "@babylonjs/core/PostProcesses/postProcess";
|
4532
|
+
import * as React from "react";
|
4442
4533
|
interface IPostProcessItemComponentProps {
|
4443
4534
|
postProcess: PostProcess;
|
4444
4535
|
extensibilityGroups?: IExplorerExtensibilityGroup[];
|
@@ -4451,8 +4542,8 @@ declare module "@babylonjs/inspector/components/sceneExplorer/entities/postProce
|
|
4451
4542
|
}
|
4452
4543
|
declare module "@babylonjs/inspector/components/sceneExplorer/entities/renderingPipelineTreeItemComponent" {
|
4453
4544
|
import { IExplorerExtensibilityGroup } from "@babylonjs/core/Debug/debugLayer";
|
4454
|
-
import { PostProcessRenderPipeline } from
|
4455
|
-
import * as React from
|
4545
|
+
import { PostProcessRenderPipeline } from "@babylonjs/core/PostProcesses/RenderPipeline/postProcessRenderPipeline";
|
4546
|
+
import * as React from "react";
|
4456
4547
|
interface IRenderPipelineItemComponenttProps {
|
4457
4548
|
renderPipeline: PostProcessRenderPipeline;
|
4458
4549
|
extensibilityGroups?: IExplorerExtensibilityGroup[];
|
@@ -4466,7 +4557,7 @@ declare module "@babylonjs/inspector/components/sceneExplorer/entities/rendering
|
|
4466
4557
|
declare module "@babylonjs/inspector/components/sceneExplorer/entities/skeletonTreeItemComponent" {
|
4467
4558
|
import { IExplorerExtensibilityGroup } from "@babylonjs/core/Debug/debugLayer";
|
4468
4559
|
import * as React from "react";
|
4469
|
-
import { Skeleton } from
|
4560
|
+
import { Skeleton } from "@babylonjs/core/Bones/skeleton";
|
4470
4561
|
interface ISkeletonTreeItemComponentProps {
|
4471
4562
|
skeleton: Skeleton;
|
4472
4563
|
extensibilityGroups?: IExplorerExtensibilityGroup[];
|
@@ -4480,7 +4571,7 @@ declare module "@babylonjs/inspector/components/sceneExplorer/entities/skeletonT
|
|
4480
4571
|
declare module "@babylonjs/inspector/components/sceneExplorer/entities/boneTreeItemComponent" {
|
4481
4572
|
import { IExplorerExtensibilityGroup } from "@babylonjs/core/Debug/debugLayer";
|
4482
4573
|
import * as React from "react";
|
4483
|
-
import { Bone } from
|
4574
|
+
import { Bone } from "@babylonjs/core/Bones/bone";
|
4484
4575
|
interface IBoneTreeItemComponenttProps {
|
4485
4576
|
bone: Bone;
|
4486
4577
|
extensibilityGroups?: IExplorerExtensibilityGroup[];
|
@@ -4493,8 +4584,8 @@ declare module "@babylonjs/inspector/components/sceneExplorer/entities/boneTreeI
|
|
4493
4584
|
}
|
4494
4585
|
declare module "@babylonjs/inspector/components/sceneExplorer/entities/particleSystemTreeItemComponent" {
|
4495
4586
|
import { IExplorerExtensibilityGroup } from "@babylonjs/core/Debug/debugLayer";
|
4496
|
-
import * as React from
|
4497
|
-
import { IParticleSystem } from
|
4587
|
+
import * as React from "react";
|
4588
|
+
import { IParticleSystem } from "@babylonjs/core/Particles/IParticleSystem";
|
4498
4589
|
interface IParticleSystemTreeItemComponentProps {
|
4499
4590
|
system: IParticleSystem;
|
4500
4591
|
extensibilityGroups?: IExplorerExtensibilityGroup[];
|
@@ -4507,8 +4598,8 @@ declare module "@babylonjs/inspector/components/sceneExplorer/entities/particleS
|
|
4507
4598
|
}
|
4508
4599
|
declare module "@babylonjs/inspector/components/sceneExplorer/entities/spriteManagerTreeItemComponent" {
|
4509
4600
|
import { IExplorerExtensibilityGroup } from "@babylonjs/core/Debug/debugLayer";
|
4510
|
-
import * as React from
|
4511
|
-
import { SpriteManager } from
|
4601
|
+
import * as React from "react";
|
4602
|
+
import { SpriteManager } from "@babylonjs/core/Sprites/spriteManager";
|
4512
4603
|
interface ISpriteManagerTreeItemComponentProps {
|
4513
4604
|
spriteManager: SpriteManager;
|
4514
4605
|
extensibilityGroups?: IExplorerExtensibilityGroup[];
|
@@ -4521,8 +4612,8 @@ declare module "@babylonjs/inspector/components/sceneExplorer/entities/spriteMan
|
|
4521
4612
|
}
|
4522
4613
|
declare module "@babylonjs/inspector/components/sceneExplorer/entities/spriteTreeItemComponent" {
|
4523
4614
|
import { IExplorerExtensibilityGroup } from "@babylonjs/core/Debug/debugLayer";
|
4524
|
-
import * as React from
|
4525
|
-
import { Sprite } from
|
4615
|
+
import * as React from "react";
|
4616
|
+
import { Sprite } from "@babylonjs/core/Sprites/sprite";
|
4526
4617
|
interface ISpriteTreeItemComponentProps {
|
4527
4618
|
sprite: Sprite;
|
4528
4619
|
extensibilityGroups?: IExplorerExtensibilityGroup[];
|
@@ -4550,7 +4641,7 @@ declare module "@babylonjs/inspector/components/sceneExplorer/entities/targetedA
|
|
4550
4641
|
declare module "@babylonjs/inspector/components/sceneExplorer/entities/soundTreeItemComponent" {
|
4551
4642
|
import { IExplorerExtensibilityGroup } from "@babylonjs/core/Debug/debugLayer";
|
4552
4643
|
import * as React from "react";
|
4553
|
-
import { Sound } from
|
4644
|
+
import { Sound } from "@babylonjs/core/Audio/sound";
|
4554
4645
|
interface ISoundTreeItemComponentProps {
|
4555
4646
|
sound: Sound;
|
4556
4647
|
extensibilityGroups?: IExplorerExtensibilityGroup[];
|
@@ -4563,7 +4654,7 @@ declare module "@babylonjs/inspector/components/sceneExplorer/entities/soundTree
|
|
4563
4654
|
}
|
4564
4655
|
declare module "@babylonjs/inspector/components/sceneExplorer/entities/effectLayerPipelineTreeItemComponent" {
|
4565
4656
|
import { IExplorerExtensibilityGroup } from "@babylonjs/core/Debug/debugLayer";
|
4566
|
-
import * as React from
|
4657
|
+
import * as React from "react";
|
4567
4658
|
import { EffectLayer } from "@babylonjs/core/Layers/effectLayer";
|
4568
4659
|
interface IEffectLayerItemComponenttProps {
|
4569
4660
|
layer: EffectLayer;
|
@@ -4765,7 +4856,7 @@ declare module "@babylonjs/inspector/components/embedHost/embedHostComponent" {
|
|
4765
4856
|
import * as React from "react";
|
4766
4857
|
import { Scene } from "@babylonjs/core/scene";
|
4767
4858
|
import { GlobalState } from "@babylonjs/inspector/components/globalState";
|
4768
|
-
import { IExplorerExtensibilityGroup, DebugLayerTab } from
|
4859
|
+
import { IExplorerExtensibilityGroup, DebugLayerTab } from "@babylonjs/core/Debug/debugLayer";
|
4769
4860
|
interface IEmbedHostComponentProps {
|
4770
4861
|
scene: Scene;
|
4771
4862
|
globalState: GlobalState;
|
@@ -4789,21 +4880,32 @@ declare module "@babylonjs/inspector/components/embedHost/embedHostComponent" {
|
|
4789
4880
|
}
|
4790
4881
|
}
|
4791
4882
|
declare module "@babylonjs/inspector/inspector" {
|
4883
|
+
import * as React from "react";
|
4792
4884
|
import { IInspectorOptions } from "@babylonjs/core/Debug/debugLayer";
|
4793
4885
|
import { Observable } from "@babylonjs/core/Misc/observable";
|
4794
4886
|
import { Scene } from "@babylonjs/core/scene";
|
4795
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
|
+
}
|
4796
4895
|
export class Inspector {
|
4797
4896
|
private static _SceneExplorerHost;
|
4798
4897
|
private static _ActionTabsHost;
|
4799
4898
|
private static _EmbedHost;
|
4800
4899
|
private static _NewCanvasContainer;
|
4900
|
+
private static _PersistentPopupHost;
|
4801
4901
|
private static _SceneExplorerWindow;
|
4802
4902
|
private static _ActionTabsWindow;
|
4803
4903
|
private static _EmbedHostWindow;
|
4804
4904
|
private static _Scene;
|
4805
4905
|
private static _OpenedPane;
|
4806
4906
|
private static _OnBeforeRenderObserver;
|
4907
|
+
private static _OnSceneExplorerClosedObserver;
|
4908
|
+
private static _OnActionTabsClosedObserver;
|
4807
4909
|
static OnSelectionChangeObservable: Observable<any>;
|
4808
4910
|
static OnPropertyChangedObservable: Observable<PropertyChangedEvent>;
|
4809
4911
|
private static _GlobalState;
|
@@ -4823,6 +4925,8 @@ declare module "@babylonjs/inspector/inspector" {
|
|
4823
4925
|
private static _Cleanup;
|
4824
4926
|
private static _RemoveElementFromDOM;
|
4825
4927
|
static Hide(): void;
|
4928
|
+
static _CreatePersistentPopup(config: IPersistentPopupConfiguration, hostElement: HTMLElement): void;
|
4929
|
+
static _ClosePersistentPopup(): void;
|
4826
4930
|
}
|
4827
4931
|
}
|
4828
4932
|
declare module "@babylonjs/inspector/index" {
|
@@ -4869,7 +4973,7 @@ declare module "@babylonjs/inspector/sharedUiComponents/lines/draggableLineCompo
|
|
4869
4973
|
}
|
4870
4974
|
}
|
4871
4975
|
declare module "@babylonjs/inspector/sharedUiComponents/lines/iconButtonLineComponent" {
|
4872
|
-
import * as React from
|
4976
|
+
import * as React from "react";
|
4873
4977
|
export interface IIconButtonLineComponentProps {
|
4874
4978
|
icon: string;
|
4875
4979
|
onClick: () => void;
|