babylonjs-gui-editor 5.4.0 → 5.5.6
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.guiEditor.d.ts +200 -200
- package/babylon.guiEditor.js +1 -1
- package/babylon.guiEditor.js.map +1 -1
- package/babylon.guiEditor.max.js +1 -0
- package/babylon.guiEditor.max.js.map +1 -1
- package/babylon.guiEditor.module.d.ts +201 -201
- package/package.json +3 -3
package/babylon.guiEditor.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
declare module BABYLON
|
|
2
|
+
declare module BABYLON {
|
|
3
3
|
interface ICommandBarComponentProps {
|
|
4
4
|
globalState: GlobalState;
|
|
5
5
|
}
|
|
@@ -90,7 +90,7 @@ declare module BABYLON.GuiEditor {
|
|
|
90
90
|
interface IParentingPropertyGridComponentProps {
|
|
91
91
|
control: BABYLON.GUI.Control;
|
|
92
92
|
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
93
|
-
onPropertyChangedObservable?:
|
|
93
|
+
onPropertyChangedObservable?: Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
94
94
|
}
|
|
95
95
|
export class ParentingPropertyGridComponent extends React.Component<IParentingPropertyGridComponentProps> {
|
|
96
96
|
constructor(props: IParentingPropertyGridComponentProps);
|
|
@@ -106,7 +106,7 @@ declare module BABYLON.GuiEditor {
|
|
|
106
106
|
interface IButtonPropertyGridComponentProps {
|
|
107
107
|
rectangles: BABYLON.GUI.Rectangle[];
|
|
108
108
|
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
109
|
-
onPropertyChangedObservable?:
|
|
109
|
+
onPropertyChangedObservable?: Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
110
110
|
onAddComponent: (newComponent: string) => void;
|
|
111
111
|
}
|
|
112
112
|
export class ButtonPropertyGridComponent extends React.Component<IButtonPropertyGridComponentProps> {
|
|
@@ -118,7 +118,7 @@ declare module BABYLON.GuiEditor {
|
|
|
118
118
|
interface ICheckboxPropertyGridComponentProps {
|
|
119
119
|
checkboxes: BABYLON.GUI.Checkbox[];
|
|
120
120
|
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
121
|
-
onPropertyChangedObservable?:
|
|
121
|
+
onPropertyChangedObservable?: Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
122
122
|
}
|
|
123
123
|
export class CheckboxPropertyGridComponent extends React.Component<ICheckboxPropertyGridComponentProps> {
|
|
124
124
|
constructor(props: ICheckboxPropertyGridComponentProps);
|
|
@@ -129,7 +129,7 @@ declare module BABYLON.GuiEditor {
|
|
|
129
129
|
interface IColorPickerPropertyGridComponentProps {
|
|
130
130
|
colorPickers: BABYLON.GUI.ColorPicker[];
|
|
131
131
|
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
132
|
-
onPropertyChangedObservable?:
|
|
132
|
+
onPropertyChangedObservable?: Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
133
133
|
}
|
|
134
134
|
export class ColorPickerPropertyGridComponent extends React.Component<IColorPickerPropertyGridComponentProps> {
|
|
135
135
|
constructor(props: IColorPickerPropertyGridComponentProps);
|
|
@@ -140,7 +140,7 @@ declare module BABYLON.GuiEditor {
|
|
|
140
140
|
interface ICommonControlPropertyGridComponentProps {
|
|
141
141
|
controls: BABYLON.GUI.Control[];
|
|
142
142
|
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
143
|
-
onPropertyChangedObservable?:
|
|
143
|
+
onPropertyChangedObservable?: Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
144
144
|
hideDimensions?: boolean;
|
|
145
145
|
}
|
|
146
146
|
export class CommonControlPropertyGridComponent extends React.Component<ICommonControlPropertyGridComponentProps> {
|
|
@@ -157,7 +157,7 @@ declare module BABYLON.GuiEditor {
|
|
|
157
157
|
|
|
158
158
|
interface IContainerPropertyGridComponentProps {
|
|
159
159
|
containers: BABYLON.GUI.Container[];
|
|
160
|
-
onPropertyChangedObservable?:
|
|
160
|
+
onPropertyChangedObservable?: Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
161
161
|
}
|
|
162
162
|
export class ContainerPropertyGridComponent extends React.Component<IContainerPropertyGridComponentProps> {
|
|
163
163
|
render(): JSX.Element;
|
|
@@ -167,7 +167,7 @@ declare module BABYLON.GuiEditor {
|
|
|
167
167
|
interface IControlPropertyGridComponentProps {
|
|
168
168
|
controls: BABYLON.GUI.Control[];
|
|
169
169
|
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
170
|
-
onPropertyChangedObservable?:
|
|
170
|
+
onPropertyChangedObservable?: Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
171
171
|
}
|
|
172
172
|
export class ControlPropertyGridComponent extends React.Component<IControlPropertyGridComponentProps> {
|
|
173
173
|
constructor(props: IControlPropertyGridComponentProps);
|
|
@@ -178,7 +178,7 @@ declare module BABYLON.GuiEditor {
|
|
|
178
178
|
interface IDisplayGridPropertyGridComponentProps {
|
|
179
179
|
displayGrids: BABYLON.GUI.DisplayGrid[];
|
|
180
180
|
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
181
|
-
onPropertyChangedObservable?:
|
|
181
|
+
onPropertyChangedObservable?: Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
182
182
|
}
|
|
183
183
|
export class DisplayGridPropertyGridComponent extends React.Component<IDisplayGridPropertyGridComponentProps> {
|
|
184
184
|
constructor(props: IDisplayGridPropertyGridComponentProps);
|
|
@@ -189,7 +189,7 @@ declare module BABYLON.GuiEditor {
|
|
|
189
189
|
interface IEllipsePropertyGridComponentProps {
|
|
190
190
|
ellipses: BABYLON.GUI.Ellipse[];
|
|
191
191
|
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
192
|
-
onPropertyChangedObservable?:
|
|
192
|
+
onPropertyChangedObservable?: Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
193
193
|
}
|
|
194
194
|
export class EllipsePropertyGridComponent extends React.Component<IEllipsePropertyGridComponentProps> {
|
|
195
195
|
constructor(props: IEllipsePropertyGridComponentProps);
|
|
@@ -200,7 +200,7 @@ declare module BABYLON.GuiEditor {
|
|
|
200
200
|
interface IGridPropertyGridComponentProps {
|
|
201
201
|
grids: BABYLON.GUI.Grid[];
|
|
202
202
|
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
203
|
-
onPropertyChangedObservable?:
|
|
203
|
+
onPropertyChangedObservable?: Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
204
204
|
}
|
|
205
205
|
export class GridPropertyGridComponent extends React.Component<IGridPropertyGridComponentProps> {
|
|
206
206
|
constructor(props: IGridPropertyGridComponentProps);
|
|
@@ -231,7 +231,7 @@ declare module BABYLON.GuiEditor {
|
|
|
231
231
|
interface IImageBasedSliderPropertyGridComponentProps {
|
|
232
232
|
imageBasedSliders: BABYLON.GUI.ImageBasedSlider[];
|
|
233
233
|
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
234
|
-
onPropertyChangedObservable?:
|
|
234
|
+
onPropertyChangedObservable?: Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
235
235
|
}
|
|
236
236
|
export class ImageBasedSliderPropertyGridComponent extends React.Component<IImageBasedSliderPropertyGridComponentProps> {
|
|
237
237
|
constructor(props: IImageBasedSliderPropertyGridComponentProps);
|
|
@@ -242,7 +242,7 @@ declare module BABYLON.GuiEditor {
|
|
|
242
242
|
interface IImagePropertyGridComponentProps {
|
|
243
243
|
images: BABYLON.GUI.Image[];
|
|
244
244
|
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
245
|
-
onPropertyChangedObservable?:
|
|
245
|
+
onPropertyChangedObservable?: Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
246
246
|
}
|
|
247
247
|
export class ImagePropertyGridComponent extends React.Component<IImagePropertyGridComponentProps> {
|
|
248
248
|
private _observers;
|
|
@@ -260,7 +260,7 @@ declare module BABYLON.GuiEditor {
|
|
|
260
260
|
interface IInputTextPropertyGridComponentProps {
|
|
261
261
|
inputTexts: BABYLON.GUI.InputText[];
|
|
262
262
|
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
263
|
-
onPropertyChangedObservable?:
|
|
263
|
+
onPropertyChangedObservable?: Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
264
264
|
}
|
|
265
265
|
export class InputTextPropertyGridComponent extends React.Component<IInputTextPropertyGridComponentProps> {
|
|
266
266
|
constructor(props: IInputTextPropertyGridComponentProps);
|
|
@@ -271,7 +271,7 @@ declare module BABYLON.GuiEditor {
|
|
|
271
271
|
interface ILinePropertyGridComponentProps {
|
|
272
272
|
lines: BABYLON.GUI.Line[];
|
|
273
273
|
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
274
|
-
onPropertyChangedObservable?:
|
|
274
|
+
onPropertyChangedObservable?: Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
275
275
|
}
|
|
276
276
|
export class LinePropertyGridComponent extends React.Component<ILinePropertyGridComponentProps> {
|
|
277
277
|
constructor(props: ILinePropertyGridComponentProps);
|
|
@@ -283,7 +283,7 @@ declare module BABYLON.GuiEditor {
|
|
|
283
283
|
interface IRadioButtonPropertyGridComponentProps {
|
|
284
284
|
radioButtons: BABYLON.GUI.RadioButton[];
|
|
285
285
|
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
286
|
-
onPropertyChangedObservable?:
|
|
286
|
+
onPropertyChangedObservable?: Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
287
287
|
}
|
|
288
288
|
export class RadioButtonPropertyGridComponent extends React.Component<IRadioButtonPropertyGridComponentProps> {
|
|
289
289
|
constructor(props: IRadioButtonPropertyGridComponentProps);
|
|
@@ -294,7 +294,7 @@ declare module BABYLON.GuiEditor {
|
|
|
294
294
|
interface IRectanglePropertyGridComponentProps {
|
|
295
295
|
rectangles: BABYLON.GUI.Rectangle[];
|
|
296
296
|
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
297
|
-
onPropertyChangedObservable?:
|
|
297
|
+
onPropertyChangedObservable?: Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
298
298
|
}
|
|
299
299
|
export class RectanglePropertyGridComponent extends React.Component<IRectanglePropertyGridComponentProps> {
|
|
300
300
|
constructor(props: IRectanglePropertyGridComponentProps);
|
|
@@ -305,7 +305,7 @@ declare module BABYLON.GuiEditor {
|
|
|
305
305
|
interface IScrollViewerPropertyGridComponentProps {
|
|
306
306
|
scrollViewers: BABYLON.GUI.ScrollViewer[];
|
|
307
307
|
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
308
|
-
onPropertyChangedObservable?:
|
|
308
|
+
onPropertyChangedObservable?: Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
309
309
|
}
|
|
310
310
|
export class ScrollViewerPropertyGridComponent extends React.Component<IScrollViewerPropertyGridComponentProps> {
|
|
311
311
|
constructor(props: IScrollViewerPropertyGridComponentProps);
|
|
@@ -316,7 +316,7 @@ declare module BABYLON.GuiEditor {
|
|
|
316
316
|
interface ISliderGenericPropertyGridComponentProps {
|
|
317
317
|
sliders: BABYLON.GUI.Slider[];
|
|
318
318
|
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
319
|
-
onPropertyChangedObservable?:
|
|
319
|
+
onPropertyChangedObservable?: Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
320
320
|
}
|
|
321
321
|
export class SliderGenericPropertyGridComponent extends React.Component<ISliderGenericPropertyGridComponentProps> {
|
|
322
322
|
constructor(props: ISliderGenericPropertyGridComponentProps);
|
|
@@ -327,7 +327,7 @@ declare module BABYLON.GuiEditor {
|
|
|
327
327
|
interface ISliderPropertyGridComponentProps {
|
|
328
328
|
sliders: (Slider | BABYLON.GUI.ImageBasedSlider)[];
|
|
329
329
|
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
330
|
-
onPropertyChangedObservable?:
|
|
330
|
+
onPropertyChangedObservable?: Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
331
331
|
}
|
|
332
332
|
export class SliderPropertyGridComponent extends React.Component<ISliderPropertyGridComponentProps> {
|
|
333
333
|
constructor(props: ISliderPropertyGridComponentProps);
|
|
@@ -338,7 +338,7 @@ declare module BABYLON.GuiEditor {
|
|
|
338
338
|
interface IStackPanelPropertyGridComponentProps {
|
|
339
339
|
stackPanels: BABYLON.GUI.StackPanel[];
|
|
340
340
|
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
341
|
-
onPropertyChangedObservable?:
|
|
341
|
+
onPropertyChangedObservable?: Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
342
342
|
}
|
|
343
343
|
export class StackPanelPropertyGridComponent extends React.Component<IStackPanelPropertyGridComponentProps> {
|
|
344
344
|
constructor(props: IStackPanelPropertyGridComponentProps);
|
|
@@ -349,7 +349,7 @@ declare module BABYLON.GuiEditor {
|
|
|
349
349
|
interface ITextBlockPropertyGridComponentProps {
|
|
350
350
|
textBlocks: BABYLON.GUI.TextBlock[];
|
|
351
351
|
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
352
|
-
onPropertyChangedObservable?:
|
|
352
|
+
onPropertyChangedObservable?: Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
353
353
|
}
|
|
354
354
|
export class TextBlockPropertyGridComponent extends React.Component<ITextBlockPropertyGridComponentProps> {
|
|
355
355
|
constructor(props: ITextBlockPropertyGridComponentProps);
|
|
@@ -387,7 +387,7 @@ declare module BABYLON.GuiEditor {
|
|
|
387
387
|
|
|
388
388
|
interface IControlTreeItemComponentProps {
|
|
389
389
|
control: BABYLON.GUI.Control;
|
|
390
|
-
extensibilityGroups?:
|
|
390
|
+
extensibilityGroups?: IExplorerExtensibilityGroup[];
|
|
391
391
|
onClick: () => void;
|
|
392
392
|
globalState: GlobalState;
|
|
393
393
|
isHovered: boolean;
|
|
@@ -409,7 +409,7 @@ declare module BABYLON.GuiEditor {
|
|
|
409
409
|
|
|
410
410
|
interface IExtensionsComponentProps {
|
|
411
411
|
target: any;
|
|
412
|
-
extensibilityGroups?:
|
|
412
|
+
extensibilityGroups?: IExplorerExtensibilityGroup[];
|
|
413
413
|
}
|
|
414
414
|
export class ExtensionsComponent extends React.Component<IExtensionsComponentProps, {
|
|
415
415
|
popupVisible: boolean;
|
|
@@ -432,21 +432,21 @@ declare module BABYLON.GuiEditor {
|
|
|
432
432
|
render(): JSX.Element;
|
|
433
433
|
}
|
|
434
434
|
interface ISceneExplorerComponentProps {
|
|
435
|
-
scene?:
|
|
435
|
+
scene?: Scene;
|
|
436
436
|
noCommands?: boolean;
|
|
437
437
|
noHeader?: boolean;
|
|
438
438
|
noExpand?: boolean;
|
|
439
439
|
noClose?: boolean;
|
|
440
|
-
extensibilityGroups?:
|
|
440
|
+
extensibilityGroups?: IExplorerExtensibilityGroup[];
|
|
441
441
|
globalState: GlobalState;
|
|
442
442
|
popupMode?: boolean;
|
|
443
443
|
onPopup?: () => void;
|
|
444
444
|
onClose?: () => void;
|
|
445
445
|
}
|
|
446
446
|
export class SceneExplorerComponent extends React.Component<ISceneExplorerComponentProps, {
|
|
447
|
-
filter:
|
|
447
|
+
filter: Nullable<string>;
|
|
448
448
|
selectedEntity: any;
|
|
449
|
-
scene:
|
|
449
|
+
scene: Nullable<Scene>;
|
|
450
450
|
}> {
|
|
451
451
|
private _onSelectionChangeObserver;
|
|
452
452
|
private _onParrentingChangeObserver;
|
|
@@ -469,15 +469,15 @@ declare module BABYLON.GuiEditor {
|
|
|
469
469
|
|
|
470
470
|
|
|
471
471
|
export interface ITreeItemComponentProps {
|
|
472
|
-
items?:
|
|
472
|
+
items?: Nullable<any[]>;
|
|
473
473
|
label: string;
|
|
474
474
|
offset: number;
|
|
475
|
-
filter:
|
|
475
|
+
filter: Nullable<string>;
|
|
476
476
|
forceSubitems?: boolean;
|
|
477
477
|
globalState: GlobalState;
|
|
478
478
|
entity?: any;
|
|
479
479
|
selectedEntities: any[];
|
|
480
|
-
extensibilityGroups?:
|
|
480
|
+
extensibilityGroups?: IExplorerExtensibilityGroup[];
|
|
481
481
|
contextMenuItems?: {
|
|
482
482
|
label: string;
|
|
483
483
|
action: () => void;
|
|
@@ -524,8 +524,8 @@ declare module BABYLON.GuiEditor {
|
|
|
524
524
|
mustExpand?: boolean;
|
|
525
525
|
offset: number;
|
|
526
526
|
globalState: GlobalState;
|
|
527
|
-
extensibilityGroups?:
|
|
528
|
-
filter:
|
|
527
|
+
extensibilityGroups?: IExplorerExtensibilityGroup[];
|
|
528
|
+
filter: Nullable<string>;
|
|
529
529
|
}
|
|
530
530
|
export interface ITreeItemSelectableComponentState {
|
|
531
531
|
dragOver: boolean;
|
|
@@ -586,7 +586,7 @@ declare module BABYLON.GuiEditor {
|
|
|
586
586
|
bottom: number;
|
|
587
587
|
constructor(left: number, top: number, right: number, bottom: number);
|
|
588
588
|
clone(): Rect;
|
|
589
|
-
get center():
|
|
589
|
+
get center(): Vector2;
|
|
590
590
|
get width(): number;
|
|
591
591
|
get height(): number;
|
|
592
592
|
}
|
|
@@ -599,7 +599,7 @@ declare module BABYLON.GuiEditor {
|
|
|
599
599
|
* @param relative should we return only the relative scaling (relative to the parent)
|
|
600
600
|
* @returns an X,Y vector of the scaling
|
|
601
601
|
*/
|
|
602
|
-
static GetScale(node: BABYLON.GUI.Control, relative?: boolean):
|
|
602
|
+
static GetScale(node: BABYLON.GUI.Control, relative?: boolean): Vector2;
|
|
603
603
|
static GetRotation(node: BABYLON.GUI.Control, relative?: boolean): number;
|
|
604
604
|
/**
|
|
605
605
|
* This function calculates a local matrix for a node, including it's full transformation and pivot point
|
|
@@ -617,10 +617,10 @@ declare module BABYLON.GuiEditor {
|
|
|
617
617
|
* @returns the world matrix for this node
|
|
618
618
|
*/
|
|
619
619
|
static NodeToRTTWorldMatrix(node: BABYLON.GUI.Control, storedValues?: Rect, stopAt?: BABYLON.GUI.Control): BABYLON.GUI.Matrix2D;
|
|
620
|
-
static NodeToRTTSpace(node: BABYLON.GUI.Control, x: number, y: number, reference?:
|
|
621
|
-
static RttToLocalNodeSpace(node: BABYLON.GUI.Control, x: number, y: number, reference?:
|
|
622
|
-
static RttToCanvasSpace(x: number, y: number):
|
|
623
|
-
static MousePointerToRTTSpace(node: BABYLON.GUI.Control, x?: number, y?: number):
|
|
620
|
+
static NodeToRTTSpace(node: BABYLON.GUI.Control, x: number, y: number, reference?: Vector2, storedValues?: Rect, stopAt?: BABYLON.GUI.Control): Vector2;
|
|
621
|
+
static RttToLocalNodeSpace(node: BABYLON.GUI.Control, x: number, y: number, reference?: Vector2, storedValues?: Rect): Vector2;
|
|
622
|
+
static RttToCanvasSpace(x: number, y: number): Vector2;
|
|
623
|
+
static MousePointerToRTTSpace(node: BABYLON.GUI.Control, x?: number, y?: number): Vector2;
|
|
624
624
|
private static _ResetMatrixArray;
|
|
625
625
|
static ComputeLocalBounds(node: BABYLON.GUI.Control): Rect;
|
|
626
626
|
/**
|
|
@@ -629,9 +629,9 @@ declare module BABYLON.GuiEditor {
|
|
|
629
629
|
* @param properties
|
|
630
630
|
* @param onPropertyChangedObservable
|
|
631
631
|
*/
|
|
632
|
-
static ConvertToPercentage(guiControl: BABYLON.GUI.Control, properties?: DimensionProperties[], onPropertyChangedObservable?:
|
|
632
|
+
static ConvertToPercentage(guiControl: BABYLON.GUI.Control, properties?: DimensionProperties[], onPropertyChangedObservable?: Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>): void;
|
|
633
633
|
static Round(value: number): number;
|
|
634
|
-
static ConvertToPixels(guiControl: BABYLON.GUI.Control, properties?: DimensionProperties[], onPropertyChangedObservable?:
|
|
634
|
+
static ConvertToPixels(guiControl: BABYLON.GUI.Control, properties?: DimensionProperties[], onPropertyChangedObservable?: Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>): void;
|
|
635
635
|
}
|
|
636
636
|
|
|
637
637
|
|
|
@@ -688,7 +688,7 @@ declare module BABYLON.GuiEditor {
|
|
|
688
688
|
Bottom = 1
|
|
689
689
|
}
|
|
690
690
|
export interface IScalePoint {
|
|
691
|
-
position:
|
|
691
|
+
position: Vector2;
|
|
692
692
|
horizontalPosition: ScalePointPosition;
|
|
693
693
|
verticalPosition: ScalePointPosition;
|
|
694
694
|
rotation: number;
|
|
@@ -712,7 +712,7 @@ declare module BABYLON.GuiEditor {
|
|
|
712
712
|
globalState: GlobalState;
|
|
713
713
|
}
|
|
714
714
|
export class GizmoWrapper extends React.Component<IGizmoWrapperProps> {
|
|
715
|
-
observer:
|
|
715
|
+
observer: Nullable<Observer<void>>;
|
|
716
716
|
componentWillMount(): void;
|
|
717
717
|
componentWillUnmount(): void;
|
|
718
718
|
render(): JSX.Element;
|
|
@@ -731,7 +731,7 @@ declare module BABYLON.GuiEditor {
|
|
|
731
731
|
private _rootContainer;
|
|
732
732
|
private _setConstraintDirection;
|
|
733
733
|
private _mouseStartPoint;
|
|
734
|
-
_scene:
|
|
734
|
+
_scene: Scene;
|
|
735
735
|
private _constraintDirection;
|
|
736
736
|
private _panning;
|
|
737
737
|
private _isOverGUINode;
|
|
@@ -758,8 +758,8 @@ declare module BABYLON.GuiEditor {
|
|
|
758
758
|
private _zoomFactor;
|
|
759
759
|
private _zoomModeIncrement;
|
|
760
760
|
private _guiSize;
|
|
761
|
-
get guiSize():
|
|
762
|
-
set guiSize(value:
|
|
761
|
+
get guiSize(): ISize;
|
|
762
|
+
set guiSize(value: ISize);
|
|
763
763
|
applyEditorTransformation(): void;
|
|
764
764
|
removeEditorTransformation(): void;
|
|
765
765
|
private _reframeWindow;
|
|
@@ -792,7 +792,7 @@ declare module BABYLON.GuiEditor {
|
|
|
792
792
|
private _adjustParentingIndex;
|
|
793
793
|
isSelected(value: boolean, guiNode: BABYLON.GUI.Control): void;
|
|
794
794
|
clicked: boolean;
|
|
795
|
-
_onMove(guiControl: BABYLON.GUI.Control, evt:
|
|
795
|
+
_onMove(guiControl: BABYLON.GUI.Control, evt: Vector2, startPos: Vector2): void;
|
|
796
796
|
onMove(evt: React.PointerEvent): void;
|
|
797
797
|
private _screenToTexturePosition;
|
|
798
798
|
private getScaledPointerPosition;
|
|
@@ -803,12 +803,12 @@ declare module BABYLON.GuiEditor {
|
|
|
803
803
|
onUp(evt: React.PointerEvent): void;
|
|
804
804
|
createGUICanvas(): void;
|
|
805
805
|
synchronizeLiveGUI(): void;
|
|
806
|
-
addControls(scene:
|
|
806
|
+
addControls(scene: Scene): void;
|
|
807
807
|
panning(): void;
|
|
808
808
|
moveControls(moveHorizontal: boolean, amount: number): void;
|
|
809
809
|
zoomWheel(event: React.WheelEvent): void;
|
|
810
810
|
zooming(delta: number): void;
|
|
811
|
-
zeroIfClose(vec:
|
|
811
|
+
zeroIfClose(vec: Vector3): void;
|
|
812
812
|
render(): JSX.Element;
|
|
813
813
|
}
|
|
814
814
|
|
|
@@ -826,61 +826,61 @@ declare module BABYLON.GuiEditor {
|
|
|
826
826
|
ZOOM = 2
|
|
827
827
|
}
|
|
828
828
|
export class GlobalState {
|
|
829
|
-
liveGuiTexture:
|
|
829
|
+
liveGuiTexture: Nullable<BABYLON.GUI.AdvancedDynamicTexture>;
|
|
830
830
|
guiTexture: BABYLON.GUI.AdvancedDynamicTexture;
|
|
831
831
|
hostElement: HTMLElement;
|
|
832
832
|
hostDocument: HTMLDocument;
|
|
833
833
|
hostWindow: Window;
|
|
834
834
|
selectedControls: BABYLON.GUI.Control[];
|
|
835
|
-
onSelectionChangedObservable:
|
|
836
|
-
onResizeObservable:
|
|
837
|
-
onBuiltObservable:
|
|
838
|
-
onResetRequiredObservable:
|
|
839
|
-
onUpdateRequiredObservable:
|
|
840
|
-
onLogRequiredObservable:
|
|
841
|
-
onErrorMessageDialogRequiredObservable:
|
|
842
|
-
onIsLoadingChanged:
|
|
843
|
-
onSelectionBoxMoved:
|
|
844
|
-
onNewSceneObservable:
|
|
845
|
-
onGuiNodeRemovalObservable:
|
|
846
|
-
onPopupClosedObservable:
|
|
835
|
+
onSelectionChangedObservable: Observable<void>;
|
|
836
|
+
onResizeObservable: Observable<ISize>;
|
|
837
|
+
onBuiltObservable: Observable<void>;
|
|
838
|
+
onResetRequiredObservable: Observable<void>;
|
|
839
|
+
onUpdateRequiredObservable: Observable<void>;
|
|
840
|
+
onLogRequiredObservable: Observable<LogEntry>;
|
|
841
|
+
onErrorMessageDialogRequiredObservable: Observable<string>;
|
|
842
|
+
onIsLoadingChanged: Observable<boolean>;
|
|
843
|
+
onSelectionBoxMoved: Observable<ClientRect | DOMRect>;
|
|
844
|
+
onNewSceneObservable: Observable<Nullable<Scene>>;
|
|
845
|
+
onGuiNodeRemovalObservable: Observable<BABYLON.GUI.Control>;
|
|
846
|
+
onPopupClosedObservable: Observable<void>;
|
|
847
847
|
private _backgroundColor;
|
|
848
848
|
private _outlines;
|
|
849
849
|
keys: KeyboardManager;
|
|
850
850
|
/** DO NOT USE: in the process of removing */
|
|
851
851
|
blockKeyboardEvents: boolean;
|
|
852
|
-
onOutlineChangedObservable:
|
|
852
|
+
onOutlineChangedObservable: Observable<void>;
|
|
853
853
|
controlCamera: boolean;
|
|
854
854
|
selectionLock: boolean;
|
|
855
855
|
workbench: WorkbenchComponent;
|
|
856
|
-
onPropertyChangedObservable:
|
|
856
|
+
onPropertyChangedObservable: Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
857
857
|
private _tool;
|
|
858
|
-
onToolChangeObservable:
|
|
858
|
+
onToolChangeObservable: Observable<void>;
|
|
859
859
|
get tool(): GUIEditorTool;
|
|
860
860
|
set tool(newTool: GUIEditorTool);
|
|
861
|
-
onFitControlsToWindowObservable:
|
|
862
|
-
onReframeWindowObservable:
|
|
863
|
-
onLoadObservable:
|
|
864
|
-
onSaveObservable:
|
|
865
|
-
onSnippetLoadObservable:
|
|
866
|
-
onSnippetSaveObservable:
|
|
867
|
-
onResponsiveChangeObservable:
|
|
868
|
-
onParentingChangeObservable:
|
|
869
|
-
onDropObservable:
|
|
870
|
-
onPropertyGridUpdateRequiredObservable:
|
|
871
|
-
onDraggingEndObservable:
|
|
872
|
-
onDraggingStartObservable:
|
|
873
|
-
onWindowResizeObservable:
|
|
874
|
-
onGizmoUpdateRequireObservable:
|
|
875
|
-
onArtBoardUpdateRequiredObservable:
|
|
876
|
-
onBackgroundColorChangeObservable:
|
|
877
|
-
onPointerMoveObservable:
|
|
878
|
-
onPointerUpObservable:
|
|
879
|
-
draggedControl:
|
|
861
|
+
onFitControlsToWindowObservable: Observable<void>;
|
|
862
|
+
onReframeWindowObservable: Observable<void>;
|
|
863
|
+
onLoadObservable: Observable<File>;
|
|
864
|
+
onSaveObservable: Observable<void>;
|
|
865
|
+
onSnippetLoadObservable: Observable<void>;
|
|
866
|
+
onSnippetSaveObservable: Observable<void>;
|
|
867
|
+
onResponsiveChangeObservable: Observable<boolean>;
|
|
868
|
+
onParentingChangeObservable: Observable<Nullable<BABYLON.GUI.Control>>;
|
|
869
|
+
onDropObservable: Observable<void>;
|
|
870
|
+
onPropertyGridUpdateRequiredObservable: Observable<void>;
|
|
871
|
+
onDraggingEndObservable: Observable<void>;
|
|
872
|
+
onDraggingStartObservable: Observable<void>;
|
|
873
|
+
onWindowResizeObservable: Observable<void>;
|
|
874
|
+
onGizmoUpdateRequireObservable: Observable<void>;
|
|
875
|
+
onArtBoardUpdateRequiredObservable: Observable<void>;
|
|
876
|
+
onBackgroundColorChangeObservable: Observable<void>;
|
|
877
|
+
onPointerMoveObservable: Observable<import("react").PointerEvent<HTMLCanvasElement>>;
|
|
878
|
+
onPointerUpObservable: Observable<Nullable<PointerEvent | import("react").PointerEvent<HTMLCanvasElement>>>;
|
|
879
|
+
draggedControl: Nullable<BABYLON.GUI.Control>;
|
|
880
880
|
draggedControlDirection: DragOverLocation;
|
|
881
|
-
onCopyObservable:
|
|
882
|
-
onCutObservable:
|
|
883
|
-
onPasteObservable:
|
|
881
|
+
onCopyObservable: Observable<(content: string) => void>;
|
|
882
|
+
onCutObservable: Observable<(content: string) => void>;
|
|
883
|
+
onPasteObservable: Observable<string>;
|
|
884
884
|
isSaving: boolean;
|
|
885
885
|
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
886
886
|
storeEditorData: (serializationObject: any) => void;
|
|
@@ -895,8 +895,8 @@ declare module BABYLON.GuiEditor {
|
|
|
895
895
|
constructor();
|
|
896
896
|
/** adds copy, cut and paste listeners to the host window */
|
|
897
897
|
registerEventListeners(): void;
|
|
898
|
-
get backgroundColor():
|
|
899
|
-
set backgroundColor(value:
|
|
898
|
+
get backgroundColor(): Color3;
|
|
899
|
+
set backgroundColor(value: Color3);
|
|
900
900
|
get outlines(): boolean;
|
|
901
901
|
set outlines(value: boolean);
|
|
902
902
|
select(control: BABYLON.GUI.Control): void;
|
|
@@ -913,7 +913,7 @@ declare module BABYLON.GuiEditor {
|
|
|
913
913
|
*/
|
|
914
914
|
export interface IGUIEditorOptions {
|
|
915
915
|
liveGuiTexture?: BABYLON.GUI.AdvancedDynamicTexture;
|
|
916
|
-
customLoad
|
|
916
|
+
customLoad?: {
|
|
917
917
|
label: string;
|
|
918
918
|
action: (data: string) => Promise<string>;
|
|
919
919
|
} | undefined;
|
|
@@ -923,7 +923,7 @@ declare module BABYLON.GuiEditor {
|
|
|
923
923
|
action: (data: string) => Promise<string>;
|
|
924
924
|
};
|
|
925
925
|
currentSnippetToken?: string;
|
|
926
|
-
customLoadObservable?:
|
|
926
|
+
customLoadObservable?: Observable<any>;
|
|
927
927
|
}
|
|
928
928
|
/**
|
|
929
929
|
* Class used to create a gui editor
|
|
@@ -954,7 +954,7 @@ declare module BABYLON.GuiEditor {
|
|
|
954
954
|
private _moveListener;
|
|
955
955
|
private _focusOutListener;
|
|
956
956
|
private _keys;
|
|
957
|
-
onKeyPressedObservable:
|
|
957
|
+
onKeyPressedObservable: Observable<Key>;
|
|
958
958
|
constructor(hostElement: HTMLElement | HTMLDocument);
|
|
959
959
|
private _keyEvent;
|
|
960
960
|
private _updateModifierKeys;
|
|
@@ -1017,8 +1017,8 @@ declare module BABYLON.GuiEditor {
|
|
|
1017
1017
|
static LookForItems(item: any, selectedEntities: any[], firstIteration?: boolean): boolean;
|
|
1018
1018
|
private static _RecursiveRemoveHiddenMeshesAndHoistChildren;
|
|
1019
1019
|
static SortAndFilter(parent: any, items: any[]): any[];
|
|
1020
|
-
static GetCellInfo(grid: BABYLON.GUI.Grid, control: BABYLON.GUI.Control):
|
|
1021
|
-
static ReorderGrid(grid: BABYLON.GUI.Grid, index: number, control: BABYLON.GUI.Control, cell:
|
|
1020
|
+
static GetCellInfo(grid: BABYLON.GUI.Grid, control: BABYLON.GUI.Control): Vector2;
|
|
1021
|
+
static ReorderGrid(grid: BABYLON.GUI.Grid, index: number, control: BABYLON.GUI.Control, cell: Vector2): void;
|
|
1022
1022
|
}
|
|
1023
1023
|
|
|
1024
1024
|
|
|
@@ -1073,7 +1073,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1073
1073
|
|
|
1074
1074
|
|
|
1075
1075
|
}
|
|
1076
|
-
declare module BABYLON
|
|
1076
|
+
declare module BABYLON {
|
|
1077
1077
|
|
|
1078
1078
|
}
|
|
1079
1079
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
@@ -1081,16 +1081,16 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1081
1081
|
* Interface used to specify creation options for color picker
|
|
1082
1082
|
*/
|
|
1083
1083
|
export interface IColorPickerProps {
|
|
1084
|
-
color:
|
|
1084
|
+
color: Color3 | Color4;
|
|
1085
1085
|
linearhint?: boolean;
|
|
1086
1086
|
debugMode?: boolean;
|
|
1087
|
-
onColorChanged?: (color:
|
|
1087
|
+
onColorChanged?: (color: Color3 | Color4) => void;
|
|
1088
1088
|
}
|
|
1089
1089
|
/**
|
|
1090
1090
|
* Interface used to specify creation options for color picker
|
|
1091
1091
|
*/
|
|
1092
1092
|
export interface IColorPickerState {
|
|
1093
|
-
color:
|
|
1093
|
+
color: Color3;
|
|
1094
1094
|
alpha: number;
|
|
1095
1095
|
}
|
|
1096
1096
|
/**
|
|
@@ -1119,7 +1119,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1119
1119
|
|
|
1120
1120
|
|
|
1121
1121
|
}
|
|
1122
|
-
declare module BABYLON
|
|
1122
|
+
declare module BABYLON {
|
|
1123
1123
|
|
|
1124
1124
|
}
|
|
1125
1125
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
@@ -1142,7 +1142,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1142
1142
|
|
|
1143
1143
|
|
|
1144
1144
|
}
|
|
1145
|
-
declare module BABYLON
|
|
1145
|
+
declare module BABYLON {
|
|
1146
1146
|
|
|
1147
1147
|
}
|
|
1148
1148
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
@@ -1160,7 +1160,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1160
1160
|
|
|
1161
1161
|
|
|
1162
1162
|
}
|
|
1163
|
-
declare module BABYLON
|
|
1163
|
+
declare module BABYLON {
|
|
1164
1164
|
|
|
1165
1165
|
}
|
|
1166
1166
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
@@ -1178,7 +1178,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1178
1178
|
|
|
1179
1179
|
|
|
1180
1180
|
}
|
|
1181
|
-
declare module BABYLON
|
|
1181
|
+
declare module BABYLON {
|
|
1182
1182
|
|
|
1183
1183
|
}
|
|
1184
1184
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
@@ -1189,7 +1189,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1189
1189
|
isSelected?: () => boolean;
|
|
1190
1190
|
onSelect?: (value: boolean) => void;
|
|
1191
1191
|
onValueChanged?: () => void;
|
|
1192
|
-
onPropertyChangedObservable?:
|
|
1192
|
+
onPropertyChangedObservable?: Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
1193
1193
|
disabled?: boolean;
|
|
1194
1194
|
icon?: string;
|
|
1195
1195
|
iconLabel?: string;
|
|
@@ -1218,7 +1218,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1218
1218
|
|
|
1219
1219
|
|
|
1220
1220
|
}
|
|
1221
|
-
declare module BABYLON
|
|
1221
|
+
declare module BABYLON {
|
|
1222
1222
|
|
|
1223
1223
|
}
|
|
1224
1224
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
@@ -1226,7 +1226,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1226
1226
|
label: string;
|
|
1227
1227
|
target: any;
|
|
1228
1228
|
propertyName: string;
|
|
1229
|
-
onPropertyChangedObservable?:
|
|
1229
|
+
onPropertyChangedObservable?: Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
1230
1230
|
isLinear?: boolean;
|
|
1231
1231
|
icon?: string;
|
|
1232
1232
|
lockObject?: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
@@ -1240,7 +1240,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1240
1240
|
|
|
1241
1241
|
|
|
1242
1242
|
}
|
|
1243
|
-
declare module BABYLON
|
|
1243
|
+
declare module BABYLON {
|
|
1244
1244
|
|
|
1245
1245
|
}
|
|
1246
1246
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
@@ -1248,7 +1248,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1248
1248
|
label: string;
|
|
1249
1249
|
target?: any;
|
|
1250
1250
|
propertyName: string;
|
|
1251
|
-
onPropertyChangedObservable?:
|
|
1251
|
+
onPropertyChangedObservable?: Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
1252
1252
|
onChange?: () => void;
|
|
1253
1253
|
isLinear?: boolean;
|
|
1254
1254
|
icon?: string;
|
|
@@ -1262,7 +1262,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1262
1262
|
|
|
1263
1263
|
|
|
1264
1264
|
}
|
|
1265
|
-
declare module BABYLON
|
|
1265
|
+
declare module BABYLON {
|
|
1266
1266
|
|
|
1267
1267
|
}
|
|
1268
1268
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
@@ -1270,7 +1270,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1270
1270
|
label: string;
|
|
1271
1271
|
target?: any;
|
|
1272
1272
|
propertyName: string;
|
|
1273
|
-
onPropertyChangedObservable?:
|
|
1273
|
+
onPropertyChangedObservable?: Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
1274
1274
|
onChange?: () => void;
|
|
1275
1275
|
isLinear?: boolean;
|
|
1276
1276
|
icon?: string;
|
|
@@ -1280,16 +1280,16 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1280
1280
|
}
|
|
1281
1281
|
interface IColorLineComponentState {
|
|
1282
1282
|
isExpanded: boolean;
|
|
1283
|
-
color:
|
|
1283
|
+
color: Color4;
|
|
1284
1284
|
}
|
|
1285
1285
|
export class ColorLineComponent extends React.Component<IColorLineComponentProps, IColorLineComponentState> {
|
|
1286
1286
|
constructor(props: IColorLineComponentProps);
|
|
1287
1287
|
shouldComponentUpdate(nextProps: IColorLineComponentProps, nextState: IColorLineComponentState): boolean;
|
|
1288
1288
|
getValue(props?: Readonly<IColorLineComponentProps> & Readonly<{
|
|
1289
1289
|
children?: React.ReactNode;
|
|
1290
|
-
}>):
|
|
1290
|
+
}>): Color4;
|
|
1291
1291
|
setColorFromString(colorString: string): void;
|
|
1292
|
-
setColor(newColor:
|
|
1292
|
+
setColor(newColor: Color4): void;
|
|
1293
1293
|
switchExpandState(): void;
|
|
1294
1294
|
updateStateR(value: number): void;
|
|
1295
1295
|
updateStateG(value: number): void;
|
|
@@ -1304,12 +1304,12 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1304
1304
|
|
|
1305
1305
|
|
|
1306
1306
|
}
|
|
1307
|
-
declare module BABYLON
|
|
1307
|
+
declare module BABYLON {
|
|
1308
1308
|
|
|
1309
1309
|
}
|
|
1310
1310
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
1311
1311
|
export interface IColorPickerComponentProps {
|
|
1312
|
-
value:
|
|
1312
|
+
value: Color4 | Color3;
|
|
1313
1313
|
linearHint?: boolean;
|
|
1314
1314
|
onColorChanged: (newOne: string) => void;
|
|
1315
1315
|
icon?: string;
|
|
@@ -1318,7 +1318,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1318
1318
|
}
|
|
1319
1319
|
interface IColorPickerComponentState {
|
|
1320
1320
|
pickerEnabled: boolean;
|
|
1321
|
-
color:
|
|
1321
|
+
color: Color3 | Color4;
|
|
1322
1322
|
hex: string;
|
|
1323
1323
|
}
|
|
1324
1324
|
export class ColorPickerLineComponent extends React.Component<IColorPickerComponentProps, IColorPickerComponentState> {
|
|
@@ -1338,7 +1338,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1338
1338
|
|
|
1339
1339
|
|
|
1340
1340
|
}
|
|
1341
|
-
declare module BABYLON
|
|
1341
|
+
declare module BABYLON {
|
|
1342
1342
|
|
|
1343
1343
|
}
|
|
1344
1344
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
@@ -1354,7 +1354,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1354
1354
|
|
|
1355
1355
|
|
|
1356
1356
|
}
|
|
1357
|
-
declare module BABYLON
|
|
1357
|
+
declare module BABYLON {
|
|
1358
1358
|
|
|
1359
1359
|
}
|
|
1360
1360
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
@@ -1377,7 +1377,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1377
1377
|
|
|
1378
1378
|
|
|
1379
1379
|
}
|
|
1380
|
-
declare module BABYLON
|
|
1380
|
+
declare module BABYLON {
|
|
1381
1381
|
|
|
1382
1382
|
}
|
|
1383
1383
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
@@ -1400,7 +1400,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1400
1400
|
|
|
1401
1401
|
|
|
1402
1402
|
}
|
|
1403
|
-
declare module BABYLON
|
|
1403
|
+
declare module BABYLON {
|
|
1404
1404
|
|
|
1405
1405
|
}
|
|
1406
1406
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
@@ -1411,7 +1411,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1411
1411
|
lockObject?: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
1412
1412
|
onChange?: (newValue: number) => void;
|
|
1413
1413
|
isInteger?: boolean;
|
|
1414
|
-
onPropertyChangedObservable?:
|
|
1414
|
+
onPropertyChangedObservable?: Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
1415
1415
|
additionalClass?: string;
|
|
1416
1416
|
step?: string;
|
|
1417
1417
|
digits?: number;
|
|
@@ -1453,7 +1453,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1453
1453
|
|
|
1454
1454
|
|
|
1455
1455
|
}
|
|
1456
|
-
declare module BABYLON
|
|
1456
|
+
declare module BABYLON {
|
|
1457
1457
|
|
|
1458
1458
|
}
|
|
1459
1459
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
@@ -1465,7 +1465,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1465
1465
|
onChange?: (newValue: number) => void;
|
|
1466
1466
|
isInteger?: boolean;
|
|
1467
1467
|
replaySourceReplacement?: string;
|
|
1468
|
-
onPropertyChangedObservable?:
|
|
1468
|
+
onPropertyChangedObservable?: Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
1469
1469
|
additionalClass?: string;
|
|
1470
1470
|
step?: string;
|
|
1471
1471
|
digits?: number;
|
|
@@ -1496,7 +1496,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1496
1496
|
|
|
1497
1497
|
|
|
1498
1498
|
}
|
|
1499
|
-
declare module BABYLON
|
|
1499
|
+
declare module BABYLON {
|
|
1500
1500
|
|
|
1501
1501
|
}
|
|
1502
1502
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
@@ -1514,7 +1514,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1514
1514
|
|
|
1515
1515
|
|
|
1516
1516
|
}
|
|
1517
|
-
declare module BABYLON
|
|
1517
|
+
declare module BABYLON {
|
|
1518
1518
|
|
|
1519
1519
|
}
|
|
1520
1520
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
@@ -1529,7 +1529,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1529
1529
|
|
|
1530
1530
|
|
|
1531
1531
|
}
|
|
1532
|
-
declare module BABYLON
|
|
1532
|
+
declare module BABYLON {
|
|
1533
1533
|
|
|
1534
1534
|
}
|
|
1535
1535
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
@@ -1551,7 +1551,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1551
1551
|
|
|
1552
1552
|
|
|
1553
1553
|
}
|
|
1554
|
-
declare module BABYLON
|
|
1554
|
+
declare module BABYLON {
|
|
1555
1555
|
|
|
1556
1556
|
}
|
|
1557
1557
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
@@ -1570,7 +1570,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1570
1570
|
|
|
1571
1571
|
|
|
1572
1572
|
}
|
|
1573
|
-
declare module BABYLON
|
|
1573
|
+
declare module BABYLON {
|
|
1574
1574
|
|
|
1575
1575
|
}
|
|
1576
1576
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
@@ -1582,7 +1582,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1582
1582
|
|
|
1583
1583
|
|
|
1584
1584
|
}
|
|
1585
|
-
declare module BABYLON
|
|
1585
|
+
declare module BABYLON {
|
|
1586
1586
|
|
|
1587
1587
|
}
|
|
1588
1588
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
@@ -1606,7 +1606,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1606
1606
|
|
|
1607
1607
|
|
|
1608
1608
|
}
|
|
1609
|
-
declare module BABYLON
|
|
1609
|
+
declare module BABYLON {
|
|
1610
1610
|
|
|
1611
1611
|
}
|
|
1612
1612
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
@@ -1627,7 +1627,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1627
1627
|
|
|
1628
1628
|
|
|
1629
1629
|
}
|
|
1630
|
-
declare module BABYLON
|
|
1630
|
+
declare module BABYLON {
|
|
1631
1631
|
|
|
1632
1632
|
}
|
|
1633
1633
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
@@ -1644,7 +1644,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1644
1644
|
|
|
1645
1645
|
|
|
1646
1646
|
}
|
|
1647
|
-
declare module BABYLON
|
|
1647
|
+
declare module BABYLON {
|
|
1648
1648
|
|
|
1649
1649
|
}
|
|
1650
1650
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
@@ -1676,7 +1676,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1676
1676
|
|
|
1677
1677
|
|
|
1678
1678
|
}
|
|
1679
|
-
declare module BABYLON
|
|
1679
|
+
declare module BABYLON {
|
|
1680
1680
|
|
|
1681
1681
|
}
|
|
1682
1682
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
@@ -1685,11 +1685,11 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1685
1685
|
label: string;
|
|
1686
1686
|
target: any;
|
|
1687
1687
|
propertyName: string;
|
|
1688
|
-
options:
|
|
1688
|
+
options: IInspectableOptions[];
|
|
1689
1689
|
noDirectUpdate?: boolean;
|
|
1690
1690
|
onSelect?: (value: number) => void;
|
|
1691
1691
|
extractValue?: () => number;
|
|
1692
|
-
onPropertyChangedObservable?:
|
|
1692
|
+
onPropertyChangedObservable?: Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
1693
1693
|
allowNullValue?: boolean;
|
|
1694
1694
|
icon?: string;
|
|
1695
1695
|
iconLabel?: string;
|
|
@@ -1712,7 +1712,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1712
1712
|
|
|
1713
1713
|
|
|
1714
1714
|
}
|
|
1715
|
-
declare module BABYLON
|
|
1715
|
+
declare module BABYLON {
|
|
1716
1716
|
|
|
1717
1717
|
}
|
|
1718
1718
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
@@ -1724,12 +1724,12 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1724
1724
|
|
|
1725
1725
|
|
|
1726
1726
|
}
|
|
1727
|
-
declare module BABYLON
|
|
1727
|
+
declare module BABYLON {
|
|
1728
1728
|
|
|
1729
1729
|
}
|
|
1730
1730
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
1731
1731
|
interface IRadioButtonLineComponentProps {
|
|
1732
|
-
onSelectionChangedObservable:
|
|
1732
|
+
onSelectionChangedObservable: Observable<RadioButtonLineComponent>;
|
|
1733
1733
|
label: string;
|
|
1734
1734
|
isSelected: () => boolean;
|
|
1735
1735
|
onSelect: () => void;
|
|
@@ -1750,7 +1750,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1750
1750
|
|
|
1751
1751
|
|
|
1752
1752
|
}
|
|
1753
|
-
declare module BABYLON
|
|
1753
|
+
declare module BABYLON {
|
|
1754
1754
|
|
|
1755
1755
|
}
|
|
1756
1756
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
@@ -1765,7 +1765,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1765
1765
|
useEuler?: boolean;
|
|
1766
1766
|
onChange?: (value: number) => void;
|
|
1767
1767
|
onInput?: (value: number) => void;
|
|
1768
|
-
onPropertyChangedObservable?:
|
|
1768
|
+
onPropertyChangedObservable?: Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
1769
1769
|
decimalCount?: number;
|
|
1770
1770
|
margin?: boolean;
|
|
1771
1771
|
icon?: string;
|
|
@@ -1790,7 +1790,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1790
1790
|
|
|
1791
1791
|
|
|
1792
1792
|
}
|
|
1793
|
-
declare module BABYLON
|
|
1793
|
+
declare module BABYLON {
|
|
1794
1794
|
|
|
1795
1795
|
}
|
|
1796
1796
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
@@ -1802,12 +1802,12 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1802
1802
|
* @param getProperty
|
|
1803
1803
|
* @returns a proxy object that can be passed as a target into the input
|
|
1804
1804
|
*/
|
|
1805
|
-
export function makeTargetsProxy<Type>(targets: Type[], onPropertyChangedObservable?:
|
|
1805
|
+
export function makeTargetsProxy<Type>(targets: Type[], onPropertyChangedObservable?: Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>, getProperty?: (target: Type, property: keyof Type) => any): any;
|
|
1806
1806
|
|
|
1807
1807
|
|
|
1808
1808
|
|
|
1809
1809
|
}
|
|
1810
|
-
declare module BABYLON
|
|
1810
|
+
declare module BABYLON {
|
|
1811
1811
|
|
|
1812
1812
|
}
|
|
1813
1813
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
@@ -1818,7 +1818,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1818
1818
|
propertyName?: string;
|
|
1819
1819
|
value?: string;
|
|
1820
1820
|
onChange?: (value: string) => void;
|
|
1821
|
-
onPropertyChangedObservable?:
|
|
1821
|
+
onPropertyChangedObservable?: Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
1822
1822
|
icon?: string;
|
|
1823
1823
|
iconLabel?: string;
|
|
1824
1824
|
noUnderline?: boolean;
|
|
@@ -1856,7 +1856,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1856
1856
|
|
|
1857
1857
|
|
|
1858
1858
|
}
|
|
1859
|
-
declare module BABYLON
|
|
1859
|
+
declare module BABYLON {
|
|
1860
1860
|
|
|
1861
1861
|
}
|
|
1862
1862
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
@@ -1883,7 +1883,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1883
1883
|
|
|
1884
1884
|
|
|
1885
1885
|
}
|
|
1886
|
-
declare module BABYLON
|
|
1886
|
+
declare module BABYLON {
|
|
1887
1887
|
|
|
1888
1888
|
}
|
|
1889
1889
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
@@ -1898,7 +1898,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1898
1898
|
|
|
1899
1899
|
|
|
1900
1900
|
}
|
|
1901
|
-
declare module BABYLON
|
|
1901
|
+
declare module BABYLON {
|
|
1902
1902
|
|
|
1903
1903
|
}
|
|
1904
1904
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
@@ -1919,7 +1919,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1919
1919
|
|
|
1920
1920
|
|
|
1921
1921
|
}
|
|
1922
|
-
declare module BABYLON
|
|
1922
|
+
declare module BABYLON {
|
|
1923
1923
|
|
|
1924
1924
|
}
|
|
1925
1925
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
@@ -1928,14 +1928,14 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1928
1928
|
target: any;
|
|
1929
1929
|
propertyName: string;
|
|
1930
1930
|
step?: number;
|
|
1931
|
-
onChange?: (newvalue:
|
|
1932
|
-
onPropertyChangedObservable?:
|
|
1931
|
+
onChange?: (newvalue: Vector2) => void;
|
|
1932
|
+
onPropertyChangedObservable?: Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
1933
1933
|
icon?: string;
|
|
1934
1934
|
iconLabel?: string;
|
|
1935
1935
|
}
|
|
1936
1936
|
export class Vector2LineComponent extends React.Component<IVector2LineComponentProps, {
|
|
1937
1937
|
isExpanded: boolean;
|
|
1938
|
-
value:
|
|
1938
|
+
value: Vector2;
|
|
1939
1939
|
}> {
|
|
1940
1940
|
static defaultProps: {
|
|
1941
1941
|
step: number;
|
|
@@ -1944,10 +1944,10 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1944
1944
|
constructor(props: IVector2LineComponentProps);
|
|
1945
1945
|
shouldComponentUpdate(nextProps: IVector2LineComponentProps, nextState: {
|
|
1946
1946
|
isExpanded: boolean;
|
|
1947
|
-
value:
|
|
1947
|
+
value: Vector2;
|
|
1948
1948
|
}): boolean;
|
|
1949
1949
|
switchExpandState(): void;
|
|
1950
|
-
raiseOnPropertyChanged(previousValue:
|
|
1950
|
+
raiseOnPropertyChanged(previousValue: Vector2): void;
|
|
1951
1951
|
updateStateX(value: number): void;
|
|
1952
1952
|
updateStateY(value: number): void;
|
|
1953
1953
|
render(): JSX.Element;
|
|
@@ -1956,7 +1956,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1956
1956
|
|
|
1957
1957
|
|
|
1958
1958
|
}
|
|
1959
|
-
declare module BABYLON
|
|
1959
|
+
declare module BABYLON {
|
|
1960
1960
|
|
|
1961
1961
|
}
|
|
1962
1962
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
@@ -1965,16 +1965,16 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1965
1965
|
target: any;
|
|
1966
1966
|
propertyName: string;
|
|
1967
1967
|
step?: number;
|
|
1968
|
-
onChange?: (newvalue:
|
|
1968
|
+
onChange?: (newvalue: Vector3) => void;
|
|
1969
1969
|
useEuler?: boolean;
|
|
1970
|
-
onPropertyChangedObservable?:
|
|
1970
|
+
onPropertyChangedObservable?: Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
1971
1971
|
noSlider?: boolean;
|
|
1972
1972
|
icon?: string;
|
|
1973
1973
|
iconLabel?: string;
|
|
1974
1974
|
}
|
|
1975
1975
|
export class Vector3LineComponent extends React.Component<IVector3LineComponentProps, {
|
|
1976
1976
|
isExpanded: boolean;
|
|
1977
|
-
value:
|
|
1977
|
+
value: Vector3;
|
|
1978
1978
|
}> {
|
|
1979
1979
|
static defaultProps: {
|
|
1980
1980
|
step: number;
|
|
@@ -1984,10 +1984,10 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1984
1984
|
getCurrentValue(): any;
|
|
1985
1985
|
shouldComponentUpdate(nextProps: IVector3LineComponentProps, nextState: {
|
|
1986
1986
|
isExpanded: boolean;
|
|
1987
|
-
value:
|
|
1987
|
+
value: Vector3;
|
|
1988
1988
|
}): boolean;
|
|
1989
1989
|
switchExpandState(): void;
|
|
1990
|
-
raiseOnPropertyChanged(previousValue:
|
|
1990
|
+
raiseOnPropertyChanged(previousValue: Vector3): void;
|
|
1991
1991
|
updateVector3(): void;
|
|
1992
1992
|
updateStateX(value: number): void;
|
|
1993
1993
|
updateStateY(value: number): void;
|
|
@@ -1998,7 +1998,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
1998
1998
|
|
|
1999
1999
|
|
|
2000
2000
|
}
|
|
2001
|
-
declare module BABYLON
|
|
2001
|
+
declare module BABYLON {
|
|
2002
2002
|
|
|
2003
2003
|
}
|
|
2004
2004
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
@@ -2007,15 +2007,15 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
2007
2007
|
target: any;
|
|
2008
2008
|
propertyName: string;
|
|
2009
2009
|
step?: number;
|
|
2010
|
-
onChange?: (newvalue:
|
|
2010
|
+
onChange?: (newvalue: Vector4) => void;
|
|
2011
2011
|
useEuler?: boolean;
|
|
2012
|
-
onPropertyChangedObservable?:
|
|
2012
|
+
onPropertyChangedObservable?: Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
2013
2013
|
icon?: string;
|
|
2014
2014
|
iconLabel?: string;
|
|
2015
2015
|
}
|
|
2016
2016
|
export class Vector4LineComponent extends React.Component<IVector4LineComponentProps, {
|
|
2017
2017
|
isExpanded: boolean;
|
|
2018
|
-
value:
|
|
2018
|
+
value: Vector4;
|
|
2019
2019
|
}> {
|
|
2020
2020
|
static defaultProps: {
|
|
2021
2021
|
step: number;
|
|
@@ -2025,10 +2025,10 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
2025
2025
|
getCurrentValue(): any;
|
|
2026
2026
|
shouldComponentUpdate(nextProps: IVector4LineComponentProps, nextState: {
|
|
2027
2027
|
isExpanded: boolean;
|
|
2028
|
-
value:
|
|
2028
|
+
value: Vector4;
|
|
2029
2029
|
}): boolean;
|
|
2030
2030
|
switchExpandState(): void;
|
|
2031
|
-
raiseOnPropertyChanged(previousValue:
|
|
2031
|
+
raiseOnPropertyChanged(previousValue: Vector4): void;
|
|
2032
2032
|
updateVector4(): void;
|
|
2033
2033
|
updateStateX(value: number): void;
|
|
2034
2034
|
updateStateY(value: number): void;
|
|
@@ -2040,7 +2040,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
2040
2040
|
|
|
2041
2041
|
|
|
2042
2042
|
}
|
|
2043
|
-
declare module BABYLON
|
|
2043
|
+
declare module BABYLON {
|
|
2044
2044
|
|
|
2045
2045
|
}
|
|
2046
2046
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
@@ -2055,7 +2055,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
2055
2055
|
|
|
2056
2056
|
|
|
2057
2057
|
}
|
|
2058
|
-
declare module BABYLON
|
|
2058
|
+
declare module BABYLON {
|
|
2059
2059
|
|
|
2060
2060
|
}
|
|
2061
2061
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
@@ -2074,14 +2074,14 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
2074
2074
|
|
|
2075
2075
|
|
|
2076
2076
|
}
|
|
2077
|
-
declare module BABYLON
|
|
2077
|
+
declare module BABYLON {
|
|
2078
2078
|
|
|
2079
2079
|
}
|
|
2080
2080
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
2081
2081
|
interface ICheckboxPropertyGridComponentProps {
|
|
2082
2082
|
checkbox: BABYLON.GUI.Checkbox;
|
|
2083
2083
|
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
2084
|
-
onPropertyChangedObservable?:
|
|
2084
|
+
onPropertyChangedObservable?: Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
2085
2085
|
}
|
|
2086
2086
|
export class CheckboxPropertyGridComponent extends React.Component<ICheckboxPropertyGridComponentProps> {
|
|
2087
2087
|
constructor(props: ICheckboxPropertyGridComponentProps);
|
|
@@ -2091,14 +2091,14 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
2091
2091
|
|
|
2092
2092
|
|
|
2093
2093
|
}
|
|
2094
|
-
declare module BABYLON
|
|
2094
|
+
declare module BABYLON {
|
|
2095
2095
|
|
|
2096
2096
|
}
|
|
2097
2097
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
2098
2098
|
interface IColorPickerPropertyGridComponentProps {
|
|
2099
2099
|
colorPicker: BABYLON.GUI.ColorPicker;
|
|
2100
2100
|
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
2101
|
-
onPropertyChangedObservable?:
|
|
2101
|
+
onPropertyChangedObservable?: Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
2102
2102
|
}
|
|
2103
2103
|
export class ColorPickerPropertyGridComponent extends React.Component<IColorPickerPropertyGridComponentProps> {
|
|
2104
2104
|
constructor(props: IColorPickerPropertyGridComponentProps);
|
|
@@ -2108,7 +2108,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
2108
2108
|
|
|
2109
2109
|
|
|
2110
2110
|
}
|
|
2111
|
-
declare module BABYLON
|
|
2111
|
+
declare module BABYLON {
|
|
2112
2112
|
|
|
2113
2113
|
}
|
|
2114
2114
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
@@ -2116,7 +2116,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
2116
2116
|
controls?: BABYLON.GUI.Control[];
|
|
2117
2117
|
control?: BABYLON.GUI.Control;
|
|
2118
2118
|
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
2119
|
-
onPropertyChangedObservable?:
|
|
2119
|
+
onPropertyChangedObservable?: Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
2120
2120
|
}
|
|
2121
2121
|
export class CommonControlPropertyGridComponent extends React.Component<ICommonControlPropertyGridComponentProps> {
|
|
2122
2122
|
constructor(props: ICommonControlPropertyGridComponentProps);
|
|
@@ -2127,14 +2127,14 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
2127
2127
|
|
|
2128
2128
|
|
|
2129
2129
|
}
|
|
2130
|
-
declare module BABYLON
|
|
2130
|
+
declare module BABYLON {
|
|
2131
2131
|
|
|
2132
2132
|
}
|
|
2133
2133
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
2134
2134
|
interface IControlPropertyGridComponentProps {
|
|
2135
2135
|
control: BABYLON.GUI.Control;
|
|
2136
2136
|
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
2137
|
-
onPropertyChangedObservable?:
|
|
2137
|
+
onPropertyChangedObservable?: Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
2138
2138
|
}
|
|
2139
2139
|
export class ControlPropertyGridComponent extends React.Component<IControlPropertyGridComponentProps> {
|
|
2140
2140
|
constructor(props: IControlPropertyGridComponentProps);
|
|
@@ -2144,14 +2144,14 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
2144
2144
|
|
|
2145
2145
|
|
|
2146
2146
|
}
|
|
2147
|
-
declare module BABYLON
|
|
2147
|
+
declare module BABYLON {
|
|
2148
2148
|
|
|
2149
2149
|
}
|
|
2150
2150
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
2151
2151
|
interface IEllipsePropertyGridComponentProps {
|
|
2152
2152
|
ellipse: BABYLON.GUI.Ellipse;
|
|
2153
2153
|
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
2154
|
-
onPropertyChangedObservable?:
|
|
2154
|
+
onPropertyChangedObservable?: Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
2155
2155
|
}
|
|
2156
2156
|
export class EllipsePropertyGridComponent extends React.Component<IEllipsePropertyGridComponentProps> {
|
|
2157
2157
|
constructor(props: IEllipsePropertyGridComponentProps);
|
|
@@ -2161,14 +2161,14 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
2161
2161
|
|
|
2162
2162
|
|
|
2163
2163
|
}
|
|
2164
|
-
declare module BABYLON
|
|
2164
|
+
declare module BABYLON {
|
|
2165
2165
|
|
|
2166
2166
|
}
|
|
2167
2167
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
2168
2168
|
interface IGridPropertyGridComponentProps {
|
|
2169
2169
|
grid: BABYLON.GUI.Grid;
|
|
2170
2170
|
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
2171
|
-
onPropertyChangedObservable?:
|
|
2171
|
+
onPropertyChangedObservable?: Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
2172
2172
|
}
|
|
2173
2173
|
export class GridPropertyGridComponent extends React.Component<IGridPropertyGridComponentProps> {
|
|
2174
2174
|
constructor(props: IGridPropertyGridComponentProps);
|
|
@@ -2180,14 +2180,14 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
2180
2180
|
|
|
2181
2181
|
|
|
2182
2182
|
}
|
|
2183
|
-
declare module BABYLON
|
|
2183
|
+
declare module BABYLON {
|
|
2184
2184
|
|
|
2185
2185
|
}
|
|
2186
2186
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
2187
2187
|
interface IImageBasedSliderPropertyGridComponentProps {
|
|
2188
2188
|
imageBasedSlider: BABYLON.GUI.ImageBasedSlider;
|
|
2189
2189
|
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
2190
|
-
onPropertyChangedObservable?:
|
|
2190
|
+
onPropertyChangedObservable?: Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
2191
2191
|
}
|
|
2192
2192
|
export class ImageBasedSliderPropertyGridComponent extends React.Component<IImageBasedSliderPropertyGridComponentProps> {
|
|
2193
2193
|
constructor(props: IImageBasedSliderPropertyGridComponentProps);
|
|
@@ -2197,14 +2197,14 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
2197
2197
|
|
|
2198
2198
|
|
|
2199
2199
|
}
|
|
2200
|
-
declare module BABYLON
|
|
2200
|
+
declare module BABYLON {
|
|
2201
2201
|
|
|
2202
2202
|
}
|
|
2203
2203
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
2204
2204
|
interface IImagePropertyGridComponentProps {
|
|
2205
2205
|
image: BABYLON.GUI.Image;
|
|
2206
2206
|
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
2207
|
-
onPropertyChangedObservable?:
|
|
2207
|
+
onPropertyChangedObservable?: Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
2208
2208
|
}
|
|
2209
2209
|
export class ImagePropertyGridComponent extends React.Component<IImagePropertyGridComponentProps> {
|
|
2210
2210
|
constructor(props: IImagePropertyGridComponentProps);
|
|
@@ -2214,14 +2214,14 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
2214
2214
|
|
|
2215
2215
|
|
|
2216
2216
|
}
|
|
2217
|
-
declare module BABYLON
|
|
2217
|
+
declare module BABYLON {
|
|
2218
2218
|
|
|
2219
2219
|
}
|
|
2220
2220
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
2221
2221
|
interface IInputTextPropertyGridComponentProps {
|
|
2222
2222
|
inputText: BABYLON.GUI.InputText;
|
|
2223
2223
|
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
2224
|
-
onPropertyChangedObservable?:
|
|
2224
|
+
onPropertyChangedObservable?: Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
2225
2225
|
}
|
|
2226
2226
|
export class InputTextPropertyGridComponent extends React.Component<IInputTextPropertyGridComponentProps> {
|
|
2227
2227
|
constructor(props: IInputTextPropertyGridComponentProps);
|
|
@@ -2231,14 +2231,14 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
2231
2231
|
|
|
2232
2232
|
|
|
2233
2233
|
}
|
|
2234
|
-
declare module BABYLON
|
|
2234
|
+
declare module BABYLON {
|
|
2235
2235
|
|
|
2236
2236
|
}
|
|
2237
2237
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
2238
2238
|
interface ILinePropertyGridComponentProps {
|
|
2239
2239
|
line: BABYLON.GUI.Line;
|
|
2240
2240
|
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
2241
|
-
onPropertyChangedObservable?:
|
|
2241
|
+
onPropertyChangedObservable?: Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
2242
2242
|
}
|
|
2243
2243
|
export class LinePropertyGridComponent extends React.Component<ILinePropertyGridComponentProps> {
|
|
2244
2244
|
constructor(props: ILinePropertyGridComponentProps);
|
|
@@ -2249,14 +2249,14 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
2249
2249
|
|
|
2250
2250
|
|
|
2251
2251
|
}
|
|
2252
|
-
declare module BABYLON
|
|
2252
|
+
declare module BABYLON {
|
|
2253
2253
|
|
|
2254
2254
|
}
|
|
2255
2255
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
2256
2256
|
interface IRadioButtonPropertyGridComponentProps {
|
|
2257
2257
|
radioButtons: BABYLON.GUI.RadioButton[];
|
|
2258
2258
|
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
2259
|
-
onPropertyChangedObservable?:
|
|
2259
|
+
onPropertyChangedObservable?: Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
2260
2260
|
}
|
|
2261
2261
|
export class RadioButtonPropertyGridComponent extends React.Component<IRadioButtonPropertyGridComponentProps> {
|
|
2262
2262
|
constructor(props: IRadioButtonPropertyGridComponentProps);
|
|
@@ -2266,14 +2266,14 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
2266
2266
|
|
|
2267
2267
|
|
|
2268
2268
|
}
|
|
2269
|
-
declare module BABYLON
|
|
2269
|
+
declare module BABYLON {
|
|
2270
2270
|
|
|
2271
2271
|
}
|
|
2272
2272
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
2273
2273
|
interface IRectanglePropertyGridComponentProps {
|
|
2274
2274
|
rectangle: BABYLON.GUI.Rectangle;
|
|
2275
2275
|
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
2276
|
-
onPropertyChangedObservable?:
|
|
2276
|
+
onPropertyChangedObservable?: Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
2277
2277
|
}
|
|
2278
2278
|
export class RectanglePropertyGridComponent extends React.Component<IRectanglePropertyGridComponentProps> {
|
|
2279
2279
|
constructor(props: IRectanglePropertyGridComponentProps);
|
|
@@ -2283,14 +2283,14 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
2283
2283
|
|
|
2284
2284
|
|
|
2285
2285
|
}
|
|
2286
|
-
declare module BABYLON
|
|
2286
|
+
declare module BABYLON {
|
|
2287
2287
|
|
|
2288
2288
|
}
|
|
2289
2289
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
2290
2290
|
interface IScrollViewerPropertyGridComponentProps {
|
|
2291
2291
|
scrollViewer: BABYLON.GUI.ScrollViewer;
|
|
2292
2292
|
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
2293
|
-
onPropertyChangedObservable?:
|
|
2293
|
+
onPropertyChangedObservable?: Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
2294
2294
|
}
|
|
2295
2295
|
export class ScrollViewerPropertyGridComponent extends React.Component<IScrollViewerPropertyGridComponentProps> {
|
|
2296
2296
|
constructor(props: IScrollViewerPropertyGridComponentProps);
|
|
@@ -2300,14 +2300,14 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
2300
2300
|
|
|
2301
2301
|
|
|
2302
2302
|
}
|
|
2303
|
-
declare module BABYLON
|
|
2303
|
+
declare module BABYLON {
|
|
2304
2304
|
|
|
2305
2305
|
}
|
|
2306
2306
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
2307
2307
|
interface ISliderPropertyGridComponentProps {
|
|
2308
2308
|
slider: BABYLON.GUI.Slider;
|
|
2309
2309
|
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
2310
|
-
onPropertyChangedObservable?:
|
|
2310
|
+
onPropertyChangedObservable?: Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
2311
2311
|
}
|
|
2312
2312
|
export class SliderPropertyGridComponent extends React.Component<ISliderPropertyGridComponentProps> {
|
|
2313
2313
|
constructor(props: ISliderPropertyGridComponentProps);
|
|
@@ -2317,14 +2317,14 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
2317
2317
|
|
|
2318
2318
|
|
|
2319
2319
|
}
|
|
2320
|
-
declare module BABYLON
|
|
2320
|
+
declare module BABYLON {
|
|
2321
2321
|
|
|
2322
2322
|
}
|
|
2323
2323
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
2324
2324
|
interface IStackPanelPropertyGridComponentProps {
|
|
2325
2325
|
stackPanel: BABYLON.GUI.StackPanel;
|
|
2326
2326
|
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
2327
|
-
onPropertyChangedObservable?:
|
|
2327
|
+
onPropertyChangedObservable?: Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
2328
2328
|
}
|
|
2329
2329
|
export class StackPanelPropertyGridComponent extends React.Component<IStackPanelPropertyGridComponentProps> {
|
|
2330
2330
|
constructor(props: IStackPanelPropertyGridComponentProps);
|
|
@@ -2334,14 +2334,14 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
2334
2334
|
|
|
2335
2335
|
|
|
2336
2336
|
}
|
|
2337
|
-
declare module BABYLON
|
|
2337
|
+
declare module BABYLON {
|
|
2338
2338
|
|
|
2339
2339
|
}
|
|
2340
2340
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
2341
2341
|
interface ITextBlockPropertyGridComponentProps {
|
|
2342
2342
|
textBlock: BABYLON.GUI.TextBlock;
|
|
2343
2343
|
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
2344
|
-
onPropertyChangedObservable?:
|
|
2344
|
+
onPropertyChangedObservable?: Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
2345
2345
|
}
|
|
2346
2346
|
export class TextBlockPropertyGridComponent extends React.Component<ITextBlockPropertyGridComponentProps> {
|
|
2347
2347
|
constructor(props: ITextBlockPropertyGridComponentProps);
|
|
@@ -2351,7 +2351,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
2351
2351
|
|
|
2352
2352
|
|
|
2353
2353
|
}
|
|
2354
|
-
declare module BABYLON
|
|
2354
|
+
declare module BABYLON {
|
|
2355
2355
|
|
|
2356
2356
|
}
|
|
2357
2357
|
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
@@ -2368,7 +2368,7 @@ declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
|
2368
2368
|
|
|
2369
2369
|
|
|
2370
2370
|
}
|
|
2371
|
-
declare module BABYLON
|
|
2371
|
+
declare module BABYLON {
|
|
2372
2372
|
|
|
2373
2373
|
}
|
|
2374
2374
|
|