Hue Preserving Color Blending
Public Member Functions | Public Attributes | List of all members
TMPro.VertexGradient Struct Reference

Public Member Functions

 VertexGradient (Color color)
 
 VertexGradient (Color color0, Color color1, Color color2, Color color3)
 The vertex colors at the corners of the characters. More...
 

Public Attributes

Color topLeft
 
Color topRight
 
Color bottomLeft
 
Color bottomRight
 

Detailed Description

Definition at line 142 of file TMPro_MeshUtilities.cs.

Constructor & Destructor Documentation

◆ VertexGradient()

TMPro.VertexGradient.VertexGradient ( Color  color0,
Color  color1,
Color  color2,
Color  color3 
)
inline

The vertex colors at the corners of the characters.

Parameters
color0Top left color.
color1Top right color.
color2Bottom left color.
color3Bottom right color.

Definition at line 164 of file TMPro_MeshUtilities.cs.


The documentation for this struct was generated from the following file: