Struct TMP_CharacterInfo
Structure containing information about individual text elements (character or sprites).
Namespace: TMPro
Assembly: Unity.TextMeshPro.dll
Syntax
public struct TMP_CharacterInfo
Fields
ascender
Declaration
Field Value
aspectRatio
Declaration
Field Value
baseLine
Declaration
Field Value
bottomLeft
Declaration
public Vector3 bottomLeft
Field Value
bottomRight
Declaration
public Vector3 bottomRight
Field Value
character
Declaration
Field Value
color
Declaration
Field Value
descender
Declaration
Field Value
elementType
Declaration
public TMP_TextElementType elementType
Field Value
fontAsset
Declaration
public TMP_FontAsset fontAsset
Field Value
highlightColor
Declaration
public Color32 highlightColor
Field Value
highlightState
Declaration
public HighlightState highlightState
Field Value
index
Index of the character in the raw string.
Declaration
Field Value
isUsingAlternateTypeface
Declaration
public bool isUsingAlternateTypeface
Field Value
isVisible
Declaration
Field Value
lineNumber
Declaration
Field Value
material
Declaration
Field Value
Type |
Description |
Material |
|
materialReferenceIndex
Declaration
public int materialReferenceIndex
Field Value
origin
Declaration
Field Value
pageNumber
Declaration
Field Value
pointSize
Declaration
Field Value
scale
Declaration
Field Value
spriteAsset
Declaration
public TMP_SpriteAsset spriteAsset
Field Value
spriteIndex
Declaration
Field Value
strikethroughColor
Declaration
public Color32 strikethroughColor
Field Value
strikethroughVertexIndex
Declaration
public int strikethroughVertexIndex
Field Value
stringLength
Declaration
Field Value
style
Declaration
Field Value
textElement
Declaration
public TMP_TextElement textElement
Field Value
topLeft
Declaration
Field Value
topRight
Declaration
Field Value
underlineColor
Declaration
public Color32 underlineColor
Field Value
underlineVertexIndex
Declaration
public int underlineVertexIndex
Field Value
vertexIndex
Declaration
Field Value
vertex_BL
Declaration
public TMP_Vertex vertex_BL
Field Value
vertex_BR
Declaration
public TMP_Vertex vertex_BR
Field Value
vertex_TL
Declaration
public TMP_Vertex vertex_TL
Field Value
vertex_TR
Declaration
public TMP_Vertex vertex_TR
Field Value
xAdvance
Declaration
Field Value