Show / Hide Table of Contents

Class TextMeshPro

Inheritance
object
Object
Component
Behaviour
MonoBehaviour
UIBehaviour
Graphic
MaskableGraphic
TMP_Text
TextMeshPro
TextMeshPro
Implements
ICanvasElement
IClippable
IMaskable
IMaterialModifier
ILayoutElement
Inherited Members
TextMeshPro.m_subTextObjects
TextMeshPro.sortingLayerID
TextMeshPro.sortingOrder
TextMeshPro.autoSizeTextContainer
TextMeshPro.textContainer
TextMeshPro.transform
TextMeshPro.renderer
TextMeshPro.mesh
TextMeshPro.meshFilter
TextMeshPro.maskType
TextMeshPro.OnEnable()
TextMeshPro.OnDisable()
TextMeshPro.OnDestroy()
TextMeshPro.LoadFontAsset()
TextMeshPro.GetMaterial(Material)
TextMeshPro.GetMaterials(Material[])
TextMeshPro.SetSharedMaterial(Material)
TextMeshPro.GetSharedMaterials()
TextMeshPro.SetSharedMaterials(Material[])
TextMeshPro.SetOutlineThickness(float)
TextMeshPro.SetFaceColor(Color32)
TextMeshPro.SetOutlineColor(Color32)
TextMeshPro.SetShaderDepth()
TextMeshPro.SetCulling()
TextMeshPro.GetPaddingForMaterial(Material)
TextMeshPro.GetPaddingForMaterial()
TextMeshPro.SetArraySizes(int[])
TextMeshPro.ComputeMarginSize()
TextMeshPro.OnDidApplyAnimationProperties()
TextMeshPro.OnTransformParentChanged()
TextMeshPro.OnRectTransformDimensionsChange()
TextMeshPro.GenerateTextMesh()
TextMeshPro.GetTextContainerLocalCorners()
TextMeshPro.SetActiveSubMeshes(bool)
TextMeshPro.ClearSubMeshObjects()
TextMeshPro.GetCompoundBounds()
TextMeshPro.AdjustLineOffset(int, int, float)
TextMeshPro.SetMask(MaskingTypes, Vector4)
TextMeshPro.SetMask(MaskingTypes, Vector4, float, float)
TextMeshPro.SetVerticesDirty()
TextMeshPro.SetLayoutDirty()
TextMeshPro.SetMaterialDirty()
TextMeshPro.SetAllDirty()
TextMeshPro.Rebuild(CanvasUpdate)
TextMeshPro.UpdateMaterial()
TextMeshPro.UpdateMeshPadding()
TextMeshPro.ForceMeshUpdate()
TextMeshPro.ForceMeshUpdate(bool)
TextMeshPro.GetTextInfo(string)
TextMeshPro.ClearMesh(bool)
TextMeshPro.UpdateGeometry(Mesh, int)
TextMeshPro.UpdateVertexData(TMP_VertexDataUpdateFlags)
TextMeshPro.UpdateVertexData()
TextMeshPro.UpdateFontAsset()
TextMeshPro.CalculateLayoutInputHorizontal()
TextMeshPro.CalculateLayoutInputVertical()
TMP_Text.m_text
TMP_Text.m_isRightToLeft
TMP_Text.m_fontAsset
TMP_Text.m_currentFontAsset
TMP_Text.m_isSDFShader
TMP_Text.m_sharedMaterial
TMP_Text.m_currentMaterial
TMP_Text.m_materialReferences
TMP_Text.m_materialReferenceIndexLookup
TMP_Text.m_materialReferenceStack
TMP_Text.m_currentMaterialIndex
TMP_Text.m_fontSharedMaterials
TMP_Text.m_fontMaterial
TMP_Text.m_fontMaterials
TMP_Text.m_isMaterialDirty
TMP_Text.m_fontColor32
TMP_Text.m_fontColor
TMP_Text.s_colorWhite
TMP_Text.m_underlineColor
TMP_Text.m_strikethroughColor
TMP_Text.m_highlightColor
TMP_Text.m_enableVertexGradient
TMP_Text.m_fontColorGradient
TMP_Text.m_fontColorGradientPreset
TMP_Text.m_spriteAsset
TMP_Text.m_tintAllSprites
TMP_Text.m_tintSprite
TMP_Text.m_spriteColor
TMP_Text.m_overrideHtmlColors
TMP_Text.m_faceColor
TMP_Text.m_outlineColor
TMP_Text.m_outlineWidth
TMP_Text.m_fontSize
TMP_Text.m_currentFontSize
TMP_Text.m_fontSizeBase
TMP_Text.m_sizeStack
TMP_Text.m_fontWeight
TMP_Text.m_fontWeightInternal
TMP_Text.m_fontWeightStack
TMP_Text.m_enableAutoSizing
TMP_Text.m_maxFontSize
TMP_Text.m_minFontSize
TMP_Text.m_fontSizeMin
TMP_Text.m_fontSizeMax
TMP_Text.m_fontStyle
TMP_Text.m_style
TMP_Text.m_fontStyleStack
TMP_Text.m_isUsingBold
TMP_Text.m_textAlignment
TMP_Text.m_lineJustification
TMP_Text.m_lineJustificationStack
TMP_Text.m_textContainerLocalCorners
TMP_Text.m_isAlignmentEnumConverted
TMP_Text.m_characterSpacing
TMP_Text.m_cSpacing
TMP_Text.m_monoSpacing
TMP_Text.m_wordSpacing
TMP_Text.m_lineSpacing
TMP_Text.m_lineSpacingDelta
TMP_Text.m_lineHeight
TMP_Text.m_lineSpacingMax
TMP_Text.m_paragraphSpacing
TMP_Text.m_charWidthMaxAdj
TMP_Text.m_charWidthAdjDelta
TMP_Text.m_enableWordWrapping
TMP_Text.m_isCharacterWrappingEnabled
TMP_Text.m_isNonBreakingSpace
TMP_Text.m_isIgnoringAlignment
TMP_Text.m_wordWrappingRatios
TMP_Text.m_overflowMode
TMP_Text.m_firstOverflowCharacterIndex
TMP_Text.m_linkedTextComponent
TMP_Text.m_isLinkedTextComponent
TMP_Text.m_isTextTruncated
TMP_Text.m_enableKerning
TMP_Text.m_enableExtraPadding
TMP_Text.checkPaddingRequired
TMP_Text.m_isRichText
TMP_Text.m_parseCtrlCharacters
TMP_Text.m_isOverlay
TMP_Text.m_isOrthographic
TMP_Text.m_isCullingEnabled
TMP_Text.m_ignoreRectMaskCulling
TMP_Text.m_ignoreCulling
TMP_Text.m_horizontalMapping
TMP_Text.m_verticalMapping
TMP_Text.m_uvLineOffset
TMP_Text.m_renderMode
TMP_Text.m_geometrySortingOrder
TMP_Text.m_firstVisibleCharacter
TMP_Text.m_maxVisibleCharacters
TMP_Text.m_maxVisibleWords
TMP_Text.m_maxVisibleLines
TMP_Text.m_useMaxVisibleDescender
TMP_Text.m_pageToDisplay
TMP_Text.m_isNewPage
TMP_Text.m_margin
TMP_Text.m_marginLeft
TMP_Text.m_marginRight
TMP_Text.m_marginWidth
TMP_Text.m_marginHeight
TMP_Text.m_width
TMP_Text.m_textInfo
TMP_Text.m_havePropertiesChanged
TMP_Text.m_isUsingLegacyAnimationComponent
TMP_Text.m_transform
TMP_Text.m_rectTransform
TMP_Text.m_autoSizeTextContainer
TMP_Text.m_mesh
TMP_Text.m_isVolumetricText
TMP_Text.m_spriteAnimator
TMP_Text.m_flexibleHeight
TMP_Text.m_flexibleWidth
TMP_Text.m_minWidth
TMP_Text.m_minHeight
TMP_Text.m_maxWidth
TMP_Text.m_maxHeight
TMP_Text.m_LayoutElement
TMP_Text.m_preferredWidth
TMP_Text.m_renderedWidth
TMP_Text.m_isPreferredWidthDirty
TMP_Text.m_preferredHeight
TMP_Text.m_renderedHeight
TMP_Text.m_isPreferredHeightDirty
TMP_Text.m_isCalculatingPreferredValues
TMP_Text.m_layoutPriority
TMP_Text.m_isCalculateSizeRequired
TMP_Text.m_isLayoutDirty
TMP_Text.m_verticesAlreadyDirty
TMP_Text.m_layoutAlreadyDirty
TMP_Text.m_isAwake
TMP_Text.m_isInputParsingRequired
TMP_Text.m_inputSource
TMP_Text.old_text
TMP_Text.old_arg0
TMP_Text.old_arg1
TMP_Text.old_arg2
TMP_Text.m_fontScale
TMP_Text.m_fontScaleMultiplier
TMP_Text.m_htmlTag
TMP_Text.m_xmlAttribute
TMP_Text.m_attributeParameterValues
TMP_Text.tag_LineIndent
TMP_Text.tag_Indent
TMP_Text.m_indentStack
TMP_Text.tag_NoParsing
TMP_Text.m_isParsingText
TMP_Text.m_FXMatrix
TMP_Text.m_isFXMatrixSet
TMP_Text.m_char_buffer
TMP_Text.m_input_CharArray
TMP_Text.m_totalCharacterCount
TMP_Text.m_SavedWordWrapState
TMP_Text.m_SavedLineState
TMP_Text.m_characterCount
TMP_Text.m_firstCharacterOfLine
TMP_Text.m_firstVisibleCharacterOfLine
TMP_Text.m_lastCharacterOfLine
TMP_Text.m_lastVisibleCharacterOfLine
TMP_Text.m_lineNumber
TMP_Text.m_lineVisibleCharacterCount
TMP_Text.m_pageNumber
TMP_Text.m_maxAscender
TMP_Text.m_maxCapHeight
TMP_Text.m_maxDescender
TMP_Text.m_maxLineAscender
TMP_Text.m_maxLineDescender
TMP_Text.m_startOfLineAscender
TMP_Text.m_lineOffset
TMP_Text.m_meshExtents
TMP_Text.m_htmlColor
TMP_Text.m_colorStack
TMP_Text.m_underlineColorStack
TMP_Text.m_strikethroughColorStack
TMP_Text.m_highlightColorStack
TMP_Text.m_tabSpacing
TMP_Text.m_spacing
TMP_Text.m_styleStack
TMP_Text.m_actionStack
TMP_Text.m_padding
TMP_Text.m_baselineOffset
TMP_Text.m_xAdvance
TMP_Text.m_textElementType
TMP_Text.m_cached_TextElement
TMP_Text.m_cached_Underline_GlyphInfo
TMP_Text.m_cached_Ellipsis_GlyphInfo
TMP_Text.m_defaultSpriteAsset
TMP_Text.m_currentSpriteAsset
TMP_Text.m_spriteCount
TMP_Text.m_spriteIndex
TMP_Text.m_inlineGraphics
TMP_Text.m_spriteAnimationID
TMP_Text.m_ignoreActiveState
TMP_Text.k_LargePositiveVector2
TMP_Text.k_LargeNegativeVector2
TMP_Text.k_LargePositiveFloat
TMP_Text.k_LargeNegativeFloat
TMP_Text.k_LargePositiveInt
TMP_Text.k_LargeNegativeInt
TMP_Text.text
TMP_Text.isRightToLeftText
TMP_Text.font
TMP_Text.fontSharedMaterial
TMP_Text.fontSharedMaterials
TMP_Text.fontMaterial
TMP_Text.fontMaterials
TMP_Text.color
TMP_Text.alpha
TMP_Text.enableVertexGradient
TMP_Text.colorGradient
TMP_Text.colorGradientPreset
TMP_Text.spriteAsset
TMP_Text.tintAllSprites
TMP_Text.overrideColorTags
TMP_Text.faceColor
TMP_Text.outlineColor
TMP_Text.outlineWidth
TMP_Text.fontSize
TMP_Text.fontScale
TMP_Text.fontWeight
TMP_Text.pixelsPerUnit
TMP_Text.enableAutoSizing
TMP_Text.fontSizeMin
TMP_Text.fontSizeMax
TMP_Text.fontStyle
TMP_Text.isUsingBold
TMP_Text.alignment
TMP_Text.characterSpacing
TMP_Text.wordSpacing
TMP_Text.lineSpacing
TMP_Text.lineSpacingAdjustment
TMP_Text.paragraphSpacing
TMP_Text.characterWidthAdjustment
TMP_Text.enableWordWrapping
TMP_Text.wordWrappingRatios
TMP_Text.overflowMode
TMP_Text.isTextOverflowing
TMP_Text.firstOverflowCharacterIndex
TMP_Text.linkedTextComponent
TMP_Text.isLinkedTextComponent
TMP_Text.isTextTruncated
TMP_Text.enableKerning
TMP_Text.extraPadding
TMP_Text.richText
TMP_Text.parseCtrlCharacters
TMP_Text.isOverlay
TMP_Text.isOrthographic
TMP_Text.enableCulling
TMP_Text.ignoreRectMaskCulling
TMP_Text.ignoreVisibility
TMP_Text.horizontalMapping
TMP_Text.verticalMapping
TMP_Text.mappingUvLineOffset
TMP_Text.renderMode
TMP_Text.geometrySortingOrder
TMP_Text.firstVisibleCharacter
TMP_Text.maxVisibleCharacters
TMP_Text.maxVisibleWords
TMP_Text.maxVisibleLines
TMP_Text.useMaxVisibleDescender
TMP_Text.pageToDisplay
TMP_Text.margin
TMP_Text.textInfo
TMP_Text.havePropertiesChanged
TMP_Text.isUsingLegacyAnimationComponent
TMP_Text.rectTransform
TMP_Text.isVolumetricText
TMP_Text.bounds
TMP_Text.textBounds
TMP_Text.spriteAnimator
TMP_Text.flexibleHeight
TMP_Text.flexibleWidth
TMP_Text.minWidth
TMP_Text.minHeight
TMP_Text.maxWidth
TMP_Text.maxHeight
TMP_Text.layoutElement
TMP_Text.preferredWidth
TMP_Text.preferredHeight
TMP_Text.renderedWidth
TMP_Text.renderedHeight
TMP_Text.layoutPriority
TMP_Text.SetFontBaseMaterial(Material)
TMP_Text.CreateMaterialInstance(Material)
TMP_Text.SetVertexColorGradient(TMP_ColorGradient)
TMP_Text.SetTextSortingOrder(VertexSortingOrder)
TMP_Text.SetTextSortingOrder(int[])
TMP_Text.SetVertices(Vector3[])
TMP_Text.CrossFadeColor(Color, float, bool, bool)
TMP_Text.CrossFadeAlpha(float, float, bool)
TMP_Text.InternalCrossFadeColor(Color, float, bool, bool)
TMP_Text.InternalCrossFadeAlpha(float, float, bool)
TMP_Text.ParseInputText()
TMP_Text.SetText(string)
TMP_Text.SetText(string, bool)
TMP_Text.SetText(string, float)
TMP_Text.SetText(string, float, float)
TMP_Text.SetText(string, float, float, float)
TMP_Text.SetText(StringBuilder)
TMP_Text.SetCharArray(char[])
TMP_Text.SetCharArray(int[], int, int)
TMP_Text.SetTextArrayToCharArray(char[], ref int[])
TMP_Text.StringToCharArray(string, ref int[])
TMP_Text.StringBuilderToIntArray(StringBuilder, ref int[])
TMP_Text.AddFloatToCharArray(float, ref int, int)
TMP_Text.AddIntToCharArray(int, ref int, int)
TMP_Text.GetPreferredValues()
TMP_Text.GetPreferredValues(float, float)
TMP_Text.GetPreferredValues(string)
TMP_Text.GetPreferredValues(string, float, float)
TMP_Text.GetPreferredWidth()
TMP_Text.GetPreferredWidth(Vector2)
TMP_Text.GetPreferredHeight()
TMP_Text.GetPreferredHeight(Vector2)
TMP_Text.GetRenderedValues()
TMP_Text.GetRenderedValues(bool)
TMP_Text.GetRenderedWidth()
TMP_Text.GetRenderedWidth(bool)
TMP_Text.GetRenderedHeight()
TMP_Text.GetRenderedHeight(bool)
TMP_Text.CalculatePreferredValues(float, Vector2, bool)
TMP_Text.GetTextBounds()
TMP_Text.GetTextBounds(bool)
TMP_Text.ResizeLineExtents(int)
TMP_Text.SaveWordWrappingState(ref WordWrapState, int, int)
TMP_Text.RestoreWordWrappingState(ref WordWrapState)
TMP_Text.SaveGlyphVertexInfo(float, float, Color32)
TMP_Text.SaveSpriteVertexInfo(Color32)
TMP_Text.FillCharacterVertexBuffers(int, int)
TMP_Text.FillCharacterVertexBuffers(int, int, bool)
TMP_Text.FillSpriteVertexBuffers(int, int)
TMP_Text.DrawUnderlineMesh(Vector3, Vector3, ref int, float, float, float, float, Color32)
TMP_Text.DrawTextHighlight(Vector3, Vector3, ref int, Color32)
TMP_Text.LoadDefaultSettings()
TMP_Text.GetSpecialCharacters(TMP_FontAsset)
TMP_Text.ReplaceTagWithCharacter(int[], int, int, char)
TMP_Text.GetFontAssetForWeight(int)
TMP_Text.ClearMesh()
TMP_Text.GetParsedText()
TMP_Text.PackUV(float, float, float)
TMP_Text.PackUV(float, float)
TMP_Text.HexToInt(char)
TMP_Text.GetUTF16(int)
TMP_Text.GetUTF32(int)
TMP_Text.HexCharsToColor(char[], int)
TMP_Text.HexCharsToColor(char[], int, int)
TMP_Text.ConvertToFloat(char[], int, int)
TMP_Text.ConvertToFloat(char[], int, int, out int)
TMP_Text.ValidateHtmlTag(int[], int, out int)
MaskableGraphic.m_ShouldRecalculateStencil
MaskableGraphic.m_MaskMaterial
MaskableGraphic.m_StencilValue
MaskableGraphic.GetModifiedMaterial(Material)
MaskableGraphic.Cull(Rect, bool)
MaskableGraphic.SetClipRect(Rect, bool)
MaskableGraphic.SetClipSoftness(Vector2)
MaskableGraphic.OnValidate()
MaskableGraphic.OnCanvasHierarchyChanged()
MaskableGraphic.RecalculateClipping()
MaskableGraphic.RecalculateMasking()
MaskableGraphic.onCullStateChanged
MaskableGraphic.maskable
MaskableGraphic.isMaskingGraphic
Graphic.s_DefaultUI
Graphic.s_WhiteTexture
Graphic.m_Material
Graphic.m_SkipLayoutUpdate
Graphic.m_SkipMaterialUpdate
Graphic.m_OnDirtyLayoutCallback
Graphic.m_OnDirtyVertsCallback
Graphic.m_OnDirtyMaterialCallback
Graphic.s_Mesh
Graphic.m_CachedMesh
Graphic.m_CachedUvs
Graphic.OnBeforeTransformParentChanged()
Graphic.OnCullingChanged()
Graphic.LayoutComplete()
Graphic.GraphicUpdateComplete()
Graphic.UpdateGeometry()
Graphic.OnPopulateMesh(Mesh)
Graphic.OnPopulateMesh(VertexHelper)
Graphic.OnRebuildRequested()
Graphic.Reset()
Graphic.SetNativeSize()
Graphic.Raycast(Vector2, Camera)
Graphic.PixelAdjustPoint(Vector2)
Graphic.GetPixelAdjustedRect()
Graphic.CrossFadeColor(Color, float, bool, bool, bool)
Graphic.RegisterDirtyLayoutCallback(UnityAction)
Graphic.UnregisterDirtyLayoutCallback(UnityAction)
Graphic.RegisterDirtyVerticesCallback(UnityAction)
Graphic.UnregisterDirtyVerticesCallback(UnityAction)
Graphic.RegisterDirtyMaterialCallback(UnityAction)
Graphic.UnregisterDirtyMaterialCallback(UnityAction)
Graphic.defaultGraphicMaterial
Graphic.raycastTarget
Graphic.raycastPadding
Graphic.useLegacyMeshGeneration
Graphic.depth
Graphic.canvas
Graphic.canvasRenderer
Graphic.defaultMaterial
Graphic.material
Graphic.materialForRendering
Graphic.mainTexture
Graphic.workerMesh
UIBehaviour.Start()
UIBehaviour.IsActive()
UIBehaviour.OnCanvasGroupChanged()
UIBehaviour.IsDestroyed()
Namespace: WeaverCore.Assets.TMPro
Assembly: WeaverCore.dll
Syntax
[ExecuteInEditMode]
[DisallowMultipleComponent]
[RequireComponent(typeof(MeshRenderer))]
[RequireComponent(typeof(MeshFilter))]
[AddComponentMenu("Mesh/TextMeshPro - Text")]
public class TextMeshPro : TextMeshPro, ICanvasElement, IClippable, IMaskable, IMaterialModifier, ILayoutElement

Methods

| Edit this page View Source

Awake()

Declaration
protected override void Awake()
Overrides
TextMeshPro.Awake()

Implements

UnityEngine.UI.ICanvasElement
UnityEngine.UI.IClippable
UnityEngine.UI.IMaskable
UnityEngine.UI.IMaterialModifier
UnityEngine.UI.ILayoutElement

Extension Methods

ReflectionUtilities.ReflectCallMethod(object, string, object[], BindingFlags)
ReflectionUtilities.ReflectGetField(object, string, BindingFlags)
ReflectionUtilities.ReflectGetMethod(object, string, BindingFlags)
ReflectionUtilities.ReflectGetProperty(object, string, BindingFlags)
ReflectionUtilities.ReflectSetField(object, string, object, BindingFlags)
ReflectionUtilities.ReflectSetProperty(object, string, object, BindingFlags)
CoroutineUtilities.RunCoroutineWhile<T>(T, IEnumerator, Func<bool>)
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾