Apply vertex colours in a gradient on any UI object
1 Overview
3 Methods
4 Usage
6 See also
Apply vertex colours in a gradient on any graphic UI object
The properties of the Box Slider control are as follows:
Property | Description |
---|---|
Gradient Mode | Should the gradient work in Local or Global coordinate space |
Gradient Dir | The direction of the gradient: Horizontal / Vertical / Diagonal left to right / diagonally right to left |
Override all color | Should the control use or ignore the alpha of the original image for the effect |
Vertex 1 | First gradient color |
Vertex 2 | Second gradient color |
To enable the Gradient component, simply add the component to a UI Graphic Object using: Add Component -> UI -> Extensions -> Effects -> Gradient
Click to play