babylonjs-gui 5.27.0 → 5.28.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 +22 -1
- 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 -5
- package/package.json +2 -2
package/babylon.gui.module.d.ts
CHANGED
|
@@ -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
|
|
@@ -5400,8 +5406,7 @@ export * from "babylonjs-gui/3D/controls/touchMeshButton3D";
|
|
|
5400
5406
|
export * from "babylonjs-gui/3D/controls/touchHolographicButton";
|
|
5401
5407
|
export * from "babylonjs-gui/3D/controls/touchHolographicMenu";
|
|
5402
5408
|
export * from "babylonjs-gui/3D/controls/volumeBasedPanel";
|
|
5403
|
-
|
|
5404
|
-
export { TouchHolographicButton as TouchHolographicButtonV3 };
|
|
5409
|
+
export { TouchHolographicButton as TouchHolographicButtonV3 } from "babylonjs-gui/3D/controls/MRTK3/touchHolographicButton";
|
|
5405
5410
|
|
|
5406
5411
|
}
|
|
5407
5412
|
declare module "babylonjs-gui/3D/controls/meshButton3D" {
|
|
@@ -9313,7 +9318,7 @@ declare module BABYLON.GUI {
|
|
|
9313
9318
|
* Root class used for all 2D controls
|
|
9314
9319
|
* @see https://doc.babylonjs.com/how_to/gui#controls
|
|
9315
9320
|
*/
|
|
9316
|
-
export class Control {
|
|
9321
|
+
export class Control implements BABYLON.IAnimatable {
|
|
9317
9322
|
/** defines the name of the control */
|
|
9318
9323
|
name?: string | undefined;
|
|
9319
9324
|
/**
|
|
@@ -9810,6 +9815,10 @@ declare module BABYLON.GUI {
|
|
|
9810
9815
|
* Gets/sets the deoverlap movement multiplier
|
|
9811
9816
|
*/
|
|
9812
9817
|
overlapDeltaMultiplier?: number;
|
|
9818
|
+
/**
|
|
9819
|
+
* Array of animations
|
|
9820
|
+
*/
|
|
9821
|
+
animations: BABYLON.Nullable<BABYLON.Animation[]>;
|
|
9813
9822
|
/**
|
|
9814
9823
|
* Creates a new control
|
|
9815
9824
|
* @param name defines the name of the control
|
|
@@ -13430,7 +13439,7 @@ declare module BABYLON.GUI {
|
|
|
13430
13439
|
/**
|
|
13431
13440
|
* Class used to create the mrtkv3 button
|
|
13432
13441
|
*/
|
|
13433
|
-
export class
|
|
13442
|
+
export class TouchHolographicButtonV3 extends TouchButton3D {
|
|
13434
13443
|
/**
|
|
13435
13444
|
* Base Url for the frontplate model.
|
|
13436
13445
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "babylonjs-gui",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.28.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.28.0"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@dev/build-tools": "1.0.0",
|