babylonjs-addons 9.16.0 → 9.16.2

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.
@@ -1533,6 +1533,13 @@ export class TextRenderer implements IDisposable {
1533
1533
  * Default is false
1534
1534
  */
1535
1535
  ignoreDepthBuffer: boolean;
1536
+ /**
1537
+ * Gets or sets if the text renderer should write to the depth buffer (default is false).
1538
+ * When enabled, transparent pixels are discarded so that separate text renderers (and other meshes)
1539
+ * occlude each other according to their position in the 3D scene instead of their render order.
1540
+ * This has no effect when ignoreDepthBuffer is true.
1541
+ */
1542
+ writeToDepthBuffer: boolean;
1536
1543
  private constructor();
1537
1544
  private _resizeBuffers;
1538
1545
  private _setShaders;
@@ -4996,6 +5003,13 @@ declare namespace ADDONS {
4996
5003
  * Default is false
4997
5004
  */
4998
5005
  ignoreDepthBuffer: boolean;
5006
+ /**
5007
+ * Gets or sets if the text renderer should write to the depth buffer (default is false).
5008
+ * When enabled, transparent pixels are discarded so that separate text renderers (and other meshes)
5009
+ * occlude each other according to their position in the 3D scene instead of their render order.
5010
+ * This has no effect when ignoreDepthBuffer is true.
5011
+ */
5012
+ writeToDepthBuffer: boolean;
4999
5013
  private constructor();
5000
5014
  private _resizeBuffers;
5001
5015
  private _setShaders;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "babylonjs-addons",
3
- "version": "9.16.0",
3
+ "version": "9.16.2",
4
4
  "main": "babylonjs.addons.min.js",
5
5
  "types": "babylonjs.addons.module.d.ts",
6
6
  "files": [
@@ -16,7 +16,7 @@
16
16
  "test:escheck": "es-check es6 ./babylonjs.addons.js"
17
17
  },
18
18
  "dependencies": {
19
- "babylonjs": "9.16.0"
19
+ "babylonjs": "9.16.2"
20
20
  },
21
21
  "devDependencies": {
22
22
  "@dev/addons": "1.0.0",