Bläddra i källkod

Changes after compiling

Patrick Ryan 6 år sedan
förälder
incheckning
163cba6a30

Filskillnaden har hållts tillbaka eftersom den är för stor
+ 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 advancedTexture defines the AdvancedDynamicTexture the dialog is assigned to
                 * @param options
                 * @param options
                 */
                 */
-            static ShowPickerDialog(advancedTexture: AdvancedDynamicTexture, options: {
+            static ShowPickerDialogAsync(advancedTexture: AdvancedDynamicTexture, options: {
                     pickerWidth?: string;
                     pickerWidth?: string;
                     pickerHeight?: string;
                     pickerHeight?: string;
                     lastColor?: string;
                     lastColor?: string;
@@ -750,7 +750,10 @@ declare module BABYLON.GUI {
                     swatchSize?: number;
                     swatchSize?: number;
                     numSwatchesPerLine?: number;
                     numSwatchesPerLine?: number;
                     savedColors?: Array<string>;
                     savedColors?: Array<string>;
-            }): string;
+            }): Promise<{
+                    savedColors?: string[];
+                    pickedColor: string;
+            }>;
     }
     }
 }
 }
 declare module BABYLON.GUI {
 declare module BABYLON.GUI {

Filskillnaden har hållts tillbaka eftersom den är för stor
+ 1 - 1
dist/preview release/gui/babylon.gui.js


Filskillnaden har hållts tillbaka eftersom den är för stor
+ 1 - 1
dist/preview release/gui/babylon.gui.min.js


Filskillnaden har hållts tillbaka eftersom den är för stor
+ 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 advancedTexture defines the AdvancedDynamicTexture the dialog is assigned to
                 * @param options
                 * @param options
                 */
                 */
-            static ShowPickerDialog(advancedTexture: AdvancedDynamicTexture, options: {
+            static ShowPickerDialogAsync(advancedTexture: AdvancedDynamicTexture, options: {
                     pickerWidth?: string;
                     pickerWidth?: string;
                     pickerHeight?: string;
                     pickerHeight?: string;
                     lastColor?: string;
                     lastColor?: string;
@@ -845,7 +845,10 @@ declare module 'babylonjs-gui/2D/controls/colorpicker' {
                     swatchSize?: number;
                     swatchSize?: number;
                     numSwatchesPerLine?: number;
                     numSwatchesPerLine?: number;
                     savedColors?: Array<string>;
                     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 advancedTexture defines the AdvancedDynamicTexture the dialog is assigned to
                 * @param options
                 * @param options
                 */
                 */
-            static ShowPickerDialog(advancedTexture: AdvancedDynamicTexture, options: {
+            static ShowPickerDialogAsync(advancedTexture: AdvancedDynamicTexture, options: {
                     pickerWidth?: string;
                     pickerWidth?: string;
                     pickerHeight?: string;
                     pickerHeight?: string;
                     lastColor?: string;
                     lastColor?: string;
@@ -3756,7 +3759,10 @@ declare module BABYLON.GUI {
                     swatchSize?: number;
                     swatchSize?: number;
                     numSwatchesPerLine?: number;
                     numSwatchesPerLine?: number;
                     savedColors?: Array<string>;
                     savedColors?: Array<string>;
-            }): string;
+            }): Promise<{
+                    savedColors?: string[];
+                    pickedColor: string;
+            }>;
     }
     }
 }
 }
 declare module BABYLON.GUI {
 declare module BABYLON.GUI {