编辑器/功能拓展 TEXDraw 6.0.4 创建数学式

编辑器/功能拓展  道具  Unity 2021 










TEXDraw is an extension asset designed primarily for creating mathematical expressions inside Unity. TEXDraw renders expressions using mesh and dynamic fonts, so they can be changed dynamically in gameplay. It uses LaTeX as the standard syntax to define symbols or specific styles.

This asset contains 16 fonts + one packed sprite, all cumulates into +900 math symbols ready to be used in any kind of project, ranging from greek letters to geometrical symbols. These fonts and symbol packs are lightweight, yet optional, and can be removed later in the build if necessary.

TEXDraw can be displayed in Unity UI rendering or 3D mesh by simply attaching TEXDraw components to Unity objects. It also has built-in integrations with TextMeshPro SDF Rendering. Besides that, the asset source is fully open without embedding any compiled libraries into your project.

TEXDraw syntax is rich in features. With a custom LaTeX interpreter, it can draw various math scripts, integrals, roots, fractions, matrices, tables, etc., plus many glyph features including custom fonts, size, color, styles, alignments, word wrap, kerning, paragraph spacing, line spacing, lean indent, body margin, and much more.

TEXDraw is not just about displaying LaTeX. There are also additional components like TEXLink for clickable sections of text and TEXInput for the WYSIWYG runtime editor. The latest TEXDraw version aims to be mostly compatible with other TeX software like MathJax or TexStudio so if you have used them before, you can get familiar with TEXDraw syntax very quickly.

TEXDraw is mobile-friendly. It does not require any custom shaders. It also does nothing when nothing is changed. On the performance side; it is light and has its own memory pooling system to generate (nearly) zero GC allocation each time the text regenerates. TEXDraw has its own performance benchmark scene and shows that it is only up to 40% slower than standard UI Text.

Besides its great functionality in the game, it also offers a fully customized and functional editor, from project-wide preference, editor highlights, font manager, material management, benchmark tool, menu items, and many more. One of the best parts of using this asset is how it imports a new font, by just inserting any font or sprite, then letting the package do the rest of importing process.

More features are described in the documentation linked above. If you're encountering problems, have a look at the common troubleshooting section in the manual. Bugs and feature requests can be informed and requested using the forum or email. If you have purchased this asset you can request Git Access to get the bleeding (in development) version of this asset.

TEXDraw 是一种扩展资产,主要用于在 Unity 中创建数学表达式。TEXDraw 使用网格和动态字体渲染表达式,因此可以在游戏中动态更改它们。它使用 LaTeX 作为定义符号或特定样式的标准语法。

此资产包含 16 种字体 + 一个打包的精灵,全部累积成 +900 个数学符号,可用于任何类型的项目,从希腊字母到几何符号。这些字体和符号包很轻量,但可选,并且可以在构建后根据需要删除。

只需将 TEXDraw 组件附加到 Unity 对象,即可在 Unity UI 渲染或 3D 网格中显示 TEXDraw。它还具有与 TextMeshPro SDF 渲染的内置集成。除此之外,资产源完全开放,无需将任何编译库嵌入到您的项目中。

TEXDraw 语法功能丰富。使用自定义 LaTeX 解释器,它可以绘制各种数学脚本、积分、根、分数、矩阵、表格等,以及许多字形功能,包括自定义字体、大小、颜色、样式、对齐、自动换行、字距调整、段落间距、行距、精简缩进、正文边距等等。

TEXDraw 不仅仅是显示 LaTeX。还有其他组件,如用于可点击文本部分的 TEXLink 和用于所见即所得运行时编辑器的 TEXInput。最新的 TEXDraw 版本旨在与其他 TeX 软件(如 MathJax 或 TexStudio)兼容,因此如果您以前使用过它们,您可以很快熟悉 TEXDraw 语法。

TEXDraw 适用于移动设备。它不需要任何自定义着色器。当没有任何变化时,它也不会执行任何操作。在性能方面;它很轻巧,并且有自己的内存池系统,每次文本重新生成时都会生成(几乎)零 GC 分配。 TEXDraw 有自己的性能基准测试场景,显示它仅比标准 UI 文本慢 40%。

除了游戏中的强大功能外,它还提供完全自定义和功能齐全的编辑器,包括项目范围的首选项、编辑器亮点、字体管理器、材料管理、基准测试工具、菜单项等等。使用此资产的最佳部分之一是它如何导入新字体,只需插入任何字体或精灵,然后让包完成其余的导入过程。

上面链接的文档中描述了更多功能。如果您遇到问题,请查看手册中的常见故障排除部分。可以使用论坛或电子邮件通知和请求错误和功能请求。如果您购买了此资产,您可以请求 Git Access 以获取此资产的最新版本(正在开发中)。




作者 小海盗 发表于 前天 16:17
您需要登录后才可以回帖 登录 | 立即注册
热门作品推荐
glow
Cartoon Kid, Boy 1.0卡通风格的男孩角色
glow
SurrounDead - Bundle 1.0.1生存后世界末日
glow
Devils - Bonus Files 4 - Music 1.0
glow
Archer Warrior Mecanim Animation Pack 2.
glow
NodeCanvas 3.2.8 AI行为逻辑编辑工具
glow
Dialogue System for Unity 2.2.32 对话UI
glow
Lowpoly Town Square 1.0卡通室外广场喷泉
glow
Modular Motion 2.0
glow
2-Handed Warrior Mecanim Animation Pack
glow
Butterflies pack 3D 2.00 蝴蝶群体飞舞特