babylonjs-gui 5.27.1 → 5.29.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.gui.d.ts +6 -2
- package/babylon.gui.js +33 -3
- package/babylon.gui.js.map +1 -1
- package/babylon.gui.min.js +1 -1
- package/babylon.gui.min.js.map +1 -1
- package/babylon.gui.module.d.ts +14 -4
- package/package.json +2 -2
package/babylon.gui.module.d.ts
CHANGED
|
@@ -584,7 +584,7 @@ export class Button extends Rectangle {
|
|
|
584
584
|
get image(): Nullable<Image>;
|
|
585
585
|
private _textBlock;
|
|
586
586
|
/**
|
|
587
|
-
* Returns the
|
|
587
|
+
* Returns the TextBlock part of the button (if any)
|
|
588
588
|
*/
|
|
589
589
|
get textBlock(): Nullable<TextBlock>;
|
|
590
590
|
/**
|
|
@@ -984,11 +984,13 @@ import { Measure } from "babylonjs-gui/2D/measure";
|
|
|
984
984
|
import { Style } from "babylonjs-gui/2D/style";
|
|
985
985
|
import { Matrix2D, Vector2WithInfo } from "babylonjs-gui/2D/math2D";
|
|
986
986
|
import { ICanvasRenderingContext } from "babylonjs/Engines/ICanvas";
|
|
987
|
+
import { IAnimatable } from "babylonjs/Animations/animatable.interface";
|
|
988
|
+
import { Animation } from "babylonjs/Animations/animation";
|
|
987
989
|
/**
|
|
988
990
|
* Root class used for all 2D controls
|
|
989
991
|
* @see https://doc.babylonjs.com/how_to/gui#controls
|
|
990
992
|
*/
|
|
991
|
-
export class Control {
|
|
993
|
+
export class Control implements IAnimatable {
|
|
992
994
|
/** defines the name of the control */
|
|
993
995
|
name?: string | undefined;
|
|
994
996
|
/**
|
|
@@ -1485,6 +1487,10 @@ export class Control {
|
|
|
1485
1487
|
* Gets/sets the deoverlap movement multiplier
|
|
1486
1488
|
*/
|
|
1487
1489
|
overlapDeltaMultiplier?: number;
|
|
1490
|
+
/**
|
|
1491
|
+
* Array of animations
|
|
1492
|
+
*/
|
|
1493
|
+
animations: Nullable<Animation[]>;
|
|
1488
1494
|
/**
|
|
1489
1495
|
* Creates a new control
|
|
1490
1496
|
* @param name defines the name of the control
|
|
@@ -8946,7 +8952,7 @@ declare module BABYLON.GUI {
|
|
|
8946
8952
|
get image(): BABYLON.Nullable<Image>;
|
|
8947
8953
|
private _textBlock;
|
|
8948
8954
|
/**
|
|
8949
|
-
* Returns the
|
|
8955
|
+
* Returns the TextBlock part of the button (if any)
|
|
8950
8956
|
*/
|
|
8951
8957
|
get textBlock(): BABYLON.Nullable<TextBlock>;
|
|
8952
8958
|
/**
|
|
@@ -9312,7 +9318,7 @@ declare module BABYLON.GUI {
|
|
|
9312
9318
|
* Root class used for all 2D controls
|
|
9313
9319
|
* @see https://doc.babylonjs.com/how_to/gui#controls
|
|
9314
9320
|
*/
|
|
9315
|
-
export class Control {
|
|
9321
|
+
export class Control implements BABYLON.IAnimatable {
|
|
9316
9322
|
/** defines the name of the control */
|
|
9317
9323
|
name?: string | undefined;
|
|
9318
9324
|
/**
|
|
@@ -9809,6 +9815,10 @@ declare module BABYLON.GUI {
|
|
|
9809
9815
|
* Gets/sets the deoverlap movement multiplier
|
|
9810
9816
|
*/
|
|
9811
9817
|
overlapDeltaMultiplier?: number;
|
|
9818
|
+
/**
|
|
9819
|
+
* Array of animations
|
|
9820
|
+
*/
|
|
9821
|
+
animations: BABYLON.Nullable<BABYLON.Animation[]>;
|
|
9812
9822
|
/**
|
|
9813
9823
|
* Creates a new control
|
|
9814
9824
|
* @param name defines the name of the control
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "babylonjs-gui",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.29.0",
|
|
4
4
|
"main": "babylon.gui.js",
|
|
5
5
|
"types": "babylon.gui.module.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"clean": "rimraf dist && rimraf babylon*.*"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"babylonjs": "^5.
|
|
17
|
+
"babylonjs": "^5.29.0"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@dev/build-tools": "1.0.0",
|