Struct VertexGradient
TMP custom data type to represent 32 bit characters.
Namespace: TMPro
Syntax
[Serializable]
public struct VertexGradient
Constructors
VertexGradient(Color)
Declaration
public VertexGradient(Color color)
Parameters
Type | Name | Description |
---|---|---|
Color | color |
VertexGradient(Color, Color, Color, Color)
The vertex colors at the corners of the characters.
Declaration
public VertexGradient(Color color0, Color color1, Color color2, Color color3)
Parameters
Type | Name | Description |
---|---|---|
Color | color0 | Top left color. |
Color | color1 | Top right color. |
Color | color2 | Bottom left color. |
Color | color3 | Bottom right color. |
Fields
bottomLeft
Declaration
public Color bottomLeft
Field Value
Type | Description |
---|---|
Color |
bottomRight
Declaration
public Color bottomRight
Field Value
Type | Description |
---|---|
Color |
topLeft
Declaration
public Color topLeft
Field Value
Type | Description |
---|---|
Color |
topRight
Declaration
public Color topRight
Field Value
Type | Description |
---|---|
Color |