babylonjs-gui 5.20.0 → 5.22.1

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.
@@ -125,6 +125,8 @@ export class AdvancedDynamicTexture extends DynamicTexture {
125
125
  private _cursorChanged;
126
126
  private _defaultMousePointerId;
127
127
  /** @hidden */
128
+ _capturedPointerIds: Set<number>;
129
+ /** @hidden */
128
130
  _numLayoutCalls: number;
129
131
  /** Gets the number of layout calls made the last time the ADT has been rendered */
130
132
  get numLayoutCalls(): number;
@@ -407,6 +409,12 @@ export class AdvancedDynamicTexture extends DynamicTexture {
407
409
  * Unregister the clipboard Events from the canvas
408
410
  */
409
411
  unRegisterClipboardEvents(): void;
412
+ /**
413
+ * Transform uvs from mesh space to texture space, taking the texture into account
414
+ * @param uv the uvs in mesh space
415
+ * @returns the uvs in texture space
416
+ */
417
+ private _transformUvs;
410
418
  /**
411
419
  * Connect the texture to a hosting mesh to enable interactions
412
420
  * @param mesh defines the mesh to attach to
@@ -433,6 +441,12 @@ export class AdvancedDynamicTexture extends DynamicTexture {
433
441
  * @param scaleToSize defines whether to scale to texture to the saved size
434
442
  */
435
443
  parseSerializedObject(serializedObject: any, scaleToSize?: boolean): void;
444
+ /**
445
+ * Clones the ADT
446
+ * @param newName defines the name of the new ADT
447
+ * @returns the clone of the ADT
448
+ */
449
+ clone(newName?: string): AdvancedDynamicTexture;
436
450
  /**
437
451
  * Recreate the content of the ADT from a JSON object
438
452
  * @param serializedObject define the JSON serialized object to restore from
@@ -8119,6 +8133,8 @@ declare module BABYLON.GUI {
8119
8133
  private _cursorChanged;
8120
8134
  private _defaultMousePointerId;
8121
8135
  /** @hidden */
8136
+ _capturedPointerIds: Set<number>;
8137
+ /** @hidden */
8122
8138
  _numLayoutCalls: number;
8123
8139
  /** Gets the number of layout calls made the last time the ADT has been rendered */
8124
8140
  get numLayoutCalls(): number;
@@ -8401,6 +8417,12 @@ declare module BABYLON.GUI {
8401
8417
  * Unregister the clipboard Events from the canvas
8402
8418
  */
8403
8419
  unRegisterClipboardEvents(): void;
8420
+ /**
8421
+ * Transform uvs from mesh space to texture space, taking the texture into account
8422
+ * @param uv the uvs in mesh space
8423
+ * @returns the uvs in texture space
8424
+ */
8425
+ private _transformUvs;
8404
8426
  /**
8405
8427
  * Connect the texture to a hosting mesh to enable interactions
8406
8428
  * @param mesh defines the mesh to attach to
@@ -8427,6 +8449,12 @@ declare module BABYLON.GUI {
8427
8449
  * @param scaleToSize defines whether to scale to texture to the saved size
8428
8450
  */
8429
8451
  parseSerializedObject(serializedObject: any, scaleToSize?: boolean): void;
8452
+ /**
8453
+ * Clones the ADT
8454
+ * @param newName defines the name of the new ADT
8455
+ * @returns the clone of the ADT
8456
+ */
8457
+ clone(newName?: string): AdvancedDynamicTexture;
8430
8458
  /**
8431
8459
  * Recreate the content of the ADT from a JSON object
8432
8460
  * @param serializedObject define the JSON serialized object to restore from
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "babylonjs-gui",
3
- "version": "5.20.0",
3
+ "version": "5.22.1",
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.20.0"
17
+ "babylonjs": "^5.22.1"
18
18
  },
19
19
  "devDependencies": {
20
20
  "@dev/build-tools": "1.0.0",