Class TMP_Text
Inheritance
Object
Component
Behaviour
MonoBehaviour
UIBehaviour
Graphic
MaskableGraphic
TMP_Text
Implements
ICanvasElement
IClippable
IMaskable
IMaterialModifier
Inherited Members
MaskableGraphic.m_ShouldRecalculateStencil
MaskableGraphic.m_MaskMaterial
MaskableGraphic.m_StencilValue
MaskableGraphic.GetModifiedMaterial(Material)
MaskableGraphic.SetClipSoftness(Vector2)
MaskableGraphic.OnEnable()
MaskableGraphic.OnDisable()
MaskableGraphic.OnValidate()
MaskableGraphic.OnTransformParentChanged()
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.SetAllDirty()
Graphic.SetLayoutDirty()
Graphic.SetVerticesDirty()
Graphic.SetMaterialDirty()
Graphic.OnRectTransformDimensionsChange()
Graphic.OnBeforeTransformParentChanged()
Graphic.OnDestroy()
Graphic.OnCullingChanged()
Graphic.Rebuild(CanvasUpdate)
Graphic.LayoutComplete()
Graphic.GraphicUpdateComplete()
Graphic.UpdateMaterial()
Graphic.UpdateGeometry()
Graphic.OnPopulateMesh(Mesh)
Graphic.OnPopulateMesh(VertexHelper)
Graphic.OnRebuildRequested()
Graphic.Reset()
Graphic.OnDidApplyAnimationProperties()
Graphic.SetNativeSize()
Graphic.Raycast(Vector2, Camera)
Graphic.PixelAdjustPoint(Vector2)
Graphic.GetPixelAdjustedRect()
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.Awake()
UIBehaviour.Start()
UIBehaviour.IsActive()
UIBehaviour.OnCanvasGroupChanged()
UIBehaviour.IsDestroyed()
Namespace: TMPro
Assembly: HollowKnight.dll
Syntax
public class TMP_Text : MaskableGraphic, ICanvasElement, IClippable, IMaskable, IMaterialModifier
Constructors
|
Edit this page
View Source
TMP_Text()
Declaration
Fields
|
Edit this page
View Source
checkPaddingRequired
Declaration
[SerializeField]
protected bool checkPaddingRequired
Field Value
|
Edit this page
View Source
k_LargeNegativeFloat
Declaration
protected static float k_LargeNegativeFloat
Field Value
|
Edit this page
View Source
k_LargeNegativeInt
Declaration
protected static int k_LargeNegativeInt
Field Value
|
Edit this page
View Source
k_LargeNegativeVector2
Declaration
protected static Vector2 k_LargeNegativeVector2
Field Value
|
Edit this page
View Source
k_LargePositiveFloat
Declaration
protected static float k_LargePositiveFloat
Field Value
|
Edit this page
View Source
k_LargePositiveInt
Declaration
protected static int k_LargePositiveInt
Field Value
|
Edit this page
View Source
k_LargePositiveVector2
Declaration
protected static Vector2 k_LargePositiveVector2
Field Value
|
Edit this page
View Source
m_FXMatrix
Declaration
protected Matrix4x4 m_FXMatrix
Field Value
Type |
Description |
Matrix4x4 |
|
|
Edit this page
View Source
m_LayoutElement
Declaration
protected LayoutElement m_LayoutElement
Field Value
Type |
Description |
LayoutElement |
|
|
Edit this page
View Source
m_SavedLineState
Declaration
protected WordWrapState m_SavedLineState
Field Value
|
Edit this page
View Source
m_SavedWordWrapState
Declaration
protected WordWrapState m_SavedWordWrapState
Field Value
|
Edit this page
View Source
m_actionStack
Declaration
protected TMP_XmlTagStack<int> m_actionStack
Field Value
|
Edit this page
View Source
m_attributeParameterValues
Declaration
protected float[] m_attributeParameterValues
Field Value
|
Edit this page
View Source
m_autoSizeTextContainer
Declaration
protected bool m_autoSizeTextContainer
Field Value
|
Edit this page
View Source
m_baselineOffset
Declaration
protected float m_baselineOffset
Field Value
|
Edit this page
View Source
m_cSpacing
Declaration
protected float m_cSpacing
Field Value
|
Edit this page
View Source
m_cached_Ellipsis_GlyphInfo
Declaration
protected TMP_Glyph m_cached_Ellipsis_GlyphInfo
Field Value
|
Edit this page
View Source
m_cached_TextElement
Declaration
protected TMP_TextElement m_cached_TextElement
Field Value
|
Edit this page
View Source
m_cached_Underline_GlyphInfo
Declaration
protected TMP_Glyph m_cached_Underline_GlyphInfo
Field Value
|
Edit this page
View Source
m_charWidthAdjDelta
Declaration
protected float m_charWidthAdjDelta
Field Value
|
Edit this page
View Source
m_charWidthMaxAdj
Declaration
[SerializeField]
protected float m_charWidthMaxAdj
Field Value
|
Edit this page
View Source
m_char_buffer
Declaration
protected int[] m_char_buffer
Field Value
|
Edit this page
View Source
m_characterCount
Declaration
protected int m_characterCount
Field Value
|
Edit this page
View Source
m_characterSpacing
Declaration
[SerializeField]
protected float m_characterSpacing
Field Value
|
Edit this page
View Source
m_colorStack
Declaration
protected TMP_XmlTagStack<Color32> m_colorStack
Field Value
|
Edit this page
View Source
m_currentFontAsset
Declaration
protected TMP_FontAsset m_currentFontAsset
Field Value
|
Edit this page
View Source
m_currentFontSize
Declaration
protected float m_currentFontSize
Field Value
|
Edit this page
View Source
m_currentMaterial
Declaration
protected Material m_currentMaterial
Field Value
Type |
Description |
Material |
|
|
Edit this page
View Source
m_currentMaterialIndex
Declaration
protected int m_currentMaterialIndex
Field Value
|
Edit this page
View Source
m_currentSpriteAsset
Declaration
protected TMP_SpriteAsset m_currentSpriteAsset
Field Value
|
Edit this page
View Source
m_defaultSpriteAsset
Declaration
protected TMP_SpriteAsset m_defaultSpriteAsset
Field Value
|
Edit this page
View Source
m_enableAutoSizing
Declaration
[SerializeField]
protected bool m_enableAutoSizing
Field Value
|
Edit this page
View Source
Declaration
[SerializeField]
protected bool m_enableExtraPadding
Field Value
|
Edit this page
View Source
m_enableKerning
Declaration
[SerializeField]
protected bool m_enableKerning
Field Value
|
Edit this page
View Source
m_enableVertexGradient
Declaration
[SerializeField]
protected bool m_enableVertexGradient
Field Value
|
Edit this page
View Source
m_enableWordWrapping
Declaration
[SerializeField]
protected bool m_enableWordWrapping
Field Value
|
Edit this page
View Source
m_faceColor
Declaration
[SerializeField]
protected Color32 m_faceColor
Field Value
|
Edit this page
View Source
m_firstCharacterOfLine
Declaration
protected int m_firstCharacterOfLine
Field Value
|
Edit this page
View Source
m_firstOverflowCharacterIndex
Declaration
[SerializeField]
protected int m_firstOverflowCharacterIndex
Field Value
|
Edit this page
View Source
m_firstVisibleCharacter
Declaration
[SerializeField]
protected int m_firstVisibleCharacter
Field Value
|
Edit this page
View Source
m_firstVisibleCharacterOfLine
Declaration
protected int m_firstVisibleCharacterOfLine
Field Value
|
Edit this page
View Source
m_flexibleHeight
Declaration
protected float m_flexibleHeight
Field Value
|
Edit this page
View Source
m_flexibleWidth
Declaration
protected float m_flexibleWidth
Field Value
|
Edit this page
View Source
m_fontAsset
Declaration
[SerializeField]
protected TMP_FontAsset m_fontAsset
Field Value
|
Edit this page
View Source
m_fontColor
Declaration
[SerializeField]
protected Color m_fontColor
Field Value
|
Edit this page
View Source
m_fontColor32
Declaration
[SerializeField]
protected Color32 m_fontColor32
Field Value
|
Edit this page
View Source
m_fontColorGradient
Declaration
[SerializeField]
protected VertexGradient m_fontColorGradient
Field Value
|
Edit this page
View Source
m_fontColorGradientPreset
Declaration
[SerializeField]
protected TMP_ColorGradient m_fontColorGradientPreset
Field Value
|
Edit this page
View Source
m_fontMaterial
Declaration
[SerializeField]
protected Material m_fontMaterial
Field Value
Type |
Description |
Material |
|
|
Edit this page
View Source
m_fontMaterials
Declaration
[SerializeField]
protected Material[] m_fontMaterials
Field Value
Type |
Description |
Material[] |
|
|
Edit this page
View Source
m_fontScale
Declaration
protected float m_fontScale
Field Value
|
Edit this page
View Source
m_fontScaleMultiplier
Declaration
protected float m_fontScaleMultiplier
Field Value
|
Edit this page
View Source
m_fontSharedMaterials
Declaration
[SerializeField]
protected Material[] m_fontSharedMaterials
Field Value
Type |
Description |
Material[] |
|
|
Edit this page
View Source
m_fontSize
Declaration
[SerializeField]
protected float m_fontSize
Field Value
|
Edit this page
View Source
m_fontSizeBase
Declaration
[SerializeField]
protected float m_fontSizeBase
Field Value
|
Edit this page
View Source
m_fontSizeMax
Declaration
[SerializeField]
protected float m_fontSizeMax
Field Value
|
Edit this page
View Source
m_fontSizeMin
Declaration
[SerializeField]
protected float m_fontSizeMin
Field Value
|
Edit this page
View Source
m_fontStyle
Declaration
[SerializeField]
protected FontStyles m_fontStyle
Field Value
|
Edit this page
View Source
m_fontStyleStack
Declaration
protected TMP_BasicXmlTagStack m_fontStyleStack
Field Value
|
Edit this page
View Source
m_fontWeight
Declaration
[SerializeField]
protected int m_fontWeight
Field Value
|
Edit this page
View Source
m_fontWeightInternal
Declaration
protected int m_fontWeightInternal
Field Value
|
Edit this page
View Source
m_fontWeightStack
Declaration
protected TMP_XmlTagStack<int> m_fontWeightStack
Field Value
|
Edit this page
View Source
m_geometrySortingOrder
Declaration
[SerializeField]
protected VertexSortingOrder m_geometrySortingOrder
Field Value
|
Edit this page
View Source
m_havePropertiesChanged
Declaration
[SerializeField]
protected bool m_havePropertiesChanged
Field Value
|
Edit this page
View Source
m_highlightColor
Declaration
protected Color32 m_highlightColor
Field Value
|
Edit this page
View Source
m_highlightColorStack
Declaration
protected TMP_XmlTagStack<Color32> m_highlightColorStack
Field Value
|
Edit this page
View Source
m_horizontalMapping
Declaration
[SerializeField]
protected TextureMappingOptions m_horizontalMapping
Field Value
|
Edit this page
View Source
m_htmlColor
Declaration
protected Color32 m_htmlColor
Field Value
|
Edit this page
View Source
m_htmlTag
Declaration
protected char[] m_htmlTag
Field Value
|
Edit this page
View Source
m_ignoreActiveState
Declaration
protected bool m_ignoreActiveState
Field Value
|
Edit this page
View Source
m_ignoreCulling
Declaration
[SerializeField]
protected bool m_ignoreCulling
Field Value
|
Edit this page
View Source
m_ignoreRectMaskCulling
Declaration
[SerializeField]
protected bool m_ignoreRectMaskCulling
Field Value
|
Edit this page
View Source
m_indentStack
Declaration
protected TMP_XmlTagStack<float> m_indentStack
Field Value
|
Edit this page
View Source
m_inlineGraphics
Declaration
protected InlineGraphicManager m_inlineGraphics
Field Value
|
Edit this page
View Source
m_inputSource
Declaration
[SerializeField]
protected TMP_Text.TextInputSources m_inputSource
Field Value
|
Edit this page
View Source
m_input_CharArray
Declaration
protected char[] m_input_CharArray
Field Value
|
Edit this page
View Source
m_isAlignmentEnumConverted
Declaration
[SerializeField]
protected bool m_isAlignmentEnumConverted
Field Value
|
Edit this page
View Source
m_isAwake
Declaration
Field Value
|
Edit this page
View Source
m_isCalculateSizeRequired
Declaration
protected bool m_isCalculateSizeRequired
Field Value
|
Edit this page
View Source
m_isCalculatingPreferredValues
Declaration
protected bool m_isCalculatingPreferredValues
Field Value
|
Edit this page
View Source
m_isCharacterWrappingEnabled
Declaration
protected bool m_isCharacterWrappingEnabled
Field Value
|
Edit this page
View Source
m_isCullingEnabled
Declaration
[SerializeField]
protected bool m_isCullingEnabled
Field Value
|
Edit this page
View Source
m_isFXMatrixSet
Declaration
protected bool m_isFXMatrixSet
Field Value
|
Edit this page
View Source
m_isIgnoringAlignment
Declaration
protected bool m_isIgnoringAlignment
Field Value
|
Edit this page
View Source
m_isInputParsingRequired
Declaration
[SerializeField]
protected bool m_isInputParsingRequired
Field Value
|
Edit this page
View Source
m_isLayoutDirty
Declaration
protected bool m_isLayoutDirty
Field Value
|
Edit this page
View Source
m_isLinkedTextComponent
Declaration
[SerializeField]
protected bool m_isLinkedTextComponent
Field Value
|
Edit this page
View Source
m_isMaterialDirty
Declaration
protected bool m_isMaterialDirty
Field Value
|
Edit this page
View Source
m_isNewPage
Declaration
protected bool m_isNewPage
Field Value
|
Edit this page
View Source
m_isNonBreakingSpace
Declaration
protected bool m_isNonBreakingSpace
Field Value
|
Edit this page
View Source
m_isOrthographic
Declaration
[SerializeField]
protected bool m_isOrthographic
Field Value
|
Edit this page
View Source
m_isOverlay
Declaration
protected bool m_isOverlay
Field Value
|
Edit this page
View Source
m_isParsingText
Declaration
protected bool m_isParsingText
Field Value
|
Edit this page
View Source
m_isPreferredHeightDirty
Declaration
protected bool m_isPreferredHeightDirty
Field Value
|
Edit this page
View Source
m_isPreferredWidthDirty
Declaration
protected bool m_isPreferredWidthDirty
Field Value
|
Edit this page
View Source
m_isRichText
Declaration
[SerializeField]
protected bool m_isRichText
Field Value
|
Edit this page
View Source
m_isRightToLeft
Declaration
[SerializeField]
protected bool m_isRightToLeft
Field Value
|
Edit this page
View Source
m_isSDFShader
Declaration
protected bool m_isSDFShader
Field Value
|
Edit this page
View Source
m_isTextTruncated
Declaration
protected bool m_isTextTruncated
Field Value
|
Edit this page
View Source
m_isUsingBold
Declaration
protected bool m_isUsingBold
Field Value
|
Edit this page
View Source
m_isUsingLegacyAnimationComponent
Declaration
[SerializeField]
protected bool m_isUsingLegacyAnimationComponent
Field Value
|
Edit this page
View Source
m_isVolumetricText
Declaration
[SerializeField]
protected bool m_isVolumetricText
Field Value
|
Edit this page
View Source
m_lastCharacterOfLine
Declaration
protected int m_lastCharacterOfLine
Field Value
|
Edit this page
View Source
m_lastVisibleCharacterOfLine
Declaration
protected int m_lastVisibleCharacterOfLine
Field Value
|
Edit this page
View Source
m_layoutAlreadyDirty
Declaration
protected bool m_layoutAlreadyDirty
Field Value
|
Edit this page
View Source
m_layoutPriority
Declaration
protected int m_layoutPriority
Field Value
|
Edit this page
View Source
m_lineHeight
Declaration
protected float m_lineHeight
Field Value
|
Edit this page
View Source
m_lineJustification
Declaration
protected TextAlignmentOptions m_lineJustification
Field Value
|
Edit this page
View Source
m_lineJustificationStack
Declaration
protected TMP_XmlTagStack<TextAlignmentOptions> m_lineJustificationStack
Field Value
|
Edit this page
View Source
m_lineNumber
Declaration
protected int m_lineNumber
Field Value
|
Edit this page
View Source
m_lineOffset
Declaration
protected float m_lineOffset
Field Value
|
Edit this page
View Source
m_lineSpacing
Declaration
[SerializeField]
protected float m_lineSpacing
Field Value
|
Edit this page
View Source
m_lineSpacingDelta
Declaration
protected float m_lineSpacingDelta
Field Value
|
Edit this page
View Source
m_lineSpacingMax
Declaration
[SerializeField]
protected float m_lineSpacingMax
Field Value
|
Edit this page
View Source
m_lineVisibleCharacterCount
Declaration
protected int m_lineVisibleCharacterCount
Field Value
|
Edit this page
View Source
m_linkedTextComponent
Declaration
[SerializeField]
protected TMP_Text m_linkedTextComponent
Field Value
|
Edit this page
View Source
m_margin
Declaration
[SerializeField]
protected Vector4 m_margin
Field Value
|
Edit this page
View Source
m_marginHeight
Declaration
protected float m_marginHeight
Field Value
|
Edit this page
View Source
m_marginLeft
Declaration
protected float m_marginLeft
Field Value
|
Edit this page
View Source
m_marginRight
Declaration
protected float m_marginRight
Field Value
|
Edit this page
View Source
m_marginWidth
Declaration
protected float m_marginWidth
Field Value
|
Edit this page
View Source
m_materialReferenceIndexLookup
Declaration
protected Dictionary<int, int> m_materialReferenceIndexLookup
Field Value
|
Edit this page
View Source
m_materialReferenceStack
Declaration
protected TMP_XmlTagStack<MaterialReference> m_materialReferenceStack
Field Value
|
Edit this page
View Source
m_materialReferences
Declaration
protected MaterialReference[] m_materialReferences
Field Value
|
Edit this page
View Source
m_maxAscender
Declaration
protected float m_maxAscender
Field Value
|
Edit this page
View Source
m_maxCapHeight
Declaration
protected float m_maxCapHeight
Field Value
|
Edit this page
View Source
m_maxDescender
Declaration
protected float m_maxDescender
Field Value
|
Edit this page
View Source
m_maxFontSize
Declaration
protected float m_maxFontSize
Field Value
|
Edit this page
View Source
m_maxHeight
Declaration
protected float m_maxHeight
Field Value
|
Edit this page
View Source
m_maxLineAscender
Declaration
protected float m_maxLineAscender
Field Value
|
Edit this page
View Source
m_maxLineDescender
Declaration
protected float m_maxLineDescender
Field Value
|
Edit this page
View Source
m_maxVisibleCharacters
Declaration
protected int m_maxVisibleCharacters
Field Value
|
Edit this page
View Source
m_maxVisibleLines
Declaration
protected int m_maxVisibleLines
Field Value
|
Edit this page
View Source
m_maxVisibleWords
Declaration
protected int m_maxVisibleWords
Field Value
|
Edit this page
View Source
m_maxWidth
Declaration
protected float m_maxWidth
Field Value
|
Edit this page
View Source
m_mesh
Declaration
Field Value
|
Edit this page
View Source
m_meshExtents
Declaration
protected Extents m_meshExtents
Field Value
|
Edit this page
View Source
m_minFontSize
Declaration
protected float m_minFontSize
Field Value
|
Edit this page
View Source
m_minHeight
Declaration
protected float m_minHeight
Field Value
|
Edit this page
View Source
m_minWidth
Declaration
protected float m_minWidth
Field Value
|
Edit this page
View Source
m_monoSpacing
Declaration
protected float m_monoSpacing
Field Value
|
Edit this page
View Source
m_outlineColor
Declaration
[SerializeField]
protected Color32 m_outlineColor
Field Value
|
Edit this page
View Source
m_outlineWidth
Declaration
protected float m_outlineWidth
Field Value
|
Edit this page
View Source
m_overflowMode
Declaration
[SerializeField]
protected TextOverflowModes m_overflowMode
Field Value
|
Edit this page
View Source
m_overrideHtmlColors
Declaration
[SerializeField]
protected bool m_overrideHtmlColors
Field Value
|
Edit this page
View Source
m_padding
Declaration
protected float m_padding
Field Value
|
Edit this page
View Source
m_pageNumber
Declaration
protected int m_pageNumber
Field Value
|
Edit this page
View Source
m_pageToDisplay
Declaration
[SerializeField]
protected int m_pageToDisplay
Field Value
|
Edit this page
View Source
m_paragraphSpacing
Declaration
[SerializeField]
protected float m_paragraphSpacing
Field Value
|
Edit this page
View Source
m_parseCtrlCharacters
Declaration
[SerializeField]
protected bool m_parseCtrlCharacters
Field Value
|
Edit this page
View Source
m_preferredHeight
Declaration
protected float m_preferredHeight
Field Value
|
Edit this page
View Source
m_preferredWidth
Declaration
protected float m_preferredWidth
Field Value
|
Edit this page
View Source
m_rectTransform
Declaration
protected RectTransform m_rectTransform
Field Value
Type |
Description |
RectTransform |
|
|
Edit this page
View Source
m_renderMode
Declaration
protected TextRenderFlags m_renderMode
Field Value
|
Edit this page
View Source
m_renderedHeight
Declaration
protected float m_renderedHeight
Field Value
|
Edit this page
View Source
m_renderedWidth
Declaration
protected float m_renderedWidth
Field Value
|
Edit this page
View Source
m_sharedMaterial
Declaration
[SerializeField]
protected Material m_sharedMaterial
Field Value
Type |
Description |
Material |
|
|
Edit this page
View Source
m_sizeStack
Declaration
protected TMP_XmlTagStack<float> m_sizeStack
Field Value
|
Edit this page
View Source
m_spacing
Declaration
protected float m_spacing
Field Value
|
Edit this page
View Source
m_spriteAnimationID
Declaration
protected int m_spriteAnimationID
Field Value
|
Edit this page
View Source
m_spriteAnimator
Declaration
[SerializeField]
protected TMP_SpriteAnimator m_spriteAnimator
Field Value
|
Edit this page
View Source
m_spriteAsset
Declaration
[SerializeField]
protected TMP_SpriteAsset m_spriteAsset
Field Value
|
Edit this page
View Source
m_spriteColor
Declaration
protected Color32 m_spriteColor
Field Value
|
Edit this page
View Source
m_spriteCount
Declaration
protected int m_spriteCount
Field Value
|
Edit this page
View Source
m_spriteIndex
Declaration
protected int m_spriteIndex
Field Value
|
Edit this page
View Source
m_startOfLineAscender
Declaration
protected float m_startOfLineAscender
Field Value
|
Edit this page
View Source
m_strikethroughColor
Declaration
protected Color32 m_strikethroughColor
Field Value
|
Edit this page
View Source
m_strikethroughColorStack
Declaration
protected TMP_XmlTagStack<Color32> m_strikethroughColorStack
Field Value
|
Edit this page
View Source
m_style
Declaration
protected FontStyles m_style
Field Value
|
Edit this page
View Source
m_styleStack
Declaration
protected TMP_XmlTagStack<int> m_styleStack
Field Value
|
Edit this page
View Source
m_tabSpacing
Declaration
protected float m_tabSpacing
Field Value
|
Edit this page
View Source
m_text
Declaration
[SerializeField]
protected string m_text
Field Value
|
Edit this page
View Source
m_textAlignment
Declaration
[SerializeField]
[FormerlySerializedAs("m_lineJustification")]
protected TextAlignmentOptions m_textAlignment
Field Value
|
Edit this page
View Source
m_textContainerLocalCorners
Declaration
protected Vector3[] m_textContainerLocalCorners
Field Value
Type |
Description |
Vector3[] |
|
|
Edit this page
View Source
m_textElementType
Declaration
protected TMP_TextElementType m_textElementType
Field Value
|
Edit this page
View Source
m_textInfo
Declaration
[SerializeField]
protected TMP_TextInfo m_textInfo
Field Value
|
Edit this page
View Source
m_tintAllSprites
Declaration
[SerializeField]
protected bool m_tintAllSprites
Field Value
|
Edit this page
View Source
m_tintSprite
Declaration
protected bool m_tintSprite
Field Value
|
Edit this page
View Source
m_totalCharacterCount
Declaration
protected int m_totalCharacterCount
Field Value
|
Edit this page
View Source
m_transform
Declaration
protected Transform m_transform
Field Value
Type |
Description |
Transform |
|
|
Edit this page
View Source
m_underlineColor
Declaration
protected Color32 m_underlineColor
Field Value
|
Edit this page
View Source
m_underlineColorStack
Declaration
protected TMP_XmlTagStack<Color32> m_underlineColorStack
Field Value
|
Edit this page
View Source
m_useMaxVisibleDescender
Declaration
[SerializeField]
protected bool m_useMaxVisibleDescender
Field Value
|
Edit this page
View Source
m_uvLineOffset
Declaration
[SerializeField]
protected float m_uvLineOffset
Field Value
|
Edit this page
View Source
m_verticalMapping
Declaration
[SerializeField]
protected TextureMappingOptions m_verticalMapping
Field Value
|
Edit this page
View Source
m_verticesAlreadyDirty
Declaration
protected bool m_verticesAlreadyDirty
Field Value
|
Edit this page
View Source
m_width
Declaration
Field Value
|
Edit this page
View Source
m_wordSpacing
Declaration
[SerializeField]
protected float m_wordSpacing
Field Value
|
Edit this page
View Source
m_wordWrappingRatios
Declaration
[SerializeField]
protected float m_wordWrappingRatios
Field Value
|
Edit this page
View Source
m_xAdvance
Declaration
protected float m_xAdvance
Field Value
|
Edit this page
View Source
m_xmlAttribute
Declaration
protected XML_TagAttribute[] m_xmlAttribute
Field Value
|
Edit this page
View Source
old_arg0
Declaration
Field Value
|
Edit this page
View Source
old_arg1
Declaration
Field Value
|
Edit this page
View Source
old_arg2
Declaration
Field Value
|
Edit this page
View Source
old_text
Declaration
protected string old_text
Field Value
|
Edit this page
View Source
s_colorWhite
Declaration
protected static Color32 s_colorWhite
Field Value
|
Edit this page
View Source
tag_Indent
Declaration
protected float tag_Indent
Field Value
|
Edit this page
View Source
tag_LineIndent
Declaration
protected float tag_LineIndent
Field Value
|
Edit this page
View Source
tag_NoParsing
Declaration
protected bool tag_NoParsing
Field Value
Properties
|
Edit this page
View Source
alignment
Declaration
public TextAlignmentOptions alignment { get; set; }
Property Value
|
Edit this page
View Source
alpha
Declaration
public float alpha { get; set; }
Property Value
|
Edit this page
View Source
autoSizeTextContainer
Declaration
public virtual bool autoSizeTextContainer { get; set; }
Property Value
|
Edit this page
View Source
bounds
Declaration
public Bounds bounds { get; }
Property Value
|
Edit this page
View Source
characterSpacing
Declaration
public float characterSpacing { get; set; }
Property Value
|
Edit this page
View Source
characterWidthAdjustment
Declaration
public float characterWidthAdjustment { get; set; }
Property Value
|
Edit this page
View Source
color
Declaration
public override Color color { get; set; }
Property Value
Overrides
UnityEngine.UI.Graphic.color
|
Edit this page
View Source
colorGradient
Declaration
public VertexGradient colorGradient { get; set; }
Property Value
|
Edit this page
View Source
colorGradientPreset
Declaration
public TMP_ColorGradient colorGradientPreset { get; set; }
Property Value
|
Edit this page
View Source
enableAutoSizing
Declaration
public bool enableAutoSizing { get; set; }
Property Value
|
Edit this page
View Source
enableCulling
Declaration
public bool enableCulling { get; set; }
Property Value
|
Edit this page
View Source
enableKerning
Declaration
public bool enableKerning { get; set; }
Property Value
|
Edit this page
View Source
enableVertexGradient
Declaration
public bool enableVertexGradient { get; set; }
Property Value
|
Edit this page
View Source
enableWordWrapping
Declaration
public bool enableWordWrapping { get; set; }
Property Value
|
Edit this page
View Source
Declaration
public bool extraPadding { get; set; }
Property Value
|
Edit this page
View Source
faceColor
Declaration
public Color32 faceColor { get; set; }
Property Value
|
Edit this page
View Source
firstOverflowCharacterIndex
Declaration
public int firstOverflowCharacterIndex { get; }
Property Value
|
Edit this page
View Source
firstVisibleCharacter
Declaration
public int firstVisibleCharacter { get; set; }
Property Value
|
Edit this page
View Source
flexibleHeight
Declaration
public float flexibleHeight { get; }
Property Value
|
Edit this page
View Source
flexibleWidth
Declaration
public float flexibleWidth { get; }
Property Value
|
Edit this page
View Source
font
Declaration
public TMP_FontAsset font { get; set; }
Property Value
|
Edit this page
View Source
fontMaterial
Declaration
public Material fontMaterial { get; set; }
Property Value
Type |
Description |
Material |
|
|
Edit this page
View Source
fontMaterials
Declaration
public virtual Material[] fontMaterials { get; set; }
Property Value
Type |
Description |
Material[] |
|
|
Edit this page
View Source
fontScale
Declaration
public float fontScale { get; }
Property Value
|
Edit this page
View Source
fontSharedMaterial
Declaration
public virtual Material fontSharedMaterial { get; set; }
Property Value
Type |
Description |
Material |
|
|
Edit this page
View Source
fontSharedMaterials
Declaration
public virtual Material[] fontSharedMaterials { get; set; }
Property Value
Type |
Description |
Material[] |
|
|
Edit this page
View Source
fontSize
Declaration
public float fontSize { get; set; }
Property Value
|
Edit this page
View Source
fontSizeMax
Declaration
public float fontSizeMax { get; set; }
Property Value
|
Edit this page
View Source
fontSizeMin
Declaration
public float fontSizeMin { get; set; }
Property Value
|
Edit this page
View Source
fontStyle
Declaration
public FontStyles fontStyle { get; set; }
Property Value
|
Edit this page
View Source
fontWeight
Declaration
public int fontWeight { get; set; }
Property Value
|
Edit this page
View Source
geometrySortingOrder
Declaration
public VertexSortingOrder geometrySortingOrder { get; set; }
Property Value
|
Edit this page
View Source
havePropertiesChanged
Declaration
public bool havePropertiesChanged { get; set; }
Property Value
|
Edit this page
View Source
horizontalMapping
Declaration
public TextureMappingOptions horizontalMapping { get; set; }
Property Value
|
Edit this page
View Source
ignoreRectMaskCulling
Declaration
public bool ignoreRectMaskCulling { get; set; }
Property Value
|
Edit this page
View Source
ignoreVisibility
Declaration
public bool ignoreVisibility { get; set; }
Property Value
|
Edit this page
View Source
isLinkedTextComponent
Declaration
public bool isLinkedTextComponent { get; set; }
Property Value
|
Edit this page
View Source
isOrthographic
Declaration
public bool isOrthographic { get; set; }
Property Value
|
Edit this page
View Source
isOverlay
Declaration
public bool isOverlay { get; set; }
Property Value
|
Edit this page
View Source
isRightToLeftText
Declaration
public bool isRightToLeftText { get; set; }
Property Value
|
Edit this page
View Source
isTextOverflowing
Declaration
public bool isTextOverflowing { get; }
Property Value
|
Edit this page
View Source
isTextTruncated
Declaration
public bool isTextTruncated { get; }
Property Value
|
Edit this page
View Source
isUsingBold
Declaration
public bool isUsingBold { get; }
Property Value
|
Edit this page
View Source
isUsingLegacyAnimationComponent
Declaration
public bool isUsingLegacyAnimationComponent { get; set; }
Property Value
|
Edit this page
View Source
isVolumetricText
Declaration
public bool isVolumetricText { get; set; }
Property Value
|
Edit this page
View Source
layoutElement
Declaration
protected LayoutElement layoutElement { get; }
Property Value
Type |
Description |
LayoutElement |
|
|
Edit this page
View Source
layoutPriority
Declaration
public int layoutPriority { get; }
Property Value
|
Edit this page
View Source
lineSpacing
Declaration
public float lineSpacing { get; set; }
Property Value
|
Edit this page
View Source
lineSpacingAdjustment
Declaration
public float lineSpacingAdjustment { get; set; }
Property Value
|
Edit this page
View Source
linkedTextComponent
Declaration
public TMP_Text linkedTextComponent { get; set; }
Property Value
|
Edit this page
View Source
mappingUvLineOffset
Declaration
public float mappingUvLineOffset { get; set; }
Property Value
|
Edit this page
View Source
margin
Declaration
public virtual Vector4 margin { get; set; }
Property Value
|
Edit this page
View Source
maxHeight
Declaration
public float maxHeight { get; }
Property Value
|
Edit this page
View Source
maxVisibleCharacters
Declaration
public int maxVisibleCharacters { get; set; }
Property Value
|
Edit this page
View Source
maxVisibleLines
Declaration
public int maxVisibleLines { get; set; }
Property Value
|
Edit this page
View Source
maxVisibleWords
Declaration
public int maxVisibleWords { get; set; }
Property Value
|
Edit this page
View Source
maxWidth
Declaration
public float maxWidth { get; }
Property Value
|
Edit this page
View Source
mesh
Declaration
public virtual Mesh mesh { get; }
Property Value
|
Edit this page
View Source
minHeight
Declaration
public float minHeight { get; }
Property Value
|
Edit this page
View Source
minWidth
Declaration
public float minWidth { get; }
Property Value
|
Edit this page
View Source
outlineColor
Declaration
public Color32 outlineColor { get; set; }
Property Value
|
Edit this page
View Source
outlineWidth
Declaration
public float outlineWidth { get; set; }
Property Value
|
Edit this page
View Source
overflowMode
Declaration
public TextOverflowModes overflowMode { get; set; }
Property Value
|
Edit this page
View Source
overrideColorTags
Declaration
public bool overrideColorTags { get; set; }
Property Value
|
Edit this page
View Source
pageToDisplay
Declaration
public int pageToDisplay { get; set; }
Property Value
|
Edit this page
View Source
paragraphSpacing
Declaration
public float paragraphSpacing { get; set; }
Property Value
|
Edit this page
View Source
parseCtrlCharacters
Declaration
public bool parseCtrlCharacters { get; set; }
Property Value
|
Edit this page
View Source
pixelsPerUnit
Declaration
public float pixelsPerUnit { get; }
Property Value
|
Edit this page
View Source
preferredHeight
Declaration
public virtual float preferredHeight { get; }
Property Value
|
Edit this page
View Source
preferredWidth
Declaration
public virtual float preferredWidth { get; }
Property Value
|
Edit this page
View Source
rectTransform
Declaration
public RectTransform rectTransform { get; }
Property Value
Type |
Description |
RectTransform |
|
|
Edit this page
View Source
renderMode
Declaration
public TextRenderFlags renderMode { get; set; }
Property Value
|
Edit this page
View Source
renderedHeight
Declaration
public virtual float renderedHeight { get; }
Property Value
|
Edit this page
View Source
renderedWidth
Declaration
public virtual float renderedWidth { get; }
Property Value
|
Edit this page
View Source
richText
Declaration
public bool richText { get; set; }
Property Value
|
Edit this page
View Source
spriteAnimator
Declaration
protected TMP_SpriteAnimator spriteAnimator { get; }
Property Value
|
Edit this page
View Source
spriteAsset
Declaration
public TMP_SpriteAsset spriteAsset { get; set; }
Property Value
|
Edit this page
View Source
text
Declaration
public string text { get; set; }
Property Value
|
Edit this page
View Source
textBounds
Declaration
public Bounds textBounds { get; }
Property Value
|
Edit this page
View Source
textInfo
Declaration
public TMP_TextInfo textInfo { get; }
Property Value
|
Edit this page
View Source
tintAllSprites
Declaration
public bool tintAllSprites { get; set; }
Property Value
|
Edit this page
View Source
transform
Declaration
public Transform transform { get; }
Property Value
Type |
Description |
Transform |
|
|
Edit this page
View Source
useMaxVisibleDescender
Declaration
public bool useMaxVisibleDescender { get; set; }
Property Value
|
Edit this page
View Source
verticalMapping
Declaration
public TextureMappingOptions verticalMapping { get; set; }
Property Value
|
Edit this page
View Source
wordSpacing
Declaration
public float wordSpacing { get; set; }
Property Value
|
Edit this page
View Source
wordWrappingRatios
Declaration
public float wordWrappingRatios { get; set; }
Property Value
Methods
|
Edit this page
View Source
AddFloatToCharArray(float, ref int, int)
Declaration
protected void AddFloatToCharArray(float number, ref int index, int precision)
Parameters
Type |
Name |
Description |
float |
number |
|
int |
index |
|
int |
precision |
|
|
Edit this page
View Source
AddIntToCharArray(int, ref int, int)
Declaration
protected void AddIntToCharArray(int number, ref int index, int precision)
Parameters
Type |
Name |
Description |
int |
number |
|
int |
index |
|
int |
precision |
|
|
Edit this page
View Source
AdjustLineOffset(int, int, float)
Declaration
protected virtual void AdjustLineOffset(int startIndex, int endIndex, float offset)
Parameters
Type |
Name |
Description |
int |
startIndex |
|
int |
endIndex |
|
float |
offset |
|
|
Edit this page
View Source
CalculatePreferredValues(float, Vector2, bool)
Declaration
protected virtual Vector2 CalculatePreferredValues(float defaultFontSize, Vector2 marginSize, bool ignoreTextAutoSizing)
Parameters
Type |
Name |
Description |
float |
defaultFontSize |
|
Vector2 |
marginSize |
|
bool |
ignoreTextAutoSizing |
|
Returns
|
Edit this page
View Source
ClearMesh()
Declaration
public virtual void ClearMesh()
|
Edit this page
View Source
ClearMesh(bool)
Declaration
public virtual void ClearMesh(bool uploadGeometry)
Parameters
Type |
Name |
Description |
bool |
uploadGeometry |
|
|
Edit this page
View Source
ClearSubMeshObjects()
Declaration
protected virtual void ClearSubMeshObjects()
|
Edit this page
View Source
ComputeMarginSize()
Declaration
protected virtual void ComputeMarginSize()
|
Edit this page
View Source
ConvertToFloat(char[], int, int)
Declaration
protected float ConvertToFloat(char[] chars, int startIndex, int length)
Parameters
Type |
Name |
Description |
char[] |
chars |
|
int |
startIndex |
|
int |
length |
|
Returns
|
Edit this page
View Source
ConvertToFloat(char[], int, int, out int)
Declaration
protected float ConvertToFloat(char[] chars, int startIndex, int length, out int lastIndex)
Parameters
Type |
Name |
Description |
char[] |
chars |
|
int |
startIndex |
|
int |
length |
|
int |
lastIndex |
|
Returns
|
Edit this page
View Source
CreateMaterialInstance(Material)
Declaration
protected virtual Material CreateMaterialInstance(Material source)
Parameters
Type |
Name |
Description |
Material |
source |
|
Returns
Type |
Description |
Material |
|
|
Edit this page
View Source
CrossFadeAlpha(float, float, bool)
Declaration
public override void CrossFadeAlpha(float alpha, float duration, bool ignoreTimeScale)
Parameters
Overrides
|
Edit this page
View Source
CrossFadeColor(Color, float, bool, bool)
Declaration
public override void CrossFadeColor(Color targetColor, float duration, bool ignoreTimeScale, bool useAlpha)
Parameters
Type |
Name |
Description |
Color |
targetColor |
|
float |
duration |
|
bool |
ignoreTimeScale |
|
bool |
useAlpha |
|
Overrides
|
Edit this page
View Source
DrawTextHighlight(Vector3, Vector3, ref int, Color32)
Declaration
protected virtual void DrawTextHighlight(Vector3 start, Vector3 end, ref int index, Color32 highlightColor)
Parameters
Type |
Name |
Description |
Vector3 |
start |
|
Vector3 |
end |
|
int |
index |
|
Color32 |
highlightColor |
|
|
Edit this page
View Source
DrawUnderlineMesh(Vector3, Vector3, ref int, float, float, float, float, Color32)
Declaration
protected virtual void DrawUnderlineMesh(Vector3 start, Vector3 end, ref int index, float startScale, float endScale, float maxScale, float sdfScale, Color32 underlineColor)
Parameters
Type |
Name |
Description |
Vector3 |
start |
|
Vector3 |
end |
|
int |
index |
|
float |
startScale |
|
float |
endScale |
|
float |
maxScale |
|
float |
sdfScale |
|
Color32 |
underlineColor |
|
|
Edit this page
View Source
FillCharacterVertexBuffers(int, int)
Declaration
protected virtual void FillCharacterVertexBuffers(int i, int index_X4)
Parameters
Type |
Name |
Description |
int |
i |
|
int |
index_X4 |
|
|
Edit this page
View Source
FillCharacterVertexBuffers(int, int, bool)
Declaration
protected virtual void FillCharacterVertexBuffers(int i, int index_X4, bool isVolumetric)
Parameters
Type |
Name |
Description |
int |
i |
|
int |
index_X4 |
|
bool |
isVolumetric |
|
|
Edit this page
View Source
FillSpriteVertexBuffers(int, int)
Declaration
protected virtual void FillSpriteVertexBuffers(int i, int index_X4)
Parameters
Type |
Name |
Description |
int |
i |
|
int |
index_X4 |
|
|
Edit this page
View Source
ForceMeshUpdate()
Declaration
public virtual void ForceMeshUpdate()
|
Edit this page
View Source
ForceMeshUpdate(bool)
Declaration
public virtual void ForceMeshUpdate(bool ignoreActiveState)
Parameters
Type |
Name |
Description |
bool |
ignoreActiveState |
|
|
Edit this page
View Source
GenerateTextMesh()
Declaration
protected virtual void GenerateTextMesh()
|
Edit this page
View Source
GetCompoundBounds()
Declaration
protected virtual Bounds GetCompoundBounds()
Returns
|
Edit this page
View Source
GetFontAssetForWeight(int)
Declaration
protected TMP_FontAsset GetFontAssetForWeight(int fontWeight)
Parameters
Type |
Name |
Description |
int |
fontWeight |
|
Returns
|
Edit this page
View Source
GetMaterial(Material)
Declaration
protected virtual Material GetMaterial(Material mat)
Parameters
Type |
Name |
Description |
Material |
mat |
|
Returns
Type |
Description |
Material |
|
|
Edit this page
View Source
GetMaterials(Material[])
Declaration
protected virtual Material[] GetMaterials(Material[] mats)
Parameters
Type |
Name |
Description |
Material[] |
mats |
|
Returns
Type |
Description |
Material[] |
|
|
Edit this page
View Source
GetPaddingForMaterial()
Declaration
protected virtual float GetPaddingForMaterial()
Returns
|
Edit this page
View Source
GetPaddingForMaterial(Material)
Declaration
protected virtual float GetPaddingForMaterial(Material mat)
Parameters
Type |
Name |
Description |
Material |
mat |
|
Returns
|
Edit this page
View Source
GetParsedText()
Declaration
public virtual string GetParsedText()
Returns
|
Edit this page
View Source
GetPreferredHeight()
Declaration
protected float GetPreferredHeight()
Returns
|
Edit this page
View Source
GetPreferredHeight(Vector2)
Declaration
protected float GetPreferredHeight(Vector2 margin)
Parameters
Type |
Name |
Description |
Vector2 |
margin |
|
Returns
|
Edit this page
View Source
GetPreferredValues()
Declaration
public Vector2 GetPreferredValues()
Returns
|
Edit this page
View Source
GetPreferredValues(float, float)
Declaration
public Vector2 GetPreferredValues(float width, float height)
Parameters
Returns
|
Edit this page
View Source
GetPreferredValues(string)
Declaration
public Vector2 GetPreferredValues(string text)
Parameters
Type |
Name |
Description |
string |
text |
|
Returns
|
Edit this page
View Source
GetPreferredValues(string, float, float)
Declaration
public Vector2 GetPreferredValues(string text, float width, float height)
Parameters
Returns
|
Edit this page
View Source
GetPreferredWidth()
Declaration
protected float GetPreferredWidth()
Returns
|
Edit this page
View Source
GetPreferredWidth(Vector2)
Declaration
protected float GetPreferredWidth(Vector2 margin)
Parameters
Type |
Name |
Description |
Vector2 |
margin |
|
Returns
|
Edit this page
View Source
GetRenderedHeight()
Declaration
protected float GetRenderedHeight()
Returns
|
Edit this page
View Source
GetRenderedHeight(bool)
Declaration
protected float GetRenderedHeight(bool onlyVisibleCharacters)
Parameters
Type |
Name |
Description |
bool |
onlyVisibleCharacters |
|
Returns
|
Edit this page
View Source
GetRenderedValues()
Declaration
public Vector2 GetRenderedValues()
Returns
|
Edit this page
View Source
GetRenderedValues(bool)
Declaration
public Vector2 GetRenderedValues(bool onlyVisibleCharacters)
Parameters
Type |
Name |
Description |
bool |
onlyVisibleCharacters |
|
Returns
|
Edit this page
View Source
GetRenderedWidth()
Declaration
protected float GetRenderedWidth()
Returns
|
Edit this page
View Source
GetRenderedWidth(bool)
Declaration
protected float GetRenderedWidth(bool onlyVisibleCharacters)
Parameters
Type |
Name |
Description |
bool |
onlyVisibleCharacters |
|
Returns
|
Edit this page
View Source
GetSharedMaterials()
Declaration
protected virtual Material[] GetSharedMaterials()
Returns
Type |
Description |
Material[] |
|
|
Edit this page
View Source
GetSpecialCharacters(TMP_FontAsset)
Declaration
protected void GetSpecialCharacters(TMP_FontAsset fontAsset)
Parameters
|
Edit this page
View Source
GetTextBounds()
Declaration
protected Bounds GetTextBounds()
Returns
|
Edit this page
View Source
GetTextBounds(bool)
Declaration
protected Bounds GetTextBounds(bool onlyVisibleCharacters)
Parameters
Type |
Name |
Description |
bool |
onlyVisibleCharacters |
|
Returns
|
Edit this page
View Source
GetTextContainerLocalCorners()
Declaration
protected virtual Vector3[] GetTextContainerLocalCorners()
Returns
Type |
Description |
Vector3[] |
|
|
Edit this page
View Source
GetTextInfo(string)
Declaration
public virtual TMP_TextInfo GetTextInfo(string text)
Parameters
Type |
Name |
Description |
string |
text |
|
Returns
|
Edit this page
View Source
GetUTF16(int)
Declaration
protected int GetUTF16(int i)
Parameters
Type |
Name |
Description |
int |
i |
|
Returns
|
Edit this page
View Source
GetUTF32(int)
Declaration
protected int GetUTF32(int i)
Parameters
Type |
Name |
Description |
int |
i |
|
Returns
|
Edit this page
View Source
HexCharsToColor(char[], int)
Declaration
protected Color32 HexCharsToColor(char[] hexChars, int tagCount)
Parameters
Type |
Name |
Description |
char[] |
hexChars |
|
int |
tagCount |
|
Returns
|
Edit this page
View Source
HexCharsToColor(char[], int, int)
Declaration
protected Color32 HexCharsToColor(char[] hexChars, int startIndex, int length)
Parameters
Type |
Name |
Description |
char[] |
hexChars |
|
int |
startIndex |
|
int |
length |
|
Returns
|
Edit this page
View Source
HexToInt(char)
Declaration
protected int HexToInt(char hex)
Parameters
Type |
Name |
Description |
char |
hex |
|
Returns
|
Edit this page
View Source
InternalCrossFadeAlpha(float, float, bool)
Declaration
protected virtual void InternalCrossFadeAlpha(float alpha, float duration, bool ignoreTimeScale)
Parameters
|
Edit this page
View Source
InternalCrossFadeColor(Color, float, bool, bool)
Declaration
protected virtual void InternalCrossFadeColor(Color targetColor, float duration, bool ignoreTimeScale, bool useAlpha)
Parameters
Type |
Name |
Description |
Color |
targetColor |
|
float |
duration |
|
bool |
ignoreTimeScale |
|
bool |
useAlpha |
|
|
Edit this page
View Source
LoadDefaultSettings()
Declaration
protected void LoadDefaultSettings()
|
Edit this page
View Source
LoadFontAsset()
Declaration
protected virtual void LoadFontAsset()
|
Edit this page
View Source
PackUV(float, float)
Declaration
protected float PackUV(float x, float y)
Parameters
Returns
|
Edit this page
View Source
PackUV(float, float, float)
Declaration
protected Vector2 PackUV(float x, float y, float scale)
Parameters
Returns
|
Edit this page
View Source
ParseInputText()
Declaration
protected void ParseInputText()
|
Edit this page
View Source
ReplaceTagWithCharacter(int[], int, int, char)
Declaration
protected void ReplaceTagWithCharacter(int[] chars, int insertionIndex, int tagLength, char c)
Parameters
Type |
Name |
Description |
int[] |
chars |
|
int |
insertionIndex |
|
int |
tagLength |
|
char |
c |
|
|
Edit this page
View Source
ResizeLineExtents(int)
Declaration
protected void ResizeLineExtents(int size)
Parameters
Type |
Name |
Description |
int |
size |
|
|
Edit this page
View Source
RestoreWordWrappingState(ref WordWrapState)
Declaration
protected int RestoreWordWrappingState(ref WordWrapState state)
Parameters
Returns
|
Edit this page
View Source
SaveGlyphVertexInfo(float, float, Color32)
Declaration
protected virtual void SaveGlyphVertexInfo(float padding, float style_padding, Color32 vertexColor)
Parameters
Type |
Name |
Description |
float |
padding |
|
float |
style_padding |
|
Color32 |
vertexColor |
|
|
Edit this page
View Source
SaveSpriteVertexInfo(Color32)
Declaration
protected virtual void SaveSpriteVertexInfo(Color32 vertexColor)
Parameters
Type |
Name |
Description |
Color32 |
vertexColor |
|
|
Edit this page
View Source
SaveWordWrappingState(ref WordWrapState, int, int)
Declaration
protected void SaveWordWrappingState(ref WordWrapState state, int index, int count)
Parameters
|
Edit this page
View Source
SetActiveSubMeshes(bool)
Declaration
protected virtual void SetActiveSubMeshes(bool state)
Parameters
Type |
Name |
Description |
bool |
state |
|
|
Edit this page
View Source
SetArraySizes(int[])
Declaration
protected virtual int SetArraySizes(int[] chars)
Parameters
Type |
Name |
Description |
int[] |
chars |
|
Returns
|
Edit this page
View Source
SetCharArray(char[])
Declaration
public void SetCharArray(char[] sourceText)
Parameters
Type |
Name |
Description |
char[] |
sourceText |
|
|
Edit this page
View Source
SetCharArray(int[], int, int)
Declaration
public void SetCharArray(int[] sourceText, int start, int length)
Parameters
Type |
Name |
Description |
int[] |
sourceText |
|
int |
start |
|
int |
length |
|
|
Edit this page
View Source
SetCulling()
Declaration
protected virtual void SetCulling()
|
Edit this page
View Source
SetFaceColor(Color32)
Declaration
protected virtual void SetFaceColor(Color32 color)
Parameters
Type |
Name |
Description |
Color32 |
color |
|
|
Edit this page
View Source
SetFontBaseMaterial(Material)
Declaration
protected virtual void SetFontBaseMaterial(Material mat)
Parameters
Type |
Name |
Description |
Material |
mat |
|
|
Edit this page
View Source
SetOutlineColor(Color32)
Declaration
protected virtual void SetOutlineColor(Color32 color)
Parameters
Type |
Name |
Description |
Color32 |
color |
|
|
Edit this page
View Source
SetOutlineThickness(float)
Declaration
protected virtual void SetOutlineThickness(float thickness)
Parameters
Type |
Name |
Description |
float |
thickness |
|
|
Edit this page
View Source
SetShaderDepth()
Declaration
protected virtual void SetShaderDepth()
|
Edit this page
View Source
SetSharedMaterial(Material)
Declaration
protected virtual void SetSharedMaterial(Material mat)
Parameters
Type |
Name |
Description |
Material |
mat |
|
|
Edit this page
View Source
SetSharedMaterials(Material[])
Declaration
protected virtual void SetSharedMaterials(Material[] materials)
Parameters
Type |
Name |
Description |
Material[] |
materials |
|
|
Edit this page
View Source
SetText(string)
Declaration
public void SetText(string text)
Parameters
Type |
Name |
Description |
string |
text |
|
|
Edit this page
View Source
SetText(string, bool)
Declaration
public void SetText(string text, bool syncTextInputBox)
Parameters
Type |
Name |
Description |
string |
text |
|
bool |
syncTextInputBox |
|
|
Edit this page
View Source
SetText(string, float)
Declaration
public void SetText(string text, float arg0)
Parameters
|
Edit this page
View Source
SetText(string, float, float)
Declaration
public void SetText(string text, float arg0, float arg1)
Parameters
|
Edit this page
View Source
SetText(string, float, float, float)
Declaration
public void SetText(string text, float arg0, float arg1, float arg2)
Parameters
|
Edit this page
View Source
SetText(StringBuilder)
Declaration
public void SetText(StringBuilder text)
Parameters
|
Edit this page
View Source
SetTextArrayToCharArray(char[], ref int[])
Declaration
protected void SetTextArrayToCharArray(char[] sourceText, ref int[] charBuffer)
Parameters
Type |
Name |
Description |
char[] |
sourceText |
|
int[] |
charBuffer |
|
|
Edit this page
View Source
SetTextSortingOrder(int[])
Declaration
protected void SetTextSortingOrder(int[] order)
Parameters
Type |
Name |
Description |
int[] |
order |
|
|
Edit this page
View Source
SetTextSortingOrder(VertexSortingOrder)
Declaration
protected void SetTextSortingOrder(VertexSortingOrder order)
Parameters
|
Edit this page
View Source
SetVertexColorGradient(TMP_ColorGradient)
Declaration
protected void SetVertexColorGradient(TMP_ColorGradient gradient)
Parameters
|
Edit this page
View Source
SetVertices(Vector3[])
Declaration
public virtual void SetVertices(Vector3[] vertices)
Parameters
Type |
Name |
Description |
Vector3[] |
vertices |
|
|
Edit this page
View Source
StringBuilderToIntArray(StringBuilder, ref int[])
Declaration
protected void StringBuilderToIntArray(StringBuilder sourceText, ref int[] charBuffer)
Parameters
|
Edit this page
View Source
StringToCharArray(string, ref int[])
Declaration
protected void StringToCharArray(string sourceText, ref int[] charBuffer)
Parameters
Type |
Name |
Description |
string |
sourceText |
|
int[] |
charBuffer |
|
|
Edit this page
View Source
UpdateGeometry(Mesh, int)
Declaration
public virtual void UpdateGeometry(Mesh mesh, int index)
Parameters
Type |
Name |
Description |
Mesh |
mesh |
|
int |
index |
|
|
Edit this page
View Source
UpdateMeshPadding()
Declaration
public virtual void UpdateMeshPadding()
|
Edit this page
View Source
UpdateVertexData()
Declaration
public virtual void UpdateVertexData()
|
Edit this page
View Source
UpdateVertexData(TMP_VertexDataUpdateFlags)
Declaration
public virtual void UpdateVertexData(TMP_VertexDataUpdateFlags flags)
Parameters
|
Edit this page
View Source
ValidateHtmlTag(int[], int, out int)
Declaration
protected bool ValidateHtmlTag(int[] chars, int startIndex, out int endIndex)
Parameters
Type |
Name |
Description |
int[] |
chars |
|
int |
startIndex |
|
int |
endIndex |
|
Returns
Implements
UnityEngine.UI.ICanvasElement
UnityEngine.UI.IClippable
UnityEngine.UI.IMaskable
UnityEngine.UI.IMaterialModifier
Extension Methods