babylonjs-addons 9.1.0 → 9.2.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.
|
@@ -1543,6 +1543,10 @@ export class TextRenderer implements IDisposable {
|
|
|
1543
1543
|
* @param worldMatrix define the world matrix to use for the paragraph (optional)
|
|
1544
1544
|
*/
|
|
1545
1545
|
addParagraph(text: string, options?: Partial<ParagraphOptions>, worldMatrix?: IMatrixLike): void;
|
|
1546
|
+
/**
|
|
1547
|
+
* Clear all paragraphs from the renderer to allow adding new ones from scratch
|
|
1548
|
+
*/
|
|
1549
|
+
clearParagraphs(): void;
|
|
1546
1550
|
/**
|
|
1547
1551
|
* Render the text using the provided view and projection matrices
|
|
1548
1552
|
* @param viewMatrix define the view matrix to use
|
|
@@ -5029,6 +5033,10 @@ declare namespace ADDONS {
|
|
|
5029
5033
|
* @param worldMatrix define the world matrix to use for the paragraph (optional)
|
|
5030
5034
|
*/
|
|
5031
5035
|
addParagraph(text: string, options?: Partial<ParagraphOptions>, worldMatrix?: BABYLON.IMatrixLike): void;
|
|
5036
|
+
/**
|
|
5037
|
+
* Clear all paragraphs from the renderer to allow adding new ones from scratch
|
|
5038
|
+
*/
|
|
5039
|
+
clearParagraphs(): void;
|
|
5032
5040
|
/**
|
|
5033
5041
|
* Render the text using the provided view and projection matrices
|
|
5034
5042
|
* @param viewMatrix define the view matrix to use
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "babylonjs-addons",
|
|
3
|
-
"version": "9.1
|
|
3
|
+
"version": "9.2.1",
|
|
4
4
|
"main": "babylonjs.addons.min.js",
|
|
5
5
|
"types": "babylonjs.addons.module.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"test:escheck": "es-check es6 ./babylonjs.addons.js"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"babylonjs": "9.1
|
|
18
|
+
"babylonjs": "9.2.1"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"@dev/addons": "1.0.0",
|