Text Mesh Pro 富文本总结

粗体 <b>Bold</b>
倾斜<i>Italics</i>
字体大小<size=48>Point size 48</size>
字体大小(百分比)<size=80%>Point size </size>Point size
字体大小(微调)<size=+40>Point size increased by 18</size>
<size=-40>Point size increased by 18</size>
下划线<u>UnderLine</u>
上标 2<sup>n</sup>即2n
下标<sub>1</sub>
对齐<align=center></align>left和right分别为居左和居右,justified为自适应填满整个显示区域,除了最后一行 ,flush为填满整个显示区域,包括最后一行
全部大写<allcaps>all Caps</allcaps>
<uppercase>uppercase</uppercase>
全部小写<lowercase>LOWERCASE</lowercase>
字符间距<cspace=1em>Spacing</cspace>
缩进<indent=50%>indent</indent>
行高<line-height=50%>Hello world</line-height>
行缩进<line-indent=15%></line-indent>
边距<margin=0.5em>设置边距<margin-right=0.5em>marhin可以增加-right或-left来指定左边距还是右边距
标识<mark=#ffff00aa>Mark</mark>
行等宽字体<mspace=1em>Any font can become monospace</font>
不换行<nobr>can't be sent</nobr>
水平位置<pos 50%>hello
水平间距Give me some <space=1em>space
旋转<rotate="-10">Hello
删除线<s>Strikethrough</s>
下划线<u>Underline</u>
颜色<color=yellow>Color</color>
<color=#FF0000>Color</color>
颜色渐变<gradient="BlueToRed">any</gradient>
动态表情 <sprite=1 anim="1,10,20">


设置透明度<alpha=#82>This a Center Position Tex
不解析<noparse><b></noparse>
分页符<page>需要将Overflow设置成page

猜你喜欢

转载自blog.csdn.net/qq_40833062/article/details/129276352