脚本/功能 【更新】TEXDraw 6.0.4数学表达式

Unity插件信息
插件名称: TEXDraw
插件官网: https://assetstore.unity.com/packages/tools/gui/texdraw-51426
版本: 6.0.4
解压密码:
素材类型: 脚本/功能
本帖最后由 微笑的猫 于 2023-12-20 14:24 编辑


TEXDraw 系列索引

TEXDraw 4.4  下载链接
TEXDraw 5.4.0  下载链接
TEXDraw 5.5.0  下载链接
TEXDraw 5.6.0  下载链接
TEXDraw 6.2.0  下载链接
TEXDraw 6.3.0  下载链接

















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种字体+1个打包的精灵,所有这些都累积成+900个数学符号,可用于任何类型的项目,从希腊字母到几何符号。这些字体和符号包是轻量级的,但也是可选的,如果有必要,可以在以后的构建中删除。

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

TEXDraw的语法功能很丰富。通过自定义的LaTeX解释器,它可以绘制各种数学脚本、积分、根、分数、矩阵、表格等,另外还有许多字形功能,包括自定义字体、大小、颜色、样式、对齐方式、换词、字符间距、段落间距、行间距、精缩、正文边距等。

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

TEXDraw是移动友好的。它不需要任何自定义着色器。当没有任何改变时,它也不会做任何事情。在性能方面;它很轻,有自己的内存池系统,在每次文本再生时产生(几乎)零GC分配。TEXDraw有自己的性能基准场景,显示它只比标准的UI Text慢40%。

除了在游戏中的强大功能外,它还提供了一个完全定制的功能性编辑器,从整个项目的偏好、编辑器的亮点、字体管理器、材料管理、基准工具、菜单项等等。使用这个资产的最好的部分之一是它如何导入一个新的字体,只需插入任何字体或精灵,然后让包做其余的导入过程。

更多的功能在上面链接的文档中有所描述。如果你遇到了问题,可以看看手册中的常见故障排除部分。错误和功能要求可以通过论坛或电子邮件告知和请求。如果你已经购买了这个资产,你可以申请Git Access,以获得这个资产的出血(开发中)版本。






作者 cg小白兔 发表于 2023-4-17 15:04:22
您需要登录后才可以回帖 登录 | 立即注册
cg小白兔

关注0

粉丝0

发布4014

热门作品推荐
glow
Hidden Object Game Template 1.36 找你妹
glow
【更新】UGUI Super ScrollView 2.5.4
glow
【更新】Ultimate Character Controller 3.
glow
免费模型仙侠风古代场景有山有树有花有古代
glow
长生原主角模型合集 仙侠类写实人物武器模
glow
FXVille Blood Impact FX Pack 1.5 血液效
glow
SUNTAIL - Stylized Fantasy Village 1.1.3
glow
SUNTAIL - Stylized Fantasy Village 1.0
glow
【更新】Master Audio 2022 AAA Sound 1.0.
glow
【更新】Curvy Splines 8 8.9.0