babylonjs-gui 7.8.2 → 7.9.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 +4 -2
- package/babylon.gui.js +9 -5
- package/babylon.gui.min.js +1 -1
- package/babylon.gui.min.js.map +1 -1
- package/babylon.gui.module.d.ts +8 -4
- package/package.json +2 -2
package/babylon.gui.module.d.ts
CHANGED
@@ -520,9 +520,10 @@ export class AdvancedDynamicTexture extends DynamicTexture {
|
|
520
520
|
* @param onlyAlphaTesting defines a boolean indicating that alpha blending will not be used (only alpha testing) (false by default)
|
521
521
|
* @param invertY defines if the texture needs to be inverted on the y axis during loading (true by default)
|
522
522
|
* @param materialSetupCallback defines a custom way of creating and setting up the material on the mesh
|
523
|
+
* @param sampling defines the texture sampling mode (Texture.TRILINEAR_SAMPLINGMODE by default)
|
523
524
|
* @returns a new AdvancedDynamicTexture
|
524
525
|
*/
|
525
|
-
static CreateForMesh(mesh: AbstractMesh, width?: number, height?: number, supportPointerMove?: boolean, onlyAlphaTesting?: boolean, invertY?: boolean, materialSetupCallback?: (mesh: AbstractMesh, uniqueId: string, texture: AdvancedDynamicTexture, onlyAlphaTesting: boolean) => void): AdvancedDynamicTexture;
|
526
|
+
static CreateForMesh(mesh: AbstractMesh, width?: number, height?: number, supportPointerMove?: boolean, onlyAlphaTesting?: boolean, invertY?: boolean, materialSetupCallback?: (mesh: AbstractMesh, uniqueId: string, texture: AdvancedDynamicTexture, onlyAlphaTesting: boolean) => void, sampling?: number): AdvancedDynamicTexture;
|
526
527
|
private static _CreateMaterial;
|
527
528
|
/**
|
528
529
|
* Creates a new AdvancedDynamicTexture in projected mode (ie. attached to a mesh) BUT do not create a new material for the mesh. You will be responsible for connecting the texture
|
@@ -531,9 +532,10 @@ export class AdvancedDynamicTexture extends DynamicTexture {
|
|
531
532
|
* @param height defines the texture height (1024 by default)
|
532
533
|
* @param supportPointerMove defines a boolean indicating if the texture must capture move events (true by default)
|
533
534
|
* @param invertY defines if the texture needs to be inverted on the y axis during loading (true by default)
|
535
|
+
* @param sampling defines the texture sampling mode (Texture.TRILINEAR_SAMPLINGMODE by default)
|
534
536
|
* @returns a new AdvancedDynamicTexture
|
535
537
|
*/
|
536
|
-
static CreateForMeshTexture(mesh: AbstractMesh, width?: number, height?: number, supportPointerMove?: boolean, invertY?: boolean): AdvancedDynamicTexture;
|
538
|
+
static CreateForMeshTexture(mesh: AbstractMesh, width?: number, height?: number, supportPointerMove?: boolean, invertY?: boolean, sampling?: number): AdvancedDynamicTexture;
|
537
539
|
/**
|
538
540
|
* Creates a new AdvancedDynamicTexture in fullscreen mode.
|
539
541
|
* In this mode the texture will rely on a layer for its rendering.
|
@@ -9367,9 +9369,10 @@ declare module BABYLON.GUI {
|
|
9367
9369
|
* @param onlyAlphaTesting defines a boolean indicating that alpha blending will not be used (only alpha testing) (false by default)
|
9368
9370
|
* @param invertY defines if the texture needs to be inverted on the y axis during loading (true by default)
|
9369
9371
|
* @param materialSetupCallback defines a custom way of creating and setting up the material on the mesh
|
9372
|
+
* @param sampling defines the texture sampling mode (Texture.TRILINEAR_SAMPLINGMODE by default)
|
9370
9373
|
* @returns a new AdvancedDynamicTexture
|
9371
9374
|
*/
|
9372
|
-
static CreateForMesh(mesh: BABYLON.AbstractMesh, width?: number, height?: number, supportPointerMove?: boolean, onlyAlphaTesting?: boolean, invertY?: boolean, materialSetupCallback?: (mesh: BABYLON.AbstractMesh, uniqueId: string, texture: AdvancedDynamicTexture, onlyAlphaTesting: boolean) => void): AdvancedDynamicTexture;
|
9375
|
+
static CreateForMesh(mesh: BABYLON.AbstractMesh, width?: number, height?: number, supportPointerMove?: boolean, onlyAlphaTesting?: boolean, invertY?: boolean, materialSetupCallback?: (mesh: BABYLON.AbstractMesh, uniqueId: string, texture: AdvancedDynamicTexture, onlyAlphaTesting: boolean) => void, sampling?: number): AdvancedDynamicTexture;
|
9373
9376
|
private static _CreateMaterial;
|
9374
9377
|
/**
|
9375
9378
|
* Creates a new AdvancedDynamicTexture in projected mode (ie. attached to a mesh) BUT do not create a new material for the mesh. You will be responsible for connecting the texture
|
@@ -9378,9 +9381,10 @@ declare module BABYLON.GUI {
|
|
9378
9381
|
* @param height defines the texture height (1024 by default)
|
9379
9382
|
* @param supportPointerMove defines a boolean indicating if the texture must capture move events (true by default)
|
9380
9383
|
* @param invertY defines if the texture needs to be inverted on the y axis during loading (true by default)
|
9384
|
+
* @param sampling defines the texture sampling mode (Texture.TRILINEAR_SAMPLINGMODE by default)
|
9381
9385
|
* @returns a new AdvancedDynamicTexture
|
9382
9386
|
*/
|
9383
|
-
static CreateForMeshTexture(mesh: BABYLON.AbstractMesh, width?: number, height?: number, supportPointerMove?: boolean, invertY?: boolean): AdvancedDynamicTexture;
|
9387
|
+
static CreateForMeshTexture(mesh: BABYLON.AbstractMesh, width?: number, height?: number, supportPointerMove?: boolean, invertY?: boolean, sampling?: number): AdvancedDynamicTexture;
|
9384
9388
|
/**
|
9385
9389
|
* Creates a new AdvancedDynamicTexture in fullscreen mode.
|
9386
9390
|
* In this mode the texture will rely on a layer for its rendering.
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "babylonjs-gui",
|
3
|
-
"version": "7.
|
3
|
+
"version": "7.9.0",
|
4
4
|
"main": "babylon.gui.js",
|
5
5
|
"types": "babylon.gui.module.d.ts",
|
6
6
|
"files": [
|
@@ -15,7 +15,7 @@
|
|
15
15
|
"test:escheck": "es-check es6 ./babylon.gui.js"
|
16
16
|
},
|
17
17
|
"dependencies": {
|
18
|
-
"babylonjs": "^7.
|
18
|
+
"babylonjs": "^7.9.0"
|
19
19
|
},
|
20
20
|
"devDependencies": {
|
21
21
|
"@dev/build-tools": "1.0.0",
|