Struct TMP_CharacterInfo
Structure containing information about individual text elements (character or sprites).
Namespace: TMPro
Syntax
public struct TMP_CharacterInfo
Fields
alternativeGlyph
Declaration
public Glyph alternativeGlyph
Field Value
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 FontAsset fontAsset
Field Value
Type |
Description |
UnityEngine.TextCore.Text.FontAsset |
|
highlightColor
Declaration
public Color32 highlightColor
Field Value
highlightState
Declaration
public HighlightState highlightState
Field Value
index
Declaration
Field Value
isUsingAlternateTypeface
Declaration
public bool isUsingAlternateTypeface
Field Value
isVisible
Declaration
Field Value
lineNumber
Declaration
Field Value
material
Declaration
Field Value
materialReferenceIndex
Declaration
public int materialReferenceIndex
Field Value
origin
Declaration
Field Value
pageNumber
Declaration
Field Value
pointSize
Declaration
Field Value
scale
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 TextElement textElement
Field Value
Type |
Description |
UnityEngine.TextCore.Text.TextElement |
|
topLeft
Declaration
Field Value
topRight
Declaration
Field Value
underlineColor
Declaration
public Color32 underlineColor
Field Value
underlineVertexIndex
Declaration
public int underlineVertexIndex
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
vertexIndex
Declaration
Field Value
xAdvance
Declaration
Field Value