Class TMP_TextElement_Legacy
Base class for all text elements like characters (glyphs) and sprites.
Namespace: TMPro
Syntax
[Serializable]
public class TMP_TextElement_Legacy
Fields
height
Declaration
public float height
Field Value
Type | Description |
---|---|
Single |
id
Declaration
public int id
Field Value
Type | Description |
---|---|
Int32 |
scale
Declaration
public float scale
Field Value
Type | Description |
---|---|
Single |
width
Declaration
public float width
Field Value
Type | Description |
---|---|
Single |
x
Declaration
public float x
Field Value
Type | Description |
---|---|
Single |
xAdvance
Declaration
public float xAdvance
Field Value
Type | Description |
---|---|
Single |
xOffset
Declaration
public float xOffset
Field Value
Type | Description |
---|---|
Single |
y
Declaration
public float y
Field Value
Type | Description |
---|---|
Single |
yOffset
Declaration
public float yOffset
Field Value
Type | Description |
---|---|
Single |