TMP_StyleAssetMenu TMP_StyleEditor TMP_SubMesh_Editor TMP_SubMeshUI_Editor TMP_TextAlignmentDrawer TMP_UIStyleManager TMP_VerticalAlignmentDrawer TMPro_CreateObjectMenu TMPro_FontAssetCreatorWindow TMPro_TextContainerEditor TMPro....
public class TextMeshPro : TMP_Text, ILayoutElement Properties autoSizeTextContainerDetermines if the size of the text container will be adjusted to fit the text object when it is first created.Declarationpublic override bool autoSizeTextContainer { get; set; } ...
◆ function GetPixels(x: int, y: int, blockWidth: int, blockHeight: int, miplevel: int): Color[] 描述:获取一块像素颜色。 这个函数是上面GetPixels函数的扩展;它不会返回整个mip等级而只是返回开始于x,y 点blockWidth乘blockHeight的区域。该块必须适合使用的mip等级。返回的数组是 blockWidth*blockHeigh...
TextMeshPro 3.2.0-pre.11 Home Creating text Font Assets Rich Text Tags Supported Tags <align> <allcaps> <alpha> <color> <cspace> <gradient> <indent> <line-height> <line-indent> <lowercase> <margin> <mspace> <nobr> <noparse> <page> <pos> <rotate> <size> <smallcaps>...
The difference between the two is that the Distance Field Overlay variant always renders the TextMesh Pro object on top of everything else in the Scene, while the Distance Field variant renders the Scene normally—objects in front of the TextMesh Pro object are rendered on top of the text....
Parameters TypeNameDescription SerializedPropertyproperty GUIContentlabel Returns TypeDescription Single Overrides PropertyDrawer.GetPropertyHeight(SerializedProperty, GUIContent) OnGUI(Rect, SerializedProperty, GUIContent) Declaration publicoverridevoidOnGUI(Rect position, SerializedProperty property, GUIContent labe...
The Face properties control the overall appearance of the text. Property:Description Color Adjust the face color of the text.The value you set here is multiplied with the vertex Colors you set in the TextMeshPro component.Set this to white to use the original vertex colors.Set this to b...
TextMeshPro 4.0.0-pre.2 Home Creating text Font Assets Rich Text Tags Supported Tags <align> <allcaps> <alpha> <color> <cspace> <gradient> <indent> <line-height> <line-indent> <lowercase> <margin> <mspace> <nobr> <noparse> <page> <pos> <rotate> <size> <smallcaps> <s...
Scripting API TMPro TextMeshProClass TextMeshPro Inheritance Object TMP_Text TextMeshProInherited Members TMP_Text.text TMP_Text.m_text TMP_Text.isRightToLeftText TMP_Text.m_isRightToLeft TMP_Text.font TMP_Text.m_fontAsset TMP_Text.m_currentFontAsset TMP_Text.m_isSDFShader ...
TMP_SubMesh TMP_SubMeshUI TMP_Text TMP_Text.CharacterSubstitution TMP_Text.SpecialCharacter TMP_TextElement TMP_TextElement_Legacy TMP_TextElementType TMP_TextInfo TMP_TextParsingUtilities TMP_TextProcessingStack<T> TMP_TextUtilities TMP...