babylonjs-gui 7.8.1 → 7.9.0
Sign up to get free protection for your applications and to get access to all the features.
- 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.d.ts
CHANGED
@@ -501,9 +501,10 @@ declare module BABYLON.GUI {
|
|
501
501
|
* @param onlyAlphaTesting defines a boolean indicating that alpha blending will not be used (only alpha testing) (false by default)
|
502
502
|
* @param invertY defines if the texture needs to be inverted on the y axis during loading (true by default)
|
503
503
|
* @param materialSetupCallback defines a custom way of creating and setting up the material on the mesh
|
504
|
+
* @param sampling defines the texture sampling mode (Texture.TRILINEAR_SAMPLINGMODE by default)
|
504
505
|
* @returns a new AdvancedDynamicTexture
|
505
506
|
*/
|
506
|
-
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;
|
507
|
+
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;
|
507
508
|
private static _CreateMaterial;
|
508
509
|
/**
|
509
510
|
* 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
|
@@ -512,9 +513,10 @@ declare module BABYLON.GUI {
|
|
512
513
|
* @param height defines the texture height (1024 by default)
|
513
514
|
* @param supportPointerMove defines a boolean indicating if the texture must capture move events (true by default)
|
514
515
|
* @param invertY defines if the texture needs to be inverted on the y axis during loading (true by default)
|
516
|
+
* @param sampling defines the texture sampling mode (Texture.TRILINEAR_SAMPLINGMODE by default)
|
515
517
|
* @returns a new AdvancedDynamicTexture
|
516
518
|
*/
|
517
|
-
static CreateForMeshTexture(mesh: BABYLON.AbstractMesh, width?: number, height?: number, supportPointerMove?: boolean, invertY?: boolean): AdvancedDynamicTexture;
|
519
|
+
static CreateForMeshTexture(mesh: BABYLON.AbstractMesh, width?: number, height?: number, supportPointerMove?: boolean, invertY?: boolean, sampling?: number): AdvancedDynamicTexture;
|
518
520
|
/**
|
519
521
|
* Creates a new AdvancedDynamicTexture in fullscreen mode.
|
520
522
|
* In this mode the texture will rely on a layer for its rendering.
|