babylonjs-gui 9.10.1 → 9.12.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 +93 -0
- package/babylon.gui.js +1 -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 +194 -0
- package/package.json +2 -2
package/babylon.gui.d.ts
CHANGED
|
@@ -1352,6 +1352,20 @@ declare namespace BABYLON.GUI {
|
|
|
1352
1352
|
}
|
|
1353
1353
|
|
|
1354
1354
|
|
|
1355
|
+
/** @internal */
|
|
1356
|
+
export var handleVertexShaderWGSL: {
|
|
1357
|
+
name: string;
|
|
1358
|
+
shader: string;
|
|
1359
|
+
};
|
|
1360
|
+
|
|
1361
|
+
|
|
1362
|
+
/** @internal */
|
|
1363
|
+
export var handlePixelShaderWGSL: {
|
|
1364
|
+
name: string;
|
|
1365
|
+
shader: string;
|
|
1366
|
+
};
|
|
1367
|
+
|
|
1368
|
+
|
|
1355
1369
|
/** @internal */
|
|
1356
1370
|
export var handleVertexShader: {
|
|
1357
1371
|
name: string;
|
|
@@ -1373,6 +1387,7 @@ declare namespace BABYLON.GUI {
|
|
|
1373
1387
|
* @since 5.0.0
|
|
1374
1388
|
*/
|
|
1375
1389
|
export class FluentButtonMaterial extends BABYLON.PushMaterial {
|
|
1390
|
+
private _shadersLoaded;
|
|
1376
1391
|
/**
|
|
1377
1392
|
* URL pointing to the texture used to define the coloring for the fluent blob effect.
|
|
1378
1393
|
*/
|
|
@@ -1528,6 +1543,7 @@ declare namespace BABYLON.GUI {
|
|
|
1528
1543
|
*/
|
|
1529
1544
|
globalRightIndexTipPosition: BABYLON.Vector3;
|
|
1530
1545
|
private _blobTexture;
|
|
1546
|
+
private _blobTextureUrl;
|
|
1531
1547
|
constructor(name: string, scene?: BABYLON.Scene);
|
|
1532
1548
|
needAlphaBlending(): boolean;
|
|
1533
1549
|
needAlphaTesting(): boolean;
|
|
@@ -1539,14 +1555,39 @@ declare namespace BABYLON.GUI {
|
|
|
1539
1555
|
* @returns the list of animatables object used in the material
|
|
1540
1556
|
*/
|
|
1541
1557
|
getAnimatables(): BABYLON.IAnimatable[];
|
|
1558
|
+
/**
|
|
1559
|
+
* Disposes the material.
|
|
1560
|
+
* @param forceDisposeEffect specifies if effects should be forcefully disposed
|
|
1561
|
+
*/
|
|
1542
1562
|
dispose(forceDisposeEffect?: boolean): void;
|
|
1543
1563
|
clone(name: string): FluentButtonMaterial;
|
|
1544
1564
|
serialize(): any;
|
|
1545
1565
|
getClassName(): string;
|
|
1566
|
+
/**
|
|
1567
|
+
* Creates a fluent button material from parsed material data.
|
|
1568
|
+
* @param source defines the JSON representation of the material
|
|
1569
|
+
* @param scene defines the hosting scene
|
|
1570
|
+
* @param rootUrl defines the root URL to use to load textures and relative dependencies
|
|
1571
|
+
* @returns a new fluent button material
|
|
1572
|
+
*/
|
|
1546
1573
|
static Parse(source: any, scene: BABYLON.Scene, rootUrl: string): FluentButtonMaterial;
|
|
1547
1574
|
}
|
|
1548
1575
|
|
|
1549
1576
|
|
|
1577
|
+
/** @internal */
|
|
1578
|
+
export var fluentButtonVertexShaderWGSL: {
|
|
1579
|
+
name: string;
|
|
1580
|
+
shader: string;
|
|
1581
|
+
};
|
|
1582
|
+
|
|
1583
|
+
|
|
1584
|
+
/** @internal */
|
|
1585
|
+
export var fluentButtonPixelShaderWGSL: {
|
|
1586
|
+
name: string;
|
|
1587
|
+
shader: string;
|
|
1588
|
+
};
|
|
1589
|
+
|
|
1590
|
+
|
|
1550
1591
|
/** @internal */
|
|
1551
1592
|
export var fluentButtonVertexShader: {
|
|
1552
1593
|
name: string;
|
|
@@ -1567,6 +1608,7 @@ declare namespace BABYLON.GUI {
|
|
|
1567
1608
|
* Class used to render square buttons with fluent design
|
|
1568
1609
|
*/
|
|
1569
1610
|
export class FluentBackplateMaterial extends BABYLON.PushMaterial {
|
|
1611
|
+
private _shadersLoaded;
|
|
1570
1612
|
/**
|
|
1571
1613
|
* URL pointing to the texture used to define the coloring for the fluent blob effect.
|
|
1572
1614
|
*/
|
|
@@ -1699,14 +1741,39 @@ declare namespace BABYLON.GUI {
|
|
|
1699
1741
|
* @returns the list of animatables object used in the material
|
|
1700
1742
|
*/
|
|
1701
1743
|
getAnimatables(): BABYLON.IAnimatable[];
|
|
1744
|
+
/**
|
|
1745
|
+
* Disposes the material.
|
|
1746
|
+
* @param forceDisposeEffect specifies if effects should be forcefully disposed
|
|
1747
|
+
*/
|
|
1702
1748
|
dispose(forceDisposeEffect?: boolean): void;
|
|
1703
1749
|
clone(name: string): FluentBackplateMaterial;
|
|
1704
1750
|
serialize(): any;
|
|
1705
1751
|
getClassName(): string;
|
|
1752
|
+
/**
|
|
1753
|
+
* Creates a fluent backplate material from parsed material data.
|
|
1754
|
+
* @param source defines the JSON representation of the material
|
|
1755
|
+
* @param scene defines the hosting scene
|
|
1756
|
+
* @param rootUrl defines the root URL to use to load textures and relative dependencies
|
|
1757
|
+
* @returns a new fluent backplate material
|
|
1758
|
+
*/
|
|
1706
1759
|
static Parse(source: any, scene: BABYLON.Scene, rootUrl: string): FluentBackplateMaterial;
|
|
1707
1760
|
}
|
|
1708
1761
|
|
|
1709
1762
|
|
|
1763
|
+
/** @internal */
|
|
1764
|
+
export var fluentBackplateVertexShaderWGSL: {
|
|
1765
|
+
name: string;
|
|
1766
|
+
shader: string;
|
|
1767
|
+
};
|
|
1768
|
+
|
|
1769
|
+
|
|
1770
|
+
/** @internal */
|
|
1771
|
+
export var fluentBackplatePixelShaderWGSL: {
|
|
1772
|
+
name: string;
|
|
1773
|
+
shader: string;
|
|
1774
|
+
};
|
|
1775
|
+
|
|
1776
|
+
|
|
1710
1777
|
/** @internal */
|
|
1711
1778
|
export var fluentBackplateVertexShader: {
|
|
1712
1779
|
name: string;
|
|
@@ -1735,6 +1802,7 @@ declare namespace BABYLON.GUI {
|
|
|
1735
1802
|
* Class used to render controls with fluent design
|
|
1736
1803
|
*/
|
|
1737
1804
|
export class FluentMaterial extends BABYLON.PushMaterial {
|
|
1805
|
+
private _shadersLoaded;
|
|
1738
1806
|
/**
|
|
1739
1807
|
* Gets or sets inner glow intensity. A value of 0 means no glow (default is 0.5)
|
|
1740
1808
|
*/
|
|
@@ -1795,14 +1863,39 @@ declare namespace BABYLON.GUI {
|
|
|
1795
1863
|
bindForSubMesh(world: BABYLON.Matrix, mesh: BABYLON.Mesh, subMesh: BABYLON.SubMesh): void;
|
|
1796
1864
|
getActiveTextures(): BABYLON.BaseTexture[];
|
|
1797
1865
|
hasTexture(texture: BABYLON.BaseTexture): boolean;
|
|
1866
|
+
/**
|
|
1867
|
+
* Disposes the material.
|
|
1868
|
+
* @param forceDisposeEffect specifies if effects should be forcefully disposed
|
|
1869
|
+
*/
|
|
1798
1870
|
dispose(forceDisposeEffect?: boolean): void;
|
|
1799
1871
|
clone(name: string): FluentMaterial;
|
|
1800
1872
|
serialize(): any;
|
|
1801
1873
|
getClassName(): string;
|
|
1874
|
+
/**
|
|
1875
|
+
* Creates a fluent material from parsed material data.
|
|
1876
|
+
* @param source defines the JSON representation of the material
|
|
1877
|
+
* @param scene defines the hosting scene
|
|
1878
|
+
* @param rootUrl defines the root URL to use to load textures and relative dependencies
|
|
1879
|
+
* @returns a new fluent material
|
|
1880
|
+
*/
|
|
1802
1881
|
static Parse(source: any, scene: BABYLON.Scene, rootUrl: string): FluentMaterial;
|
|
1803
1882
|
}
|
|
1804
1883
|
|
|
1805
1884
|
|
|
1885
|
+
/** @internal */
|
|
1886
|
+
export var fluentVertexShaderWGSL: {
|
|
1887
|
+
name: string;
|
|
1888
|
+
shader: string;
|
|
1889
|
+
};
|
|
1890
|
+
|
|
1891
|
+
|
|
1892
|
+
/** @internal */
|
|
1893
|
+
export var fluentPixelShaderWGSL: {
|
|
1894
|
+
name: string;
|
|
1895
|
+
shader: string;
|
|
1896
|
+
};
|
|
1897
|
+
|
|
1898
|
+
|
|
1806
1899
|
/** @internal */
|
|
1807
1900
|
export var fluentVertexShader: {
|
|
1808
1901
|
name: string;
|