Class TMP_TextElement
Base class for all text elements like characters (glyphs) and sprites.
Inheritance
System.Object
TMP_TextElement
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: TMPro
Syntax
[Serializable]
public class TMP_TextElement
Fields
height
Declaration
public float height
Field Value
Type | Description |
---|---|
System.Single |
id
Declaration
public int id
Field Value
Type | Description |
---|---|
System.Int32 |
scale
Declaration
public float scale
Field Value
Type | Description |
---|---|
System.Single |
width
Declaration
public float width
Field Value
Type | Description |
---|---|
System.Single |
x
Declaration
public float x
Field Value
Type | Description |
---|---|
System.Single |
xAdvance
Declaration
public float xAdvance
Field Value
Type | Description |
---|---|
System.Single |
xOffset
Declaration
public float xOffset
Field Value
Type | Description |
---|---|
System.Single |
y
Declaration
public float y
Field Value
Type | Description |
---|---|
System.Single |
yOffset
Declaration
public float yOffset
Field Value
Type | Description |
---|---|
System.Single |