Struct VertexGradient
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
Field Value
bottomRight
Declaration
Field Value
topLeft
Declaration
Field Value
topRight
Declaration
Field Value