{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Class TextMeshProUGUI | TextMeshPro | 3.0.1
docs.unity3d.com
"{0}" の検索結果

    目次を表示する/隠す

    Class TextMeshProUGUI

    Inheritance
    object
    UIBehaviour
    Graphic
    MaskableGraphic
    TMP_Text
    TextMeshProUGUI
    Implements
    ICanvasElement
    IClippable
    IMaskable
    IMaterialModifier
    ILayoutElement
    Inherited Members
    TMP_Text.text
    TMP_Text.m_text
    TMP_Text.textPreprocessor
    TMP_Text.m_TextPreprocessor
    TMP_Text.isRightToLeftText
    TMP_Text.m_isRightToLeft
    TMP_Text.font
    TMP_Text.m_fontAsset
    TMP_Text.m_currentFontAsset
    TMP_Text.m_isSDFShader
    TMP_Text.fontSharedMaterial
    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.fontSharedMaterials
    TMP_Text.m_fontSharedMaterials
    TMP_Text.fontMaterial
    TMP_Text.m_fontMaterial
    TMP_Text.fontMaterials
    TMP_Text.m_fontMaterials
    TMP_Text.m_isMaterialDirty
    TMP_Text.color
    TMP_Text.m_fontColor32
    TMP_Text.m_fontColor
    TMP_Text.s_colorWhite
    TMP_Text.m_underlineColor
    TMP_Text.m_strikethroughColor
    TMP_Text.alpha
    TMP_Text.enableVertexGradient
    TMP_Text.m_enableVertexGradient
    TMP_Text.m_colorMode
    TMP_Text.colorGradient
    TMP_Text.m_fontColorGradient
    TMP_Text.colorGradientPreset
    TMP_Text.m_fontColorGradientPreset
    TMP_Text.spriteAsset
    TMP_Text.m_spriteAsset
    TMP_Text.tintAllSprites
    TMP_Text.m_tintAllSprites
    TMP_Text.m_tintSprite
    TMP_Text.m_spriteColor
    TMP_Text.styleSheet
    TMP_Text.m_StyleSheet
    TMP_Text.textStyle
    TMP_Text.m_TextStyleHashCode
    TMP_Text.overrideColorTags
    TMP_Text.m_overrideHtmlColors
    TMP_Text.faceColor
    TMP_Text.m_faceColor
    TMP_Text.outlineColor
    TMP_Text.m_outlineColor
    TMP_Text.outlineWidth
    TMP_Text.m_outlineWidth
    TMP_Text.fontSize
    TMP_Text.m_fontSize
    TMP_Text.m_currentFontSize
    TMP_Text.m_fontSizeBase
    TMP_Text.m_sizeStack
    TMP_Text.fontScale
    TMP_Text.fontWeight
    TMP_Text.m_fontWeight
    TMP_Text.m_FontWeightInternal
    TMP_Text.m_FontWeightStack
    TMP_Text.pixelsPerUnit
    TMP_Text.enableAutoSizing
    TMP_Text.m_enableAutoSizing
    TMP_Text.m_maxFontSize
    TMP_Text.m_minFontSize
    TMP_Text.m_AutoSizeIterationCount
    TMP_Text.m_AutoSizeMaxIterationCount
    TMP_Text.m_IsAutoSizePointSizeSet
    TMP_Text.fontSizeMin
    TMP_Text.m_fontSizeMin
    TMP_Text.fontSizeMax
    TMP_Text.m_fontSizeMax
    TMP_Text.fontStyle
    TMP_Text.m_fontStyle
    TMP_Text.m_FontStyleInternal
    TMP_Text.m_fontStyleStack
    TMP_Text.isUsingBold
    TMP_Text.m_isUsingBold
    TMP_Text.horizontalAlignment
    TMP_Text.m_HorizontalAlignment
    TMP_Text.verticalAlignment
    TMP_Text.m_VerticalAlignment
    TMP_Text.alignment
    TMP_Text.m_textAlignment
    TMP_Text.m_lineJustification
    TMP_Text.m_lineJustificationStack
    TMP_Text.m_textContainerLocalCorners
    TMP_Text.characterSpacing
    TMP_Text.m_characterSpacing
    TMP_Text.m_cSpacing
    TMP_Text.m_monoSpacing
    TMP_Text.wordSpacing
    TMP_Text.m_wordSpacing
    TMP_Text.lineSpacing
    TMP_Text.m_lineSpacing
    TMP_Text.m_lineSpacingDelta
    TMP_Text.m_lineHeight
    TMP_Text.m_IsDrivenLineSpacing
    TMP_Text.lineSpacingAdjustment
    TMP_Text.m_lineSpacingMax
    TMP_Text.paragraphSpacing
    TMP_Text.m_paragraphSpacing
    TMP_Text.characterWidthAdjustment
    TMP_Text.m_charWidthMaxAdj
    TMP_Text.m_charWidthAdjDelta
    TMP_Text.enableWordWrapping
    TMP_Text.m_enableWordWrapping
    TMP_Text.m_isCharacterWrappingEnabled
    TMP_Text.m_isNonBreakingSpace
    TMP_Text.m_isIgnoringAlignment
    TMP_Text.wordWrappingRatios
    TMP_Text.m_wordWrappingRatios
    TMP_Text.overflowMode
    TMP_Text.m_overflowMode
    TMP_Text.isTextOverflowing
    TMP_Text.firstOverflowCharacterIndex
    TMP_Text.m_firstOverflowCharacterIndex
    TMP_Text.linkedTextComponent
    TMP_Text.m_linkedTextComponent
    TMP_Text.isTextTruncated
    TMP_Text.m_isTextTruncated
    TMP_Text.enableKerning
    TMP_Text.m_enableKerning
    TMP_Text.m_GlyphHorizontalAdvanceAdjustment
    TMP_Text.extraPadding
    TMP_Text.m_enableExtraPadding
    TMP_Text.checkPaddingRequired
    TMP_Text.richText
    TMP_Text.m_isRichText
    TMP_Text.parseCtrlCharacters
    TMP_Text.m_parseCtrlCharacters
    TMP_Text.isOverlay
    TMP_Text.m_isOverlay
    TMP_Text.isOrthographic
    TMP_Text.m_isOrthographic
    TMP_Text.enableCulling
    TMP_Text.m_isCullingEnabled
    TMP_Text.m_isMaskingEnabled
    TMP_Text.isMaskUpdateRequired
    TMP_Text.ignoreVisibility
    TMP_Text.m_ignoreCulling
    TMP_Text.horizontalMapping
    TMP_Text.m_horizontalMapping
    TMP_Text.verticalMapping
    TMP_Text.m_verticalMapping
    TMP_Text.mappingUvLineOffset
    TMP_Text.m_uvLineOffset
    TMP_Text.renderMode
    TMP_Text.m_renderMode
    TMP_Text.geometrySortingOrder
    TMP_Text.m_geometrySortingOrder
    TMP_Text.isTextObjectScaleStatic
    TMP_Text.m_IsTextObjectScaleStatic
    TMP_Text.vertexBufferAutoSizeReduction
    TMP_Text.m_VertexBufferAutoSizeReduction
    TMP_Text.firstVisibleCharacter
    TMP_Text.m_firstVisibleCharacter
    TMP_Text.maxVisibleCharacters
    TMP_Text.m_maxVisibleCharacters
    TMP_Text.maxVisibleWords
    TMP_Text.m_maxVisibleWords
    TMP_Text.maxVisibleLines
    TMP_Text.m_maxVisibleLines
    TMP_Text.useMaxVisibleDescender
    TMP_Text.m_useMaxVisibleDescender
    TMP_Text.pageToDisplay
    TMP_Text.m_pageToDisplay
    TMP_Text.m_isNewPage
    TMP_Text.margin
    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.textInfo
    TMP_Text.m_textInfo
    TMP_Text.havePropertiesChanged
    TMP_Text.m_havePropertiesChanged
    TMP_Text.isUsingLegacyAnimationComponent
    TMP_Text.m_isUsingLegacyAnimationComponent
    TMP_Text.transform
    TMP_Text.m_transform
    TMP_Text.rectTransform
    TMP_Text.m_rectTransform
    TMP_Text.m_PreviousRectTransformSize
    TMP_Text.m_PreviousPivotPosition
    TMP_Text.m_autoSizeTextContainer
    TMP_Text.m_mesh
    TMP_Text.isVolumetricText
    TMP_Text.m_isVolumetricText
    TMP_Text.bounds
    TMP_Text.textBounds
    TMP_Text.OnFontAssetRequest
    TMP_Text.OnSpriteAssetRequest
    TMP_Text.spriteAnimator
    TMP_Text.m_spriteAnimator
    TMP_Text.flexibleHeight
    TMP_Text.m_flexibleHeight
    TMP_Text.flexibleWidth
    TMP_Text.m_flexibleWidth
    TMP_Text.minWidth
    TMP_Text.m_minWidth
    TMP_Text.minHeight
    TMP_Text.m_minHeight
    TMP_Text.maxWidth
    TMP_Text.m_maxWidth
    TMP_Text.maxHeight
    TMP_Text.m_maxHeight
    TMP_Text.layoutElement
    TMP_Text.m_LayoutElement
    TMP_Text.preferredWidth
    TMP_Text.m_preferredWidth
    TMP_Text.m_renderedWidth
    TMP_Text.m_isPreferredWidthDirty
    TMP_Text.preferredHeight
    TMP_Text.m_preferredHeight
    TMP_Text.m_renderedHeight
    TMP_Text.m_isPreferredHeightDirty
    TMP_Text.m_isCalculatingPreferredValues
    TMP_Text.renderedWidth
    TMP_Text.renderedHeight
    TMP_Text.layoutPriority
    TMP_Text.m_layoutPriority
    TMP_Text.m_isLayoutDirty
    TMP_Text.m_isAwake
    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_InternalParsingBuffer
    TMP_Text.m_InternalParsingBufferSize
    TMP_Text.m_input_CharArray
    TMP_Text.m_totalCharacterCount
    TMP_Text.m_SavedWordWrapState
    TMP_Text.m_SavedLineState
    TMP_Text.m_SavedEllipsisState
    TMP_Text.m_SavedLastValidState
    TMP_Text.m_SavedSoftLineBreakState
    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_PageAscender
    TMP_Text.m_maxTextAscender
    TMP_Text.m_maxCapHeight
    TMP_Text.m_ElementAscender
    TMP_Text.m_ElementDescender
    TMP_Text.m_maxLineAscender
    TMP_Text.m_maxLineDescender
    TMP_Text.m_startOfLineAscender
    TMP_Text.m_startOfLineDescender
    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_HighlightStateStack
    TMP_Text.m_colorGradientPreset
    TMP_Text.m_colorGradientStack
    TMP_Text.m_colorGradientPresetIsTinted
    TMP_Text.m_tabSpacing
    TMP_Text.m_spacing
    TMP_Text.m_TextStyleStacks
    TMP_Text.m_TextStyleStackDepth
    TMP_Text.m_ItalicAngleStack
    TMP_Text.m_ItalicAngle
    TMP_Text.m_actionStack
    TMP_Text.m_padding
    TMP_Text.m_baselineOffset
    TMP_Text.m_baselineOffsetStack
    TMP_Text.m_xAdvance
    TMP_Text.m_textElementType
    TMP_Text.m_cached_TextElement
    TMP_Text.m_Ellipsis
    TMP_Text.m_Underline
    TMP_Text.m_defaultSpriteAsset
    TMP_Text.m_currentSpriteAsset
    TMP_Text.m_spriteCount
    TMP_Text.m_spriteIndex
    TMP_Text.m_spriteAnimationID
    TMP_Text.SetFontBaseMaterial(Material)
    TMP_Text.CreateMaterialInstance(Material)
    TMP_Text.SetVertexColorGradient(TMP_ColorGradient)
    TMP_Text.SetTextSortingOrder(VertexSortingOrder)
    TMP_Text.SetTextSortingOrder(int[])
    TMP_Text.GetPaddingForMaterial()
    TMP_Text.GetPaddingForMaterial(Material)
    TMP_Text.m_ignoreActiveState
    TMP_Text.SetVertices(Vector3[])
    TMP_Text.CrossFadeColor(Color, float, bool, bool)
    TMP_Text.CrossFadeAlpha(float, float, bool)
    TMP_Text.ParseInputText()
    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(string, float, float, float, float)
    TMP_Text.SetText(string, float, float, float, float, float)
    TMP_Text.SetText(string, float, float, float, float, float, float)
    TMP_Text.SetText(string, float, float, float, float, float, float, float)
    TMP_Text.SetText(string, float, float, float, float, float, float, float, float)
    TMP_Text.SetText(StringBuilder)
    TMP_Text.SetText(char[])
    TMP_Text.SetText(char[], int, int)
    TMP_Text.SetCharArray(char[])
    TMP_Text.SetCharArray(char[], int, int)
    TMP_Text.SetCharArray(int[], int, int)
    TMP_Text.CharArrayToInternalParsingBuffer(char[], ref TMP_Text.UnicodeChar[])
    TMP_Text.StringToInternalParsingBuffer(string, ref TMP_Text.UnicodeChar[])
    TMP_Text.StringBuilderToInternalParsingBuffer(StringBuilder, ref TMP_Text.UnicodeChar[])
    TMP_Text.GetPreferredValues()
    TMP_Text.GetPreferredValues(float, float)
    TMP_Text.GetPreferredValues(string)
    TMP_Text.GetPreferredValues(string, float, float)
    TMP_Text.GetPreferredWidth()
    TMP_Text.GetPreferredHeight()
    TMP_Text.GetRenderedValues()
    TMP_Text.GetRenderedValues(bool)
    TMP_Text.GetRenderedWidth(bool)
    TMP_Text.GetRenderedHeight(bool)
    TMP_Text.CalculatePreferredValues(ref float, Vector2, bool, bool)
    TMP_Text.GetTextBounds()
    TMP_Text.GetTextBounds(bool)
    TMP_Text.AdjustLineOffset(int, int, float)
    TMP_Text.ResizeLineExtents(int)
    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.InsertNewLine(int, float, float, float, float, float, float, float, float, ref bool, ref float)
    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.GetEllipsisSpecialCharacter(TMP_FontAsset)
    TMP_Text.GetUnderlineSpecialCharacter(TMP_FontAsset)
    TMP_Text.ReplaceTagWithCharacter(int[], int, int, char)
    TMP_Text.GetFontAssetForWeight(int)
    TMP_Text.ClearMesh(bool)
    TMP_Text.GetParsedText()
    TMP_Text.PackUV(float, float, float)
    TMP_Text.PackUV(float, float)
    TMP_Text.HexToInt(char)
    TMP_Text.GetUTF16(string, int)
    TMP_Text.GetUTF16(int[], int)
    TMP_Text.GetUTF16(StringBuilder, int)
    TMP_Text.GetUTF32(string, int)
    TMP_Text.GetUTF32(int[], int)
    TMP_Text.GetUTF32(StringBuilder, 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(TMP_Text.UnicodeChar[], int, out int)
    MaskableGraphic.m_ShouldRecalculateStencil
    MaskableGraphic.m_MaskMaterial
    MaskableGraphic.m_StencilValue
    MaskableGraphic.SetClipRect(Rect, bool)
    MaskableGraphic.SetClipSoftness(Vector2)
    MaskableGraphic.OnValidate()
    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.defaultMaterial
    Graphic.material
    Graphic.mainTexture
    Graphic.workerMesh
    UIBehaviour.Start()
    UIBehaviour.IsActive()
    UIBehaviour.OnCanvasGroupChanged()
    UIBehaviour.IsDestroyed()
    Namespace: TMPro
    Assembly: solution.dll
    Syntax
    [DisallowMultipleComponent]
    [RequireComponent(typeof(RectTransform))]
    [RequireComponent(typeof(CanvasRenderer))]
    [AddComponentMenu("UI/TextMeshPro - Text (UI)", 11)]
    [ExecuteAlways]
    [HelpURL("https://docs.unity3d.com/Packages/com.unity.textmeshpro@3.0")]
    public class TextMeshProUGUI : TMP_Text, ICanvasElement, IClippable, IMaskable, IMaterialModifier, ILayoutElement

    Fields

    Name Description
    m_subTextObjects

    Properties

    Name Description
    autoSizeTextContainer

    Determines if the size of the text container will be adjusted to fit the text object when it is first created.

    canvasRenderer

    Reference to the CanvasRenderer used by the text object.

    maskOffset

    Sets the masking offset from the bounds of the object

    materialForRendering

    Get the material that will be used for rendering.

    mesh

    Reference to the Mesh used by the text object.

    Methods

    Name Description
    Awake()
    CalculateLayoutInputHorizontal()

    Function called by Unity when the horizontal layout needs to be recalculated.

    CalculateLayoutInputVertical()

    Function called by Unity when the vertical layout needs to be recalculated.

    ClearMesh()

    Function to clear the geometry of the Primary and Sub Text objects.

    ComputeMarginSize()

    Update the margin width and height

    Cull(Rect, bool)

    Override of the Cull function to provide for the ability to override the culling of the text object.

    DestroySubMeshObjects()

    Destroy Sub Mesh Objects

    ForceMeshUpdate(bool, bool)

    Function to force regeneration of the text object before its normal process time. This is useful when changes to the text object properties need to be applied immediately.

    GenerateTextMesh()

    This is the main function that is responsible for creating / displaying the text.

    GetCompoundBounds()

    Method returning the compound bounds of the text object and child sub objects.

    GetMaterial(Material)

    Function called internally when a new material is assigned via the fontMaterial property.

    GetMaterials(Material[])

    Method returning instances of the materials used by the text object.

    GetModifiedMaterial(Material)
    GetSharedMaterials()

    Method returning an array containing the materials used by the text object.

    GetTextContainerLocalCorners()

    Method to return the local corners of the Text Container or RectTransform.

    GetTextInfo(string)

    Function used to evaluate the length of a text string.

    InternalCrossFadeAlpha(float, float, bool)

    Tweens the alpha of the CanvasRenderer color associated with this Graphic.

    InternalCrossFadeColor(Color, float, bool, bool)

    Tweens the CanvasRenderer color associated with this Graphic.

    LoadFontAsset()

    Method which derived classes need to override to load Font Assets.

    OnCanvasHierarchyChanged()
    OnDestroy()
    OnDidApplyAnimationProperties()
    OnDisable()
    OnEnable()
    OnRectTransformDimensionsChange()
    OnTransformParentChanged()
    Rebuild(CanvasUpdate)
    RecalculateClipping()

    Method called when the state of a parent changes.

    SetActiveSubMeshes(bool)

    Method to Enable or Disable child SubMesh objects.

    SetAllDirty()
    SetArraySizes(UnicodeChar[])

    Method used to determine the number of visible characters and required buffer allocations.

    SetCulling()

    Set the culling mode on the material.

    SetFaceColor(Color32)

    Function called internally to set the face color of the material. This will results in an instance of the material.

    SetLayoutDirty()
    SetMaterialDirty()
    SetOutlineColor(Color32)

    Function called internally to set the outline color of the material. This will results in an instance of the material.

    SetOutlineThickness(float)

    Function called internally to set the outline thickness property of the material. This will results in an instance of the material.

    SetShaderDepth()

    Set the Render Queue and ZTest mode on the current material

    SetSharedMaterial(Material)

    Function called internally when a new shared material is assigned via the fontSharedMaterial property.

    SetSharedMaterials(Material[])

    Method used to assign new materials to the text and sub text objects.

    SetVerticesDirty()
    UpdateFontAsset()
    UpdateGeometry(Mesh, int)

    Function to update the geometry of the main and sub text objects.

    UpdateMaterial()
    UpdateMeshPadding()

    Function to be used to force recomputing of character padding when Shader / Material properties have been changed via script.

    UpdateVertexData()

    Function to upload the updated vertex data and renderer.

    UpdateVertexData(TMP_VertexDataUpdateFlags)

    Function to upload the updated vertex data and renderer.

    Events

    Name Description
    OnPreRenderText

    Event to allow users to modify the content of the text info before the text is rendered.

    概要
    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)