docs.unity3d.com
    Show / Hide Table of Contents

    Struct WordWrapState

    Inherited Members
    System.ValueType.Equals(System.Object)
    System.ValueType.GetHashCode()
    System.ValueType.ToString()
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: TMPro
    Syntax
    public struct WordWrapState

    Fields

    actionStack

    Declaration
    public TMP_XmlTagStack<int> actionStack
    Field Value
    Type Description
    TMP_XmlTagStack<System.Int32>

    baselineOffset

    Declaration
    public float baselineOffset
    Field Value
    Type Description
    System.Single

    baselineStack

    Declaration
    public TMP_XmlTagStack<float> baselineStack
    Field Value
    Type Description
    TMP_XmlTagStack<System.Single>

    basicStyleStack

    Declaration
    public TMP_BasicXmlTagStack basicStyleStack
    Field Value
    Type Description
    TMP_BasicXmlTagStack

    colorGradientStack

    Declaration
    public TMP_XmlTagStack<TMP_ColorGradient> colorGradientStack
    Field Value
    Type Description
    TMP_XmlTagStack<TMP_ColorGradient>

    colorStack

    Declaration
    public TMP_XmlTagStack<Color32> colorStack
    Field Value
    Type Description
    TMP_XmlTagStack<Color32>

    currentFontAsset

    Declaration
    public TMP_FontAsset currentFontAsset
    Field Value
    Type Description
    TMP_FontAsset

    currentFontSize

    Declaration
    public float currentFontSize
    Field Value
    Type Description
    System.Single

    currentMaterial

    Declaration
    public Material currentMaterial
    Field Value
    Type Description
    Material

    currentMaterialIndex

    Declaration
    public int currentMaterialIndex
    Field Value
    Type Description
    System.Int32

    currentSpriteAsset

    Declaration
    public TMP_SpriteAsset currentSpriteAsset
    Field Value
    Type Description
    TMP_SpriteAsset

    firstCharacterIndex

    Declaration
    public int firstCharacterIndex
    Field Value
    Type Description
    System.Int32

    firstVisibleCharacterIndex

    Declaration
    public int firstVisibleCharacterIndex
    Field Value
    Type Description
    System.Int32

    fontScale

    Declaration
    public float fontScale
    Field Value
    Type Description
    System.Single

    fontScaleMultiplier

    Declaration
    public float fontScaleMultiplier
    Field Value
    Type Description
    System.Single

    fontStyle

    Declaration
    public FontStyles fontStyle
    Field Value
    Type Description
    FontStyles

    fontWeightStack

    Declaration
    public TMP_XmlTagStack<int> fontWeightStack
    Field Value
    Type Description
    TMP_XmlTagStack<System.Int32>

    highlightColor

    Declaration
    public Color32 highlightColor
    Field Value
    Type Description
    Color32

    highlightColorStack

    Declaration
    public TMP_XmlTagStack<Color32> highlightColorStack
    Field Value
    Type Description
    TMP_XmlTagStack<Color32>

    indentStack

    Declaration
    public TMP_XmlTagStack<float> indentStack
    Field Value
    Type Description
    TMP_XmlTagStack<System.Single>

    isNonBreakingSpace

    Declaration
    public bool isNonBreakingSpace
    Field Value
    Type Description
    System.Boolean

    lastCharacterIndex

    Declaration
    public int lastCharacterIndex
    Field Value
    Type Description
    System.Int32

    lastVisibleCharIndex

    Declaration
    public int lastVisibleCharIndex
    Field Value
    Type Description
    System.Int32

    lineInfo

    Declaration
    public TMP_LineInfo lineInfo
    Field Value
    Type Description
    TMP_LineInfo

    lineJustificationStack

    Declaration
    public TMP_XmlTagStack<TextAlignmentOptions> lineJustificationStack
    Field Value
    Type Description
    TMP_XmlTagStack<TextAlignmentOptions>

    lineNumber

    Declaration
    public int lineNumber
    Field Value
    Type Description
    System.Int32

    lineOffset

    Declaration
    public float lineOffset
    Field Value
    Type Description
    System.Single

    materialReferenceStack

    Declaration
    public TMP_XmlTagStack<MaterialReference> materialReferenceStack
    Field Value
    Type Description
    TMP_XmlTagStack<MaterialReference>

    maxAscender

    Declaration
    public float maxAscender
    Field Value
    Type Description
    System.Single

    maxCapHeight

    Declaration
    public float maxCapHeight
    Field Value
    Type Description
    System.Single

    maxDescender

    Declaration
    public float maxDescender
    Field Value
    Type Description
    System.Single

    maxLineAscender

    Declaration
    public float maxLineAscender
    Field Value
    Type Description
    System.Single

    maxLineDescender

    Declaration
    public float maxLineDescender
    Field Value
    Type Description
    System.Single

    meshExtents

    Declaration
    public Extents meshExtents
    Field Value
    Type Description
    Extents

    preferredHeight

    Declaration
    public float preferredHeight
    Field Value
    Type Description
    System.Single

    preferredWidth

    Declaration
    public float preferredWidth
    Field Value
    Type Description
    System.Single

    previous_WordBreak

    Declaration
    public int previous_WordBreak
    Field Value
    Type Description
    System.Int32

    previousLineAscender

    Declaration
    public float previousLineAscender
    Field Value
    Type Description
    System.Single

    previousLineScale

    Declaration
    public float previousLineScale
    Field Value
    Type Description
    System.Single

    sizeStack

    Declaration
    public TMP_XmlTagStack<float> sizeStack
    Field Value
    Type Description
    TMP_XmlTagStack<System.Single>

    spriteAnimationID

    Declaration
    public int spriteAnimationID
    Field Value
    Type Description
    System.Int32

    strikethroughColor

    Declaration
    public Color32 strikethroughColor
    Field Value
    Type Description
    Color32

    strikethroughColorStack

    Declaration
    public TMP_XmlTagStack<Color32> strikethroughColorStack
    Field Value
    Type Description
    TMP_XmlTagStack<Color32>

    styleStack

    Declaration
    public TMP_XmlTagStack<int> styleStack
    Field Value
    Type Description
    TMP_XmlTagStack<System.Int32>

    tagNoParsing

    Declaration
    public bool tagNoParsing
    Field Value
    Type Description
    System.Boolean

    textInfo

    Declaration
    public TMP_TextInfo textInfo
    Field Value
    Type Description
    TMP_TextInfo

    total_CharacterCount

    Declaration
    public int total_CharacterCount
    Field Value
    Type Description
    System.Int32

    underlineColor

    Declaration
    public Color32 underlineColor
    Field Value
    Type Description
    Color32

    underlineColorStack

    Declaration
    public TMP_XmlTagStack<Color32> underlineColorStack
    Field Value
    Type Description
    TMP_XmlTagStack<Color32>

    vertexColor

    Declaration
    public Color32 vertexColor
    Field Value
    Type Description
    Color32

    visible_CharacterCount

    Declaration
    public int visible_CharacterCount
    Field Value
    Type Description
    System.Int32

    visible_LinkCount

    Declaration
    public int visible_LinkCount
    Field Value
    Type Description
    System.Int32

    visible_SpriteCount

    Declaration
    public int visible_SpriteCount
    Field Value
    Type Description
    System.Int32

    wordCount

    Declaration
    public int wordCount
    Field Value
    Type Description
    System.Int32

    xAdvance

    Declaration
    public float xAdvance
    Field Value
    Type Description
    System.Single
    Back to top
    Copyright © 2025 Unity Technologies
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 02 April 2025