babylonjs-gui-editor 5.0.2 → 5.1.0
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 +483 -153
- package/babylon.guiEditor.js +1 -1
- package/babylon.guiEditor.js.map +1 -1
- package/babylon.guiEditor.max.js +6 -0
- package/babylon.guiEditor.max.js.map +1 -1
- package/babylon.guiEditor.module.d.ts +527 -197
- package/package.json +3 -3
package/babylon.guiEditor.d.ts
CHANGED
|
@@ -89,8 +89,8 @@ declare module BABYLON.GuiEditor {
|
|
|
89
89
|
|
|
90
90
|
interface IParentingPropertyGridComponentProps {
|
|
91
91
|
control: BABYLON.GUI.Control;
|
|
92
|
-
lockObject: BABYLON.SharedUIComponents.LockObject;
|
|
93
|
-
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.SharedUIComponents.PropertyChangedEvent>;
|
|
92
|
+
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
93
|
+
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
94
94
|
}
|
|
95
95
|
export class ParentingPropertyGridComponent extends React.Component<IParentingPropertyGridComponentProps> {
|
|
96
96
|
constructor(props: IParentingPropertyGridComponentProps);
|
|
@@ -105,8 +105,8 @@ declare module BABYLON.GuiEditor {
|
|
|
105
105
|
|
|
106
106
|
interface IButtonPropertyGridComponentProps {
|
|
107
107
|
rectangles: BABYLON.GUI.Rectangle[];
|
|
108
|
-
lockObject: BABYLON.SharedUIComponents.LockObject;
|
|
109
|
-
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.SharedUIComponents.PropertyChangedEvent>;
|
|
108
|
+
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
109
|
+
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
110
110
|
onAddComponent: (newComponent: string) => void;
|
|
111
111
|
}
|
|
112
112
|
export class ButtonPropertyGridComponent extends React.Component<IButtonPropertyGridComponentProps> {
|
|
@@ -117,8 +117,8 @@ declare module BABYLON.GuiEditor {
|
|
|
117
117
|
|
|
118
118
|
interface ICheckboxPropertyGridComponentProps {
|
|
119
119
|
checkboxes: BABYLON.GUI.Checkbox[];
|
|
120
|
-
lockObject: BABYLON.SharedUIComponents.LockObject;
|
|
121
|
-
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.SharedUIComponents.PropertyChangedEvent>;
|
|
120
|
+
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
121
|
+
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
122
122
|
}
|
|
123
123
|
export class CheckboxPropertyGridComponent extends React.Component<ICheckboxPropertyGridComponentProps> {
|
|
124
124
|
constructor(props: ICheckboxPropertyGridComponentProps);
|
|
@@ -128,8 +128,8 @@ declare module BABYLON.GuiEditor {
|
|
|
128
128
|
|
|
129
129
|
interface IColorPickerPropertyGridComponentProps {
|
|
130
130
|
colorPickers: BABYLON.GUI.ColorPicker[];
|
|
131
|
-
lockObject: BABYLON.SharedUIComponents.LockObject;
|
|
132
|
-
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.SharedUIComponents.PropertyChangedEvent>;
|
|
131
|
+
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
132
|
+
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
133
133
|
}
|
|
134
134
|
export class ColorPickerPropertyGridComponent extends React.Component<IColorPickerPropertyGridComponentProps> {
|
|
135
135
|
constructor(props: IColorPickerPropertyGridComponentProps);
|
|
@@ -139,8 +139,8 @@ declare module BABYLON.GuiEditor {
|
|
|
139
139
|
|
|
140
140
|
interface ICommonControlPropertyGridComponentProps {
|
|
141
141
|
controls: BABYLON.GUI.Control[];
|
|
142
|
-
lockObject: BABYLON.SharedUIComponents.LockObject;
|
|
143
|
-
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.SharedUIComponents.PropertyChangedEvent>;
|
|
142
|
+
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
143
|
+
onPropertyChangedObservable?: BABYLON.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?: BABYLON.Observable<BABYLON.SharedUIComponents.PropertyChangedEvent>;
|
|
160
|
+
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
161
161
|
}
|
|
162
162
|
export class ContainerPropertyGridComponent extends React.Component<IContainerPropertyGridComponentProps> {
|
|
163
163
|
render(): JSX.Element;
|
|
@@ -166,8 +166,8 @@ declare module BABYLON.GuiEditor {
|
|
|
166
166
|
|
|
167
167
|
interface IControlPropertyGridComponentProps {
|
|
168
168
|
controls: BABYLON.GUI.Control[];
|
|
169
|
-
lockObject: BABYLON.SharedUIComponents.LockObject;
|
|
170
|
-
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.SharedUIComponents.PropertyChangedEvent>;
|
|
169
|
+
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
170
|
+
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
171
171
|
}
|
|
172
172
|
export class ControlPropertyGridComponent extends React.Component<IControlPropertyGridComponentProps> {
|
|
173
173
|
constructor(props: IControlPropertyGridComponentProps);
|
|
@@ -177,8 +177,8 @@ declare module BABYLON.GuiEditor {
|
|
|
177
177
|
|
|
178
178
|
interface IDisplayGridPropertyGridComponentProps {
|
|
179
179
|
displayGrids: BABYLON.GUI.DisplayGrid[];
|
|
180
|
-
lockObject: BABYLON.SharedUIComponents.LockObject;
|
|
181
|
-
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.SharedUIComponents.PropertyChangedEvent>;
|
|
180
|
+
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
181
|
+
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
182
182
|
}
|
|
183
183
|
export class DisplayGridPropertyGridComponent extends React.Component<IDisplayGridPropertyGridComponentProps> {
|
|
184
184
|
constructor(props: IDisplayGridPropertyGridComponentProps);
|
|
@@ -188,8 +188,8 @@ declare module BABYLON.GuiEditor {
|
|
|
188
188
|
|
|
189
189
|
interface IEllipsePropertyGridComponentProps {
|
|
190
190
|
ellipses: BABYLON.GUI.Ellipse[];
|
|
191
|
-
lockObject: BABYLON.SharedUIComponents.LockObject;
|
|
192
|
-
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.SharedUIComponents.PropertyChangedEvent>;
|
|
191
|
+
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
192
|
+
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
193
193
|
}
|
|
194
194
|
export class EllipsePropertyGridComponent extends React.Component<IEllipsePropertyGridComponentProps> {
|
|
195
195
|
constructor(props: IEllipsePropertyGridComponentProps);
|
|
@@ -199,8 +199,8 @@ declare module BABYLON.GuiEditor {
|
|
|
199
199
|
|
|
200
200
|
interface IGridPropertyGridComponentProps {
|
|
201
201
|
grids: BABYLON.GUI.Grid[];
|
|
202
|
-
lockObject: BABYLON.SharedUIComponents.LockObject;
|
|
203
|
-
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.SharedUIComponents.PropertyChangedEvent>;
|
|
202
|
+
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
203
|
+
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
204
204
|
}
|
|
205
205
|
export class GridPropertyGridComponent extends React.Component<IGridPropertyGridComponentProps> {
|
|
206
206
|
constructor(props: IGridPropertyGridComponentProps);
|
|
@@ -230,8 +230,8 @@ declare module BABYLON.GuiEditor {
|
|
|
230
230
|
|
|
231
231
|
interface IImageBasedSliderPropertyGridComponentProps {
|
|
232
232
|
imageBasedSliders: BABYLON.GUI.ImageBasedSlider[];
|
|
233
|
-
lockObject: BABYLON.SharedUIComponents.LockObject;
|
|
234
|
-
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.SharedUIComponents.PropertyChangedEvent>;
|
|
233
|
+
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
234
|
+
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
235
235
|
}
|
|
236
236
|
export class ImageBasedSliderPropertyGridComponent extends React.Component<IImageBasedSliderPropertyGridComponentProps> {
|
|
237
237
|
constructor(props: IImageBasedSliderPropertyGridComponentProps);
|
|
@@ -241,8 +241,8 @@ declare module BABYLON.GuiEditor {
|
|
|
241
241
|
|
|
242
242
|
interface IImagePropertyGridComponentProps {
|
|
243
243
|
images: BABYLON.GUI.Image[];
|
|
244
|
-
lockObject: BABYLON.SharedUIComponents.LockObject;
|
|
245
|
-
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.SharedUIComponents.PropertyChangedEvent>;
|
|
244
|
+
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
245
|
+
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
246
246
|
}
|
|
247
247
|
export class ImagePropertyGridComponent extends React.Component<IImagePropertyGridComponentProps> {
|
|
248
248
|
private _observers;
|
|
@@ -259,8 +259,8 @@ declare module BABYLON.GuiEditor {
|
|
|
259
259
|
|
|
260
260
|
interface IInputTextPropertyGridComponentProps {
|
|
261
261
|
inputTexts: BABYLON.GUI.InputText[];
|
|
262
|
-
lockObject: BABYLON.SharedUIComponents.LockObject;
|
|
263
|
-
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.SharedUIComponents.PropertyChangedEvent>;
|
|
262
|
+
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
263
|
+
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
264
264
|
}
|
|
265
265
|
export class InputTextPropertyGridComponent extends React.Component<IInputTextPropertyGridComponentProps> {
|
|
266
266
|
constructor(props: IInputTextPropertyGridComponentProps);
|
|
@@ -270,8 +270,8 @@ declare module BABYLON.GuiEditor {
|
|
|
270
270
|
|
|
271
271
|
interface ILinePropertyGridComponentProps {
|
|
272
272
|
lines: BABYLON.GUI.Line[];
|
|
273
|
-
lockObject: BABYLON.SharedUIComponents.LockObject;
|
|
274
|
-
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.SharedUIComponents.PropertyChangedEvent>;
|
|
273
|
+
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
274
|
+
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
275
275
|
}
|
|
276
276
|
export class LinePropertyGridComponent extends React.Component<ILinePropertyGridComponentProps> {
|
|
277
277
|
constructor(props: ILinePropertyGridComponentProps);
|
|
@@ -282,8 +282,8 @@ declare module BABYLON.GuiEditor {
|
|
|
282
282
|
|
|
283
283
|
interface IRadioButtonPropertyGridComponentProps {
|
|
284
284
|
radioButtons: BABYLON.GUI.RadioButton[];
|
|
285
|
-
lockObject: BABYLON.SharedUIComponents.LockObject;
|
|
286
|
-
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.SharedUIComponents.PropertyChangedEvent>;
|
|
285
|
+
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
286
|
+
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
287
287
|
}
|
|
288
288
|
export class RadioButtonPropertyGridComponent extends React.Component<IRadioButtonPropertyGridComponentProps> {
|
|
289
289
|
constructor(props: IRadioButtonPropertyGridComponentProps);
|
|
@@ -293,8 +293,8 @@ declare module BABYLON.GuiEditor {
|
|
|
293
293
|
|
|
294
294
|
interface IRectanglePropertyGridComponentProps {
|
|
295
295
|
rectangles: BABYLON.GUI.Rectangle[];
|
|
296
|
-
lockObject: BABYLON.SharedUIComponents.LockObject;
|
|
297
|
-
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.SharedUIComponents.PropertyChangedEvent>;
|
|
296
|
+
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
297
|
+
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
298
298
|
}
|
|
299
299
|
export class RectanglePropertyGridComponent extends React.Component<IRectanglePropertyGridComponentProps> {
|
|
300
300
|
constructor(props: IRectanglePropertyGridComponentProps);
|
|
@@ -304,8 +304,8 @@ declare module BABYLON.GuiEditor {
|
|
|
304
304
|
|
|
305
305
|
interface IScrollViewerPropertyGridComponentProps {
|
|
306
306
|
scrollViewers: BABYLON.GUI.ScrollViewer[];
|
|
307
|
-
lockObject: BABYLON.SharedUIComponents.LockObject;
|
|
308
|
-
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.SharedUIComponents.PropertyChangedEvent>;
|
|
307
|
+
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
308
|
+
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
309
309
|
}
|
|
310
310
|
export class ScrollViewerPropertyGridComponent extends React.Component<IScrollViewerPropertyGridComponentProps> {
|
|
311
311
|
constructor(props: IScrollViewerPropertyGridComponentProps);
|
|
@@ -315,8 +315,8 @@ declare module BABYLON.GuiEditor {
|
|
|
315
315
|
|
|
316
316
|
interface ISliderGenericPropertyGridComponentProps {
|
|
317
317
|
sliders: BABYLON.GUI.Slider[];
|
|
318
|
-
lockObject: BABYLON.SharedUIComponents.LockObject;
|
|
319
|
-
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.SharedUIComponents.PropertyChangedEvent>;
|
|
318
|
+
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
319
|
+
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
320
320
|
}
|
|
321
321
|
export class SliderGenericPropertyGridComponent extends React.Component<ISliderGenericPropertyGridComponentProps> {
|
|
322
322
|
constructor(props: ISliderGenericPropertyGridComponentProps);
|
|
@@ -326,8 +326,8 @@ declare module BABYLON.GuiEditor {
|
|
|
326
326
|
|
|
327
327
|
interface ISliderPropertyGridComponentProps {
|
|
328
328
|
sliders: (Slider | BABYLON.GUI.ImageBasedSlider)[];
|
|
329
|
-
lockObject: BABYLON.SharedUIComponents.LockObject;
|
|
330
|
-
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.SharedUIComponents.PropertyChangedEvent>;
|
|
329
|
+
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
330
|
+
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
331
331
|
}
|
|
332
332
|
export class SliderPropertyGridComponent extends React.Component<ISliderPropertyGridComponentProps> {
|
|
333
333
|
constructor(props: ISliderPropertyGridComponentProps);
|
|
@@ -337,8 +337,8 @@ declare module BABYLON.GuiEditor {
|
|
|
337
337
|
|
|
338
338
|
interface IStackPanelPropertyGridComponentProps {
|
|
339
339
|
stackPanels: BABYLON.GUI.StackPanel[];
|
|
340
|
-
lockObject: BABYLON.SharedUIComponents.LockObject;
|
|
341
|
-
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.SharedUIComponents.PropertyChangedEvent>;
|
|
340
|
+
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
341
|
+
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
342
342
|
}
|
|
343
343
|
export class StackPanelPropertyGridComponent extends React.Component<IStackPanelPropertyGridComponentProps> {
|
|
344
344
|
constructor(props: IStackPanelPropertyGridComponentProps);
|
|
@@ -348,8 +348,8 @@ declare module BABYLON.GuiEditor {
|
|
|
348
348
|
|
|
349
349
|
interface ITextBlockPropertyGridComponentProps {
|
|
350
350
|
textBlocks: BABYLON.GUI.TextBlock[];
|
|
351
|
-
lockObject: BABYLON.SharedUIComponents.LockObject;
|
|
352
|
-
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.SharedUIComponents.PropertyChangedEvent>;
|
|
351
|
+
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
352
|
+
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
353
353
|
}
|
|
354
354
|
export class TextBlockPropertyGridComponent extends React.Component<ITextBlockPropertyGridComponentProps> {
|
|
355
355
|
constructor(props: ITextBlockPropertyGridComponentProps);
|
|
@@ -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?: BABYLON.Observable<BABYLON.SharedUIComponents.PropertyChangedEvent>): void;
|
|
632
|
+
static ConvertToPercentage(guiControl: BABYLON.GUI.Control, properties?: DimensionProperties[], onPropertyChangedObservable?: BABYLON.Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>): void;
|
|
633
633
|
static Round(value: number): number;
|
|
634
|
-
static ConvertToPixels(guiControl: BABYLON.GUI.Control, properties?: DimensionProperties[], onPropertyChangedObservable?: BABYLON.Observable<BABYLON.SharedUIComponents.PropertyChangedEvent>): void;
|
|
634
|
+
static ConvertToPixels(guiControl: BABYLON.GUI.Control, properties?: DimensionProperties[], onPropertyChangedObservable?: BABYLON.Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>): void;
|
|
635
635
|
}
|
|
636
636
|
|
|
637
637
|
|
|
@@ -853,7 +853,7 @@ declare module BABYLON.GuiEditor {
|
|
|
853
853
|
controlCamera: boolean;
|
|
854
854
|
selectionLock: boolean;
|
|
855
855
|
workbench: WorkbenchComponent;
|
|
856
|
-
onPropertyChangedObservable: BABYLON.Observable<BABYLON.SharedUIComponents.PropertyChangedEvent>;
|
|
856
|
+
onPropertyChangedObservable: BABYLON.Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
857
857
|
private _tool;
|
|
858
858
|
onToolChangeObservable: BABYLON.Observable<void>;
|
|
859
859
|
get tool(): GUIEditorTool;
|
|
@@ -882,7 +882,7 @@ declare module BABYLON.GuiEditor {
|
|
|
882
882
|
onCutObservable: BABYLON.Observable<(content: string) => void>;
|
|
883
883
|
onPasteObservable: BABYLON.Observable<string>;
|
|
884
884
|
isSaving: boolean;
|
|
885
|
-
lockObject: BABYLON.SharedUIComponents.LockObject;
|
|
885
|
+
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
886
886
|
storeEditorData: (serializationObject: any) => void;
|
|
887
887
|
customSave?: {
|
|
888
888
|
label: string;
|
|
@@ -1053,7 +1053,10 @@ declare module BABYLON.GuiEditor {
|
|
|
1053
1053
|
}
|
|
1054
1054
|
|
|
1055
1055
|
|
|
1056
|
-
|
|
1056
|
+
|
|
1057
|
+
}
|
|
1058
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
1059
|
+
export interface IColorComponentEntryProps {
|
|
1057
1060
|
value: number;
|
|
1058
1061
|
label: string;
|
|
1059
1062
|
max?: number;
|
|
@@ -1068,7 +1071,13 @@ declare module BABYLON.GuiEditor {
|
|
|
1068
1071
|
}
|
|
1069
1072
|
|
|
1070
1073
|
|
|
1071
|
-
|
|
1074
|
+
|
|
1075
|
+
}
|
|
1076
|
+
declare module BABYLON.GuiEditor {
|
|
1077
|
+
|
|
1078
|
+
}
|
|
1079
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
1080
|
+
/**
|
|
1072
1081
|
* Interface used to specify creation options for color picker
|
|
1073
1082
|
*/
|
|
1074
1083
|
export interface IColorPickerProps {
|
|
@@ -1108,7 +1117,13 @@ declare module BABYLON.GuiEditor {
|
|
|
1108
1117
|
}
|
|
1109
1118
|
|
|
1110
1119
|
|
|
1111
|
-
|
|
1120
|
+
|
|
1121
|
+
}
|
|
1122
|
+
declare module BABYLON.GuiEditor {
|
|
1123
|
+
|
|
1124
|
+
}
|
|
1125
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
1126
|
+
export interface IHexColorProps {
|
|
1112
1127
|
value: string;
|
|
1113
1128
|
expectedLength: number;
|
|
1114
1129
|
onChange: (value: string) => void;
|
|
@@ -1125,7 +1140,13 @@ declare module BABYLON.GuiEditor {
|
|
|
1125
1140
|
}
|
|
1126
1141
|
|
|
1127
1142
|
|
|
1128
|
-
|
|
1143
|
+
|
|
1144
|
+
}
|
|
1145
|
+
declare module BABYLON.GuiEditor {
|
|
1146
|
+
|
|
1147
|
+
}
|
|
1148
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
1149
|
+
export interface IBooleanLineComponentProps {
|
|
1129
1150
|
label: string;
|
|
1130
1151
|
value: boolean;
|
|
1131
1152
|
icon?: string;
|
|
@@ -1137,7 +1158,13 @@ declare module BABYLON.GuiEditor {
|
|
|
1137
1158
|
}
|
|
1138
1159
|
|
|
1139
1160
|
|
|
1140
|
-
|
|
1161
|
+
|
|
1162
|
+
}
|
|
1163
|
+
declare module BABYLON.GuiEditor {
|
|
1164
|
+
|
|
1165
|
+
}
|
|
1166
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
1167
|
+
export interface IButtonLineComponentProps {
|
|
1141
1168
|
label: string;
|
|
1142
1169
|
onClick: () => void;
|
|
1143
1170
|
icon?: string;
|
|
@@ -1149,14 +1176,20 @@ declare module BABYLON.GuiEditor {
|
|
|
1149
1176
|
}
|
|
1150
1177
|
|
|
1151
1178
|
|
|
1152
|
-
|
|
1179
|
+
|
|
1180
|
+
}
|
|
1181
|
+
declare module BABYLON.GuiEditor {
|
|
1182
|
+
|
|
1183
|
+
}
|
|
1184
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
1185
|
+
export interface ICheckBoxLineComponentProps {
|
|
1153
1186
|
label?: string;
|
|
1154
1187
|
target?: any;
|
|
1155
1188
|
propertyName?: string;
|
|
1156
1189
|
isSelected?: () => boolean;
|
|
1157
1190
|
onSelect?: (value: boolean) => void;
|
|
1158
1191
|
onValueChanged?: () => void;
|
|
1159
|
-
onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
|
|
1192
|
+
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
1160
1193
|
disabled?: boolean;
|
|
1161
1194
|
icon?: string;
|
|
1162
1195
|
iconLabel?: string;
|
|
@@ -1183,14 +1216,20 @@ declare module BABYLON.GuiEditor {
|
|
|
1183
1216
|
}
|
|
1184
1217
|
|
|
1185
1218
|
|
|
1186
|
-
|
|
1219
|
+
|
|
1220
|
+
}
|
|
1221
|
+
declare module BABYLON.GuiEditor {
|
|
1222
|
+
|
|
1223
|
+
}
|
|
1224
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
1225
|
+
export interface IColor3LineComponentProps {
|
|
1187
1226
|
label: string;
|
|
1188
1227
|
target: any;
|
|
1189
1228
|
propertyName: string;
|
|
1190
|
-
onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
|
|
1229
|
+
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
1191
1230
|
isLinear?: boolean;
|
|
1192
1231
|
icon?: string;
|
|
1193
|
-
lockObject?: LockObject;
|
|
1232
|
+
lockObject?: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
1194
1233
|
iconLabel?: string;
|
|
1195
1234
|
onValueChange?: (value: string) => void;
|
|
1196
1235
|
}
|
|
@@ -1199,32 +1238,44 @@ declare module BABYLON.GuiEditor {
|
|
|
1199
1238
|
}
|
|
1200
1239
|
|
|
1201
1240
|
|
|
1202
|
-
|
|
1241
|
+
|
|
1242
|
+
}
|
|
1243
|
+
declare module BABYLON.GuiEditor {
|
|
1244
|
+
|
|
1245
|
+
}
|
|
1246
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
1247
|
+
export interface IColor4LineComponentProps {
|
|
1203
1248
|
label: string;
|
|
1204
1249
|
target?: any;
|
|
1205
1250
|
propertyName: string;
|
|
1206
|
-
onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
|
|
1251
|
+
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
1207
1252
|
onChange?: () => void;
|
|
1208
1253
|
isLinear?: boolean;
|
|
1209
1254
|
icon?: string;
|
|
1210
1255
|
iconLabel?: string;
|
|
1211
|
-
lockObject?: LockObject;
|
|
1256
|
+
lockObject?: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
1212
1257
|
}
|
|
1213
1258
|
export class Color4LineComponent extends React.Component<IColor4LineComponentProps> {
|
|
1214
1259
|
render(): JSX.Element;
|
|
1215
1260
|
}
|
|
1216
1261
|
|
|
1217
1262
|
|
|
1218
|
-
|
|
1263
|
+
|
|
1264
|
+
}
|
|
1265
|
+
declare module BABYLON.GuiEditor {
|
|
1266
|
+
|
|
1267
|
+
}
|
|
1268
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
1269
|
+
export interface IColorLineComponentProps {
|
|
1219
1270
|
label: string;
|
|
1220
1271
|
target?: any;
|
|
1221
1272
|
propertyName: string;
|
|
1222
|
-
onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
|
|
1273
|
+
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
1223
1274
|
onChange?: () => void;
|
|
1224
1275
|
isLinear?: boolean;
|
|
1225
1276
|
icon?: string;
|
|
1226
1277
|
iconLabel?: string;
|
|
1227
|
-
lockObject?: LockObject;
|
|
1278
|
+
lockObject?: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
1228
1279
|
disableAlpha?: boolean;
|
|
1229
1280
|
}
|
|
1230
1281
|
interface IColorLineComponentState {
|
|
@@ -1251,7 +1302,13 @@ declare module BABYLON.GuiEditor {
|
|
|
1251
1302
|
}
|
|
1252
1303
|
|
|
1253
1304
|
|
|
1254
|
-
|
|
1305
|
+
|
|
1306
|
+
}
|
|
1307
|
+
declare module BABYLON.GuiEditor {
|
|
1308
|
+
|
|
1309
|
+
}
|
|
1310
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
1311
|
+
export interface IColorPickerComponentProps {
|
|
1255
1312
|
value: BABYLON.Color4 | BABYLON.Color3;
|
|
1256
1313
|
linearHint?: boolean;
|
|
1257
1314
|
onColorChanged: (newOne: string) => void;
|
|
@@ -1279,7 +1336,13 @@ declare module BABYLON.GuiEditor {
|
|
|
1279
1336
|
}
|
|
1280
1337
|
|
|
1281
1338
|
|
|
1282
|
-
|
|
1339
|
+
|
|
1340
|
+
}
|
|
1341
|
+
declare module BABYLON.GuiEditor {
|
|
1342
|
+
|
|
1343
|
+
}
|
|
1344
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
1345
|
+
export interface IButtonLineComponentProps {
|
|
1283
1346
|
data: string;
|
|
1284
1347
|
tooltip: string;
|
|
1285
1348
|
}
|
|
@@ -1289,7 +1352,13 @@ declare module BABYLON.GuiEditor {
|
|
|
1289
1352
|
}
|
|
1290
1353
|
|
|
1291
1354
|
|
|
1292
|
-
|
|
1355
|
+
|
|
1356
|
+
}
|
|
1357
|
+
declare module BABYLON.GuiEditor {
|
|
1358
|
+
|
|
1359
|
+
}
|
|
1360
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
1361
|
+
interface IFileButtonLineComponentProps {
|
|
1293
1362
|
label: string;
|
|
1294
1363
|
onClick: (file: File) => void;
|
|
1295
1364
|
accept: string;
|
|
@@ -1306,7 +1375,13 @@ declare module BABYLON.GuiEditor {
|
|
|
1306
1375
|
}
|
|
1307
1376
|
|
|
1308
1377
|
|
|
1309
|
-
|
|
1378
|
+
|
|
1379
|
+
}
|
|
1380
|
+
declare module BABYLON.GuiEditor {
|
|
1381
|
+
|
|
1382
|
+
}
|
|
1383
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
1384
|
+
interface IFileMultipleButtonLineComponentProps {
|
|
1310
1385
|
label: string;
|
|
1311
1386
|
onClick: (event: any) => void;
|
|
1312
1387
|
accept: string;
|
|
@@ -1323,14 +1398,20 @@ declare module BABYLON.GuiEditor {
|
|
|
1323
1398
|
}
|
|
1324
1399
|
|
|
1325
1400
|
|
|
1326
|
-
|
|
1401
|
+
|
|
1402
|
+
}
|
|
1403
|
+
declare module BABYLON.GuiEditor {
|
|
1404
|
+
|
|
1405
|
+
}
|
|
1406
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
1407
|
+
interface IFloatLineComponentProps {
|
|
1327
1408
|
label: string;
|
|
1328
1409
|
target: any;
|
|
1329
1410
|
propertyName: string;
|
|
1330
|
-
lockObject?: LockObject;
|
|
1411
|
+
lockObject?: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
1331
1412
|
onChange?: (newValue: number) => void;
|
|
1332
1413
|
isInteger?: boolean;
|
|
1333
|
-
onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
|
|
1414
|
+
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
1334
1415
|
additionalClass?: string;
|
|
1335
1416
|
step?: string;
|
|
1336
1417
|
digits?: number;
|
|
@@ -1370,15 +1451,21 @@ declare module BABYLON.GuiEditor {
|
|
|
1370
1451
|
}
|
|
1371
1452
|
|
|
1372
1453
|
|
|
1373
|
-
|
|
1454
|
+
|
|
1455
|
+
}
|
|
1456
|
+
declare module BABYLON.GuiEditor {
|
|
1457
|
+
|
|
1458
|
+
}
|
|
1459
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
1460
|
+
interface IHexLineComponentProps {
|
|
1374
1461
|
label: string;
|
|
1375
1462
|
target: any;
|
|
1376
1463
|
propertyName: string;
|
|
1377
|
-
lockObject?: LockObject;
|
|
1464
|
+
lockObject?: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
1378
1465
|
onChange?: (newValue: number) => void;
|
|
1379
1466
|
isInteger?: boolean;
|
|
1380
1467
|
replaySourceReplacement?: string;
|
|
1381
|
-
onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
|
|
1468
|
+
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
1382
1469
|
additionalClass?: string;
|
|
1383
1470
|
step?: string;
|
|
1384
1471
|
digits?: number;
|
|
@@ -1407,7 +1494,13 @@ declare module BABYLON.GuiEditor {
|
|
|
1407
1494
|
}
|
|
1408
1495
|
|
|
1409
1496
|
|
|
1410
|
-
|
|
1497
|
+
|
|
1498
|
+
}
|
|
1499
|
+
declare module BABYLON.GuiEditor {
|
|
1500
|
+
|
|
1501
|
+
}
|
|
1502
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
1503
|
+
export interface IIconButtonLineComponentProps {
|
|
1411
1504
|
icon: string;
|
|
1412
1505
|
onClick: () => void;
|
|
1413
1506
|
tooltip: string;
|
|
@@ -1419,7 +1512,13 @@ declare module BABYLON.GuiEditor {
|
|
|
1419
1512
|
}
|
|
1420
1513
|
|
|
1421
1514
|
|
|
1422
|
-
|
|
1515
|
+
|
|
1516
|
+
}
|
|
1517
|
+
declare module BABYLON.GuiEditor {
|
|
1518
|
+
|
|
1519
|
+
}
|
|
1520
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
1521
|
+
interface IIconComponentProps {
|
|
1423
1522
|
icon: string;
|
|
1424
1523
|
label?: string;
|
|
1425
1524
|
}
|
|
@@ -1428,7 +1527,13 @@ declare module BABYLON.GuiEditor {
|
|
|
1428
1527
|
}
|
|
1429
1528
|
|
|
1430
1529
|
|
|
1431
|
-
|
|
1530
|
+
|
|
1531
|
+
}
|
|
1532
|
+
declare module BABYLON.GuiEditor {
|
|
1533
|
+
|
|
1534
|
+
}
|
|
1535
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
1536
|
+
interface IIndentedTextLineComponentProps {
|
|
1432
1537
|
value?: string;
|
|
1433
1538
|
color?: string;
|
|
1434
1539
|
underline?: boolean;
|
|
@@ -1444,7 +1549,13 @@ declare module BABYLON.GuiEditor {
|
|
|
1444
1549
|
}
|
|
1445
1550
|
|
|
1446
1551
|
|
|
1447
|
-
|
|
1552
|
+
|
|
1553
|
+
}
|
|
1554
|
+
declare module BABYLON.GuiEditor {
|
|
1555
|
+
|
|
1556
|
+
}
|
|
1557
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
1558
|
+
interface IInputArrowsComponentProps {
|
|
1448
1559
|
incrementValue: (amount: number) => void;
|
|
1449
1560
|
setDragging: (dragging: boolean) => void;
|
|
1450
1561
|
}
|
|
@@ -1457,14 +1568,26 @@ declare module BABYLON.GuiEditor {
|
|
|
1457
1568
|
}
|
|
1458
1569
|
|
|
1459
1570
|
|
|
1460
|
-
|
|
1571
|
+
|
|
1572
|
+
}
|
|
1573
|
+
declare module BABYLON.GuiEditor {
|
|
1574
|
+
|
|
1575
|
+
}
|
|
1576
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
1577
|
+
export interface ISelectedLineContainer {
|
|
1461
1578
|
selectedLineContainerTitles: Array<string>;
|
|
1462
1579
|
selectedLineContainerTitlesNoFocus: Array<string>;
|
|
1463
1580
|
}
|
|
1464
1581
|
|
|
1465
1582
|
|
|
1466
|
-
|
|
1467
|
-
|
|
1583
|
+
|
|
1584
|
+
}
|
|
1585
|
+
declare module BABYLON.GuiEditor {
|
|
1586
|
+
|
|
1587
|
+
}
|
|
1588
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
1589
|
+
interface ILineContainerComponentProps {
|
|
1590
|
+
selection?: BABYLON.GuiEditor.SharedUIComponents.ISelectedLineContainer;
|
|
1468
1591
|
title: string;
|
|
1469
1592
|
children: any[] | any;
|
|
1470
1593
|
closed?: boolean;
|
|
@@ -1481,7 +1604,13 @@ declare module BABYLON.GuiEditor {
|
|
|
1481
1604
|
}
|
|
1482
1605
|
|
|
1483
1606
|
|
|
1484
|
-
|
|
1607
|
+
|
|
1608
|
+
}
|
|
1609
|
+
declare module BABYLON.GuiEditor {
|
|
1610
|
+
|
|
1611
|
+
}
|
|
1612
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
1613
|
+
interface ILinkButtonComponentProps {
|
|
1485
1614
|
label: string;
|
|
1486
1615
|
buttonLabel: string;
|
|
1487
1616
|
url?: string;
|
|
@@ -1496,7 +1625,13 @@ declare module BABYLON.GuiEditor {
|
|
|
1496
1625
|
}
|
|
1497
1626
|
|
|
1498
1627
|
|
|
1499
|
-
|
|
1628
|
+
|
|
1629
|
+
}
|
|
1630
|
+
declare module BABYLON.GuiEditor {
|
|
1631
|
+
|
|
1632
|
+
}
|
|
1633
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
1634
|
+
interface IMessageLineComponentProps {
|
|
1500
1635
|
text: string;
|
|
1501
1636
|
color?: string;
|
|
1502
1637
|
icon?: any;
|
|
@@ -1507,7 +1642,13 @@ declare module BABYLON.GuiEditor {
|
|
|
1507
1642
|
}
|
|
1508
1643
|
|
|
1509
1644
|
|
|
1510
|
-
|
|
1645
|
+
|
|
1646
|
+
}
|
|
1647
|
+
declare module BABYLON.GuiEditor {
|
|
1648
|
+
|
|
1649
|
+
}
|
|
1650
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
1651
|
+
interface INumericInputComponentProps {
|
|
1511
1652
|
label: string;
|
|
1512
1653
|
value: number;
|
|
1513
1654
|
step?: number;
|
|
@@ -1533,7 +1674,13 @@ declare module BABYLON.GuiEditor {
|
|
|
1533
1674
|
}
|
|
1534
1675
|
|
|
1535
1676
|
|
|
1536
|
-
|
|
1677
|
+
|
|
1678
|
+
}
|
|
1679
|
+
declare module BABYLON.GuiEditor {
|
|
1680
|
+
|
|
1681
|
+
}
|
|
1682
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
1683
|
+
export var Null_Value: number;
|
|
1537
1684
|
export interface IOptionsLineComponentProps {
|
|
1538
1685
|
label: string;
|
|
1539
1686
|
target: any;
|
|
@@ -1542,7 +1689,7 @@ declare module BABYLON.GuiEditor {
|
|
|
1542
1689
|
noDirectUpdate?: boolean;
|
|
1543
1690
|
onSelect?: (value: number) => void;
|
|
1544
1691
|
extractValue?: () => number;
|
|
1545
|
-
onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
|
|
1692
|
+
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
1546
1693
|
allowNullValue?: boolean;
|
|
1547
1694
|
icon?: string;
|
|
1548
1695
|
iconLabel?: string;
|
|
@@ -1563,13 +1710,25 @@ declare module BABYLON.GuiEditor {
|
|
|
1563
1710
|
}
|
|
1564
1711
|
|
|
1565
1712
|
|
|
1566
|
-
|
|
1713
|
+
|
|
1714
|
+
}
|
|
1715
|
+
declare module BABYLON.GuiEditor {
|
|
1716
|
+
|
|
1717
|
+
}
|
|
1718
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
1719
|
+
export class Popup {
|
|
1567
1720
|
static CreatePopup(title: string, windowVariableName: string, width?: number, height?: number): HTMLDivElement | null;
|
|
1568
1721
|
private static _CopyStyles;
|
|
1569
1722
|
}
|
|
1570
1723
|
|
|
1571
1724
|
|
|
1572
|
-
|
|
1725
|
+
|
|
1726
|
+
}
|
|
1727
|
+
declare module BABYLON.GuiEditor {
|
|
1728
|
+
|
|
1729
|
+
}
|
|
1730
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
1731
|
+
interface IRadioButtonLineComponentProps {
|
|
1573
1732
|
onSelectionChangedObservable: BABYLON.Observable<RadioButtonLineComponent>;
|
|
1574
1733
|
label: string;
|
|
1575
1734
|
isSelected: () => boolean;
|
|
@@ -1589,7 +1748,13 @@ declare module BABYLON.GuiEditor {
|
|
|
1589
1748
|
}
|
|
1590
1749
|
|
|
1591
1750
|
|
|
1592
|
-
|
|
1751
|
+
|
|
1752
|
+
}
|
|
1753
|
+
declare module BABYLON.GuiEditor {
|
|
1754
|
+
|
|
1755
|
+
}
|
|
1756
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
1757
|
+
interface ISliderLineComponentProps {
|
|
1593
1758
|
label: string;
|
|
1594
1759
|
target?: any;
|
|
1595
1760
|
propertyName?: string;
|
|
@@ -1600,12 +1765,12 @@ declare module BABYLON.GuiEditor {
|
|
|
1600
1765
|
useEuler?: boolean;
|
|
1601
1766
|
onChange?: (value: number) => void;
|
|
1602
1767
|
onInput?: (value: number) => void;
|
|
1603
|
-
onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
|
|
1768
|
+
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
1604
1769
|
decimalCount?: number;
|
|
1605
1770
|
margin?: boolean;
|
|
1606
1771
|
icon?: string;
|
|
1607
1772
|
iconLabel?: string;
|
|
1608
|
-
lockObject?: LockObject;
|
|
1773
|
+
lockObject?: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
1609
1774
|
unit?: React.ReactNode;
|
|
1610
1775
|
}
|
|
1611
1776
|
export class SliderLineComponent extends React.Component<ISliderLineComponentProps, {
|
|
@@ -1623,7 +1788,13 @@ declare module BABYLON.GuiEditor {
|
|
|
1623
1788
|
}
|
|
1624
1789
|
|
|
1625
1790
|
|
|
1626
|
-
|
|
1791
|
+
|
|
1792
|
+
}
|
|
1793
|
+
declare module BABYLON.GuiEditor {
|
|
1794
|
+
|
|
1795
|
+
}
|
|
1796
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
1797
|
+
export const conflictingValuesPlaceholder = "\u2014";
|
|
1627
1798
|
/**
|
|
1628
1799
|
*
|
|
1629
1800
|
* @param targets a list of selected targets
|
|
@@ -1631,17 +1802,23 @@ declare module BABYLON.GuiEditor {
|
|
|
1631
1802
|
* @param getProperty
|
|
1632
1803
|
* @returns a proxy object that can be passed as a target into the input
|
|
1633
1804
|
*/
|
|
1634
|
-
export function makeTargetsProxy<Type>(targets: Type[], onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>, getProperty?: (target: Type, property: keyof Type) => any): any;
|
|
1805
|
+
export function makeTargetsProxy<Type>(targets: Type[], onPropertyChangedObservable?: BABYLON.Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>, getProperty?: (target: Type, property: keyof Type) => any): any;
|
|
1635
1806
|
|
|
1636
1807
|
|
|
1637
|
-
|
|
1808
|
+
|
|
1809
|
+
}
|
|
1810
|
+
declare module BABYLON.GuiEditor {
|
|
1811
|
+
|
|
1812
|
+
}
|
|
1813
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
1814
|
+
export interface ITextInputLineComponentProps {
|
|
1638
1815
|
label?: string;
|
|
1639
|
-
lockObject?: LockObject;
|
|
1816
|
+
lockObject?: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
1640
1817
|
target?: any;
|
|
1641
1818
|
propertyName?: string;
|
|
1642
1819
|
value?: string;
|
|
1643
1820
|
onChange?: (value: string) => void;
|
|
1644
|
-
onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
|
|
1821
|
+
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
1645
1822
|
icon?: string;
|
|
1646
1823
|
iconLabel?: string;
|
|
1647
1824
|
noUnderline?: boolean;
|
|
@@ -1677,7 +1854,13 @@ declare module BABYLON.GuiEditor {
|
|
|
1677
1854
|
}
|
|
1678
1855
|
|
|
1679
1856
|
|
|
1680
|
-
|
|
1857
|
+
|
|
1858
|
+
}
|
|
1859
|
+
declare module BABYLON.GuiEditor {
|
|
1860
|
+
|
|
1861
|
+
}
|
|
1862
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
1863
|
+
interface ITextLineComponentProps {
|
|
1681
1864
|
label?: string;
|
|
1682
1865
|
value?: string;
|
|
1683
1866
|
color?: string;
|
|
@@ -1698,7 +1881,13 @@ declare module BABYLON.GuiEditor {
|
|
|
1698
1881
|
}
|
|
1699
1882
|
|
|
1700
1883
|
|
|
1701
|
-
|
|
1884
|
+
|
|
1885
|
+
}
|
|
1886
|
+
declare module BABYLON.GuiEditor {
|
|
1887
|
+
|
|
1888
|
+
}
|
|
1889
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
1890
|
+
/// <reference types="react" />
|
|
1702
1891
|
interface IUnitButtonProps {
|
|
1703
1892
|
unit: string;
|
|
1704
1893
|
locked?: boolean;
|
|
@@ -1707,7 +1896,13 @@ declare module BABYLON.GuiEditor {
|
|
|
1707
1896
|
export function UnitButton(props: IUnitButtonProps): JSX.Element;
|
|
1708
1897
|
|
|
1709
1898
|
|
|
1710
|
-
|
|
1899
|
+
|
|
1900
|
+
}
|
|
1901
|
+
declare module BABYLON.GuiEditor {
|
|
1902
|
+
|
|
1903
|
+
}
|
|
1904
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
1905
|
+
interface IValueLineComponentProps {
|
|
1711
1906
|
label: string;
|
|
1712
1907
|
value: number;
|
|
1713
1908
|
color?: string;
|
|
@@ -1722,13 +1917,19 @@ declare module BABYLON.GuiEditor {
|
|
|
1722
1917
|
}
|
|
1723
1918
|
|
|
1724
1919
|
|
|
1725
|
-
|
|
1920
|
+
|
|
1921
|
+
}
|
|
1922
|
+
declare module BABYLON.GuiEditor {
|
|
1923
|
+
|
|
1924
|
+
}
|
|
1925
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
1926
|
+
interface IVector2LineComponentProps {
|
|
1726
1927
|
label: string;
|
|
1727
1928
|
target: any;
|
|
1728
1929
|
propertyName: string;
|
|
1729
1930
|
step?: number;
|
|
1730
1931
|
onChange?: (newvalue: BABYLON.Vector2) => void;
|
|
1731
|
-
onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
|
|
1932
|
+
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
1732
1933
|
icon?: string;
|
|
1733
1934
|
iconLabel?: string;
|
|
1734
1935
|
}
|
|
@@ -1753,14 +1954,20 @@ declare module BABYLON.GuiEditor {
|
|
|
1753
1954
|
}
|
|
1754
1955
|
|
|
1755
1956
|
|
|
1756
|
-
|
|
1957
|
+
|
|
1958
|
+
}
|
|
1959
|
+
declare module BABYLON.GuiEditor {
|
|
1960
|
+
|
|
1961
|
+
}
|
|
1962
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
1963
|
+
interface IVector3LineComponentProps {
|
|
1757
1964
|
label: string;
|
|
1758
1965
|
target: any;
|
|
1759
1966
|
propertyName: string;
|
|
1760
1967
|
step?: number;
|
|
1761
1968
|
onChange?: (newvalue: BABYLON.Vector3) => void;
|
|
1762
1969
|
useEuler?: boolean;
|
|
1763
|
-
onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
|
|
1970
|
+
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
1764
1971
|
noSlider?: boolean;
|
|
1765
1972
|
icon?: string;
|
|
1766
1973
|
iconLabel?: string;
|
|
@@ -1789,14 +1996,20 @@ declare module BABYLON.GuiEditor {
|
|
|
1789
1996
|
}
|
|
1790
1997
|
|
|
1791
1998
|
|
|
1792
|
-
|
|
1999
|
+
|
|
2000
|
+
}
|
|
2001
|
+
declare module BABYLON.GuiEditor {
|
|
2002
|
+
|
|
2003
|
+
}
|
|
2004
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
2005
|
+
interface IVector4LineComponentProps {
|
|
1793
2006
|
label: string;
|
|
1794
2007
|
target: any;
|
|
1795
2008
|
propertyName: string;
|
|
1796
2009
|
step?: number;
|
|
1797
2010
|
onChange?: (newvalue: BABYLON.Vector4) => void;
|
|
1798
2011
|
useEuler?: boolean;
|
|
1799
|
-
onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
|
|
2012
|
+
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
1800
2013
|
icon?: string;
|
|
1801
2014
|
iconLabel?: string;
|
|
1802
2015
|
}
|
|
@@ -1825,7 +2038,13 @@ declare module BABYLON.GuiEditor {
|
|
|
1825
2038
|
}
|
|
1826
2039
|
|
|
1827
2040
|
|
|
1828
|
-
|
|
2041
|
+
|
|
2042
|
+
}
|
|
2043
|
+
declare module BABYLON.GuiEditor {
|
|
2044
|
+
|
|
2045
|
+
}
|
|
2046
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
2047
|
+
export class PropertyChangedEvent {
|
|
1829
2048
|
object: any;
|
|
1830
2049
|
property: string;
|
|
1831
2050
|
value: any;
|
|
@@ -1834,7 +2053,13 @@ declare module BABYLON.GuiEditor {
|
|
|
1834
2053
|
}
|
|
1835
2054
|
|
|
1836
2055
|
|
|
1837
|
-
|
|
2056
|
+
|
|
2057
|
+
}
|
|
2058
|
+
declare module BABYLON.GuiEditor {
|
|
2059
|
+
|
|
2060
|
+
}
|
|
2061
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
2062
|
+
export class StringTools {
|
|
1838
2063
|
private static _SaveAs;
|
|
1839
2064
|
private static _Click;
|
|
1840
2065
|
/**
|
|
@@ -1847,10 +2072,16 @@ declare module BABYLON.GuiEditor {
|
|
|
1847
2072
|
}
|
|
1848
2073
|
|
|
1849
2074
|
|
|
1850
|
-
|
|
2075
|
+
|
|
2076
|
+
}
|
|
2077
|
+
declare module BABYLON.GuiEditor {
|
|
2078
|
+
|
|
2079
|
+
}
|
|
2080
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
2081
|
+
interface ICheckboxPropertyGridComponentProps {
|
|
1851
2082
|
checkbox: BABYLON.GUI.Checkbox;
|
|
1852
|
-
lockObject: LockObject;
|
|
1853
|
-
onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
|
|
2083
|
+
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
2084
|
+
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
1854
2085
|
}
|
|
1855
2086
|
export class CheckboxPropertyGridComponent extends React.Component<ICheckboxPropertyGridComponentProps> {
|
|
1856
2087
|
constructor(props: ICheckboxPropertyGridComponentProps);
|
|
@@ -1858,10 +2089,16 @@ declare module BABYLON.GuiEditor {
|
|
|
1858
2089
|
}
|
|
1859
2090
|
|
|
1860
2091
|
|
|
1861
|
-
|
|
2092
|
+
|
|
2093
|
+
}
|
|
2094
|
+
declare module BABYLON.GuiEditor {
|
|
2095
|
+
|
|
2096
|
+
}
|
|
2097
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
2098
|
+
interface IColorPickerPropertyGridComponentProps {
|
|
1862
2099
|
colorPicker: BABYLON.GUI.ColorPicker;
|
|
1863
|
-
lockObject: LockObject;
|
|
1864
|
-
onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
|
|
2100
|
+
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
2101
|
+
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
1865
2102
|
}
|
|
1866
2103
|
export class ColorPickerPropertyGridComponent extends React.Component<IColorPickerPropertyGridComponentProps> {
|
|
1867
2104
|
constructor(props: IColorPickerPropertyGridComponentProps);
|
|
@@ -1869,11 +2106,17 @@ declare module BABYLON.GuiEditor {
|
|
|
1869
2106
|
}
|
|
1870
2107
|
|
|
1871
2108
|
|
|
1872
|
-
|
|
2109
|
+
|
|
2110
|
+
}
|
|
2111
|
+
declare module BABYLON.GuiEditor {
|
|
2112
|
+
|
|
2113
|
+
}
|
|
2114
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
2115
|
+
interface ICommonControlPropertyGridComponentProps {
|
|
1873
2116
|
controls?: BABYLON.GUI.Control[];
|
|
1874
2117
|
control?: BABYLON.GUI.Control;
|
|
1875
|
-
lockObject: LockObject;
|
|
1876
|
-
onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
|
|
2118
|
+
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
2119
|
+
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
1877
2120
|
}
|
|
1878
2121
|
export class CommonControlPropertyGridComponent extends React.Component<ICommonControlPropertyGridComponentProps> {
|
|
1879
2122
|
constructor(props: ICommonControlPropertyGridComponentProps);
|
|
@@ -1882,10 +2125,16 @@ declare module BABYLON.GuiEditor {
|
|
|
1882
2125
|
}
|
|
1883
2126
|
|
|
1884
2127
|
|
|
1885
|
-
|
|
2128
|
+
|
|
2129
|
+
}
|
|
2130
|
+
declare module BABYLON.GuiEditor {
|
|
2131
|
+
|
|
2132
|
+
}
|
|
2133
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
2134
|
+
interface IControlPropertyGridComponentProps {
|
|
1886
2135
|
control: BABYLON.GUI.Control;
|
|
1887
|
-
lockObject: LockObject;
|
|
1888
|
-
onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
|
|
2136
|
+
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
2137
|
+
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
1889
2138
|
}
|
|
1890
2139
|
export class ControlPropertyGridComponent extends React.Component<IControlPropertyGridComponentProps> {
|
|
1891
2140
|
constructor(props: IControlPropertyGridComponentProps);
|
|
@@ -1893,10 +2142,16 @@ declare module BABYLON.GuiEditor {
|
|
|
1893
2142
|
}
|
|
1894
2143
|
|
|
1895
2144
|
|
|
1896
|
-
|
|
2145
|
+
|
|
2146
|
+
}
|
|
2147
|
+
declare module BABYLON.GuiEditor {
|
|
2148
|
+
|
|
2149
|
+
}
|
|
2150
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
2151
|
+
interface IEllipsePropertyGridComponentProps {
|
|
1897
2152
|
ellipse: BABYLON.GUI.Ellipse;
|
|
1898
|
-
lockObject: LockObject;
|
|
1899
|
-
onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
|
|
2153
|
+
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
2154
|
+
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
1900
2155
|
}
|
|
1901
2156
|
export class EllipsePropertyGridComponent extends React.Component<IEllipsePropertyGridComponentProps> {
|
|
1902
2157
|
constructor(props: IEllipsePropertyGridComponentProps);
|
|
@@ -1904,10 +2159,16 @@ declare module BABYLON.GuiEditor {
|
|
|
1904
2159
|
}
|
|
1905
2160
|
|
|
1906
2161
|
|
|
1907
|
-
|
|
2162
|
+
|
|
2163
|
+
}
|
|
2164
|
+
declare module BABYLON.GuiEditor {
|
|
2165
|
+
|
|
2166
|
+
}
|
|
2167
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
2168
|
+
interface IGridPropertyGridComponentProps {
|
|
1908
2169
|
grid: BABYLON.GUI.Grid;
|
|
1909
|
-
lockObject: LockObject;
|
|
1910
|
-
onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
|
|
2170
|
+
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
2171
|
+
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
1911
2172
|
}
|
|
1912
2173
|
export class GridPropertyGridComponent extends React.Component<IGridPropertyGridComponentProps> {
|
|
1913
2174
|
constructor(props: IGridPropertyGridComponentProps);
|
|
@@ -1917,10 +2178,16 @@ declare module BABYLON.GuiEditor {
|
|
|
1917
2178
|
}
|
|
1918
2179
|
|
|
1919
2180
|
|
|
1920
|
-
|
|
2181
|
+
|
|
2182
|
+
}
|
|
2183
|
+
declare module BABYLON.GuiEditor {
|
|
2184
|
+
|
|
2185
|
+
}
|
|
2186
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
2187
|
+
interface IImageBasedSliderPropertyGridComponentProps {
|
|
1921
2188
|
imageBasedSlider: BABYLON.GUI.ImageBasedSlider;
|
|
1922
|
-
lockObject: LockObject;
|
|
1923
|
-
onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
|
|
2189
|
+
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
2190
|
+
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
1924
2191
|
}
|
|
1925
2192
|
export class ImageBasedSliderPropertyGridComponent extends React.Component<IImageBasedSliderPropertyGridComponentProps> {
|
|
1926
2193
|
constructor(props: IImageBasedSliderPropertyGridComponentProps);
|
|
@@ -1928,10 +2195,16 @@ declare module BABYLON.GuiEditor {
|
|
|
1928
2195
|
}
|
|
1929
2196
|
|
|
1930
2197
|
|
|
1931
|
-
|
|
2198
|
+
|
|
2199
|
+
}
|
|
2200
|
+
declare module BABYLON.GuiEditor {
|
|
2201
|
+
|
|
2202
|
+
}
|
|
2203
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
2204
|
+
interface IImagePropertyGridComponentProps {
|
|
1932
2205
|
image: BABYLON.GUI.Image;
|
|
1933
|
-
lockObject: LockObject;
|
|
1934
|
-
onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
|
|
2206
|
+
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
2207
|
+
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
1935
2208
|
}
|
|
1936
2209
|
export class ImagePropertyGridComponent extends React.Component<IImagePropertyGridComponentProps> {
|
|
1937
2210
|
constructor(props: IImagePropertyGridComponentProps);
|
|
@@ -1939,10 +2212,16 @@ declare module BABYLON.GuiEditor {
|
|
|
1939
2212
|
}
|
|
1940
2213
|
|
|
1941
2214
|
|
|
1942
|
-
|
|
2215
|
+
|
|
2216
|
+
}
|
|
2217
|
+
declare module BABYLON.GuiEditor {
|
|
2218
|
+
|
|
2219
|
+
}
|
|
2220
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
2221
|
+
interface IInputTextPropertyGridComponentProps {
|
|
1943
2222
|
inputText: BABYLON.GUI.InputText;
|
|
1944
|
-
lockObject: LockObject;
|
|
1945
|
-
onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
|
|
2223
|
+
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
2224
|
+
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
1946
2225
|
}
|
|
1947
2226
|
export class InputTextPropertyGridComponent extends React.Component<IInputTextPropertyGridComponentProps> {
|
|
1948
2227
|
constructor(props: IInputTextPropertyGridComponentProps);
|
|
@@ -1950,10 +2229,16 @@ declare module BABYLON.GuiEditor {
|
|
|
1950
2229
|
}
|
|
1951
2230
|
|
|
1952
2231
|
|
|
1953
|
-
|
|
2232
|
+
|
|
2233
|
+
}
|
|
2234
|
+
declare module BABYLON.GuiEditor {
|
|
2235
|
+
|
|
2236
|
+
}
|
|
2237
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
2238
|
+
interface ILinePropertyGridComponentProps {
|
|
1954
2239
|
line: BABYLON.GUI.Line;
|
|
1955
|
-
lockObject: LockObject;
|
|
1956
|
-
onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
|
|
2240
|
+
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
2241
|
+
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
1957
2242
|
}
|
|
1958
2243
|
export class LinePropertyGridComponent extends React.Component<ILinePropertyGridComponentProps> {
|
|
1959
2244
|
constructor(props: ILinePropertyGridComponentProps);
|
|
@@ -1962,10 +2247,16 @@ declare module BABYLON.GuiEditor {
|
|
|
1962
2247
|
}
|
|
1963
2248
|
|
|
1964
2249
|
|
|
1965
|
-
|
|
2250
|
+
|
|
2251
|
+
}
|
|
2252
|
+
declare module BABYLON.GuiEditor {
|
|
2253
|
+
|
|
2254
|
+
}
|
|
2255
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
2256
|
+
interface IRadioButtonPropertyGridComponentProps {
|
|
1966
2257
|
radioButtons: BABYLON.GUI.RadioButton[];
|
|
1967
|
-
lockObject: LockObject;
|
|
1968
|
-
onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
|
|
2258
|
+
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
2259
|
+
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
1969
2260
|
}
|
|
1970
2261
|
export class RadioButtonPropertyGridComponent extends React.Component<IRadioButtonPropertyGridComponentProps> {
|
|
1971
2262
|
constructor(props: IRadioButtonPropertyGridComponentProps);
|
|
@@ -1973,10 +2264,16 @@ declare module BABYLON.GuiEditor {
|
|
|
1973
2264
|
}
|
|
1974
2265
|
|
|
1975
2266
|
|
|
1976
|
-
|
|
2267
|
+
|
|
2268
|
+
}
|
|
2269
|
+
declare module BABYLON.GuiEditor {
|
|
2270
|
+
|
|
2271
|
+
}
|
|
2272
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
2273
|
+
interface IRectanglePropertyGridComponentProps {
|
|
1977
2274
|
rectangle: BABYLON.GUI.Rectangle;
|
|
1978
|
-
lockObject: LockObject;
|
|
1979
|
-
onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
|
|
2275
|
+
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
2276
|
+
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
1980
2277
|
}
|
|
1981
2278
|
export class RectanglePropertyGridComponent extends React.Component<IRectanglePropertyGridComponentProps> {
|
|
1982
2279
|
constructor(props: IRectanglePropertyGridComponentProps);
|
|
@@ -1984,10 +2281,16 @@ declare module BABYLON.GuiEditor {
|
|
|
1984
2281
|
}
|
|
1985
2282
|
|
|
1986
2283
|
|
|
1987
|
-
|
|
2284
|
+
|
|
2285
|
+
}
|
|
2286
|
+
declare module BABYLON.GuiEditor {
|
|
2287
|
+
|
|
2288
|
+
}
|
|
2289
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
2290
|
+
interface IScrollViewerPropertyGridComponentProps {
|
|
1988
2291
|
scrollViewer: BABYLON.GUI.ScrollViewer;
|
|
1989
|
-
lockObject: LockObject;
|
|
1990
|
-
onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
|
|
2292
|
+
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
2293
|
+
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
1991
2294
|
}
|
|
1992
2295
|
export class ScrollViewerPropertyGridComponent extends React.Component<IScrollViewerPropertyGridComponentProps> {
|
|
1993
2296
|
constructor(props: IScrollViewerPropertyGridComponentProps);
|
|
@@ -1995,10 +2298,16 @@ declare module BABYLON.GuiEditor {
|
|
|
1995
2298
|
}
|
|
1996
2299
|
|
|
1997
2300
|
|
|
1998
|
-
|
|
2301
|
+
|
|
2302
|
+
}
|
|
2303
|
+
declare module BABYLON.GuiEditor {
|
|
2304
|
+
|
|
2305
|
+
}
|
|
2306
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
2307
|
+
interface ISliderPropertyGridComponentProps {
|
|
1999
2308
|
slider: BABYLON.GUI.Slider;
|
|
2000
|
-
lockObject: LockObject;
|
|
2001
|
-
onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
|
|
2309
|
+
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
2310
|
+
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
2002
2311
|
}
|
|
2003
2312
|
export class SliderPropertyGridComponent extends React.Component<ISliderPropertyGridComponentProps> {
|
|
2004
2313
|
constructor(props: ISliderPropertyGridComponentProps);
|
|
@@ -2006,10 +2315,16 @@ declare module BABYLON.GuiEditor {
|
|
|
2006
2315
|
}
|
|
2007
2316
|
|
|
2008
2317
|
|
|
2009
|
-
|
|
2318
|
+
|
|
2319
|
+
}
|
|
2320
|
+
declare module BABYLON.GuiEditor {
|
|
2321
|
+
|
|
2322
|
+
}
|
|
2323
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
2324
|
+
interface IStackPanelPropertyGridComponentProps {
|
|
2010
2325
|
stackPanel: BABYLON.GUI.StackPanel;
|
|
2011
|
-
lockObject: LockObject;
|
|
2012
|
-
onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
|
|
2326
|
+
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
2327
|
+
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
2013
2328
|
}
|
|
2014
2329
|
export class StackPanelPropertyGridComponent extends React.Component<IStackPanelPropertyGridComponentProps> {
|
|
2015
2330
|
constructor(props: IStackPanelPropertyGridComponentProps);
|
|
@@ -2017,10 +2332,16 @@ declare module BABYLON.GuiEditor {
|
|
|
2017
2332
|
}
|
|
2018
2333
|
|
|
2019
2334
|
|
|
2020
|
-
|
|
2335
|
+
|
|
2336
|
+
}
|
|
2337
|
+
declare module BABYLON.GuiEditor {
|
|
2338
|
+
|
|
2339
|
+
}
|
|
2340
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
2341
|
+
interface ITextBlockPropertyGridComponentProps {
|
|
2021
2342
|
textBlock: BABYLON.GUI.TextBlock;
|
|
2022
|
-
lockObject: LockObject;
|
|
2023
|
-
onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
|
|
2343
|
+
lockObject: BABYLON.GuiEditor.SharedUIComponents.LockObject;
|
|
2344
|
+
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.GuiEditor.SharedUIComponents.PropertyChangedEvent>;
|
|
2024
2345
|
}
|
|
2025
2346
|
export class TextBlockPropertyGridComponent extends React.Component<ITextBlockPropertyGridComponentProps> {
|
|
2026
2347
|
constructor(props: ITextBlockPropertyGridComponentProps);
|
|
@@ -2028,7 +2349,13 @@ declare module BABYLON.GuiEditor {
|
|
|
2028
2349
|
}
|
|
2029
2350
|
|
|
2030
2351
|
|
|
2031
|
-
|
|
2352
|
+
|
|
2353
|
+
}
|
|
2354
|
+
declare module BABYLON.GuiEditor {
|
|
2355
|
+
|
|
2356
|
+
}
|
|
2357
|
+
declare module BABYLON.GuiEditor.SharedUIComponents {
|
|
2358
|
+
/**
|
|
2032
2359
|
* Class used to provide lock mechanism
|
|
2033
2360
|
*/
|
|
2034
2361
|
export class LockObject {
|
|
@@ -2041,6 +2368,9 @@ declare module BABYLON.GuiEditor {
|
|
|
2041
2368
|
|
|
2042
2369
|
|
|
2043
2370
|
}
|
|
2371
|
+
declare module BABYLON.GuiEditor {
|
|
2372
|
+
|
|
2373
|
+
}
|
|
2044
2374
|
|
|
2045
2375
|
|
|
2046
2376
|
|