浏览代码

Changes after compiling

Patrick Ryan 6 年之前
父节点
当前提交
163cba6a30

文件差异内容过多而无法显示
+ 6573 - 6573
dist/preview release/babylon.d.ts


+ 5 - 2
dist/preview release/gui/babylon.gui.d.ts

@@ -742,7 +742,7 @@ declare module BABYLON.GUI {
                 * @param advancedTexture defines the AdvancedDynamicTexture the dialog is assigned to
                 * @param options
                 */
-            static ShowPickerDialog(advancedTexture: AdvancedDynamicTexture, options: {
+            static ShowPickerDialogAsync(advancedTexture: AdvancedDynamicTexture, options: {
                     pickerWidth?: string;
                     pickerHeight?: string;
                     lastColor?: string;
@@ -750,7 +750,10 @@ declare module BABYLON.GUI {
                     swatchSize?: number;
                     numSwatchesPerLine?: number;
                     savedColors?: Array<string>;
-            }): string;
+            }): Promise<{
+                    savedColors?: string[];
+                    pickedColor: string;
+            }>;
     }
 }
 declare module BABYLON.GUI {

文件差异内容过多而无法显示
+ 1 - 1
dist/preview release/gui/babylon.gui.js


文件差异内容过多而无法显示
+ 1 - 1
dist/preview release/gui/babylon.gui.min.js


文件差异内容过多而无法显示
+ 1 - 1
dist/preview release/gui/babylon.gui.min.js.map


+ 10 - 4
dist/preview release/gui/babylon.gui.module.d.ts

@@ -837,7 +837,7 @@ declare module 'babylonjs-gui/2D/controls/colorpicker' {
                 * @param advancedTexture defines the AdvancedDynamicTexture the dialog is assigned to
                 * @param options
                 */
-            static ShowPickerDialog(advancedTexture: AdvancedDynamicTexture, options: {
+            static ShowPickerDialogAsync(advancedTexture: AdvancedDynamicTexture, options: {
                     pickerWidth?: string;
                     pickerHeight?: string;
                     lastColor?: string;
@@ -845,7 +845,10 @@ declare module 'babylonjs-gui/2D/controls/colorpicker' {
                     swatchSize?: number;
                     numSwatchesPerLine?: number;
                     savedColors?: Array<string>;
-            }): string;
+            }): Promise<{
+                    savedColors?: string[];
+                    pickedColor: string;
+            }>;
     }
 }
 
@@ -3748,7 +3751,7 @@ declare module BABYLON.GUI {
                 * @param advancedTexture defines the AdvancedDynamicTexture the dialog is assigned to
                 * @param options
                 */
-            static ShowPickerDialog(advancedTexture: AdvancedDynamicTexture, options: {
+            static ShowPickerDialogAsync(advancedTexture: AdvancedDynamicTexture, options: {
                     pickerWidth?: string;
                     pickerHeight?: string;
                     lastColor?: string;
@@ -3756,7 +3759,10 @@ declare module BABYLON.GUI {
                     swatchSize?: number;
                     numSwatchesPerLine?: number;
                     savedColors?: Array<string>;
-            }): string;
+            }): Promise<{
+                    savedColors?: string[];
+                    pickedColor: string;
+            }>;
     }
 }
 declare module BABYLON.GUI {