Struct TMP_CharacterInfo
Structure containing information about individual text elements (character or sprites).
Namespace: TMPro
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
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
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
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