GradientTileMode
Controls how a UIGradient tiles when its gradient sequence doesn't span the full render area.
Items 3
| History | Name | Value | Description | |
|---|---|---|---|---|
| 726 | Clamp | 0 | Extends the gradient's terminal colors beyond the defined sequence range without repeating. | |
| 726 | Repeat | 1 | Repeats the gradient sequence from the start each time it reaches the end, producing a tiled pattern. | |
| 726 | Mirror | 2 | Repeats the gradient by reversing direction with each tile, producing a mirrored pattern. |
Description
GradientTileMode determines what happens when a UIGradient's
color/transparency sequence covers less than the full length of the UI element
it modifies. The default mode is GradientTileMode.Clamp, which is also
the default value of UIGradient.TileMode.