You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/core-concepts/packages/compatibility-versions.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,6 +36,16 @@ The Compatibility Mode is a feature that aims to keep old and unmaintained packa
36
36
To use the following features, you must update your Package's `compatibility_version` setting in the Package.toml to at least that version (exact that version or bigger).
`TextRender` was renamed to [Text3D](/scripting-reference/classes/text-3d.mdx). And a new entity `TextRender` was created. To use the new TextRender entity, you must update your `compatibility_version` to at least `1.103`.
45
+
46
+
In compatibility mode (i.e. setting it to `1.102` or below) `TextRender` will still point to the old `TextRender` class (i.e. to the new `Text3D` class).
**Text3D** is experimental and may have some limitations. It generates meshes dynamically in runtime, thus it is more performance heavy. Consider using <Classes.TextRender /> if you don't need the extra features.
13
+
14
+
:::
15
+
16
+
17
+
## πΒ Examples
18
+
19
+
```lua showLineNumbers
20
+
localmy_text_3d=Text3D(
21
+
Vector(-100, 200, 300),
22
+
Rotator(),
23
+
"My Awesome Text",
24
+
Vector(1, 1, 1), -- Scale
25
+
Color(1, 0, 0), -- Red Color
26
+
FontType.OpenSans,
27
+
Text3DAlignCamera.FaceCamera
28
+
)
29
+
```
30
+
31
+
:::info
32
+
33
+
If you desire your **Text3D** to be visible through walls, replace it's material with the nanos Default TranslucentDepth one!
0 commit comments