Struct VertexGradient
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
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 |