GradientTileMode
Used alongside UIGradient.TileMode to set how the gradient repeats.
Items 3
| History | Name | Value | Description | |
|---|---|---|---|---|
| 726 | Clamp | 0 | Default mode where the color/transparency values at the start and end of the sequence extend infinitely, so the start values fill any area before the gradient and the end values fill any area after it. | |
| 726 | Repeat | 1 | The gradient repeats by wrapping the color/transparency sequence tiles seamlessly from end back to start. This can produce a visible seam if the first and last color/transparency values in the sequence differ. | |
| 726 | Mirror | 2 | The gradient reflects at each boundary so the color/transparency sequence ping-pongs. This produces a smooth repetition with no seam, since the direction reverses at each tile edge. |
Description
Used alongside UIGradient.TileMode to set how the gradient repeats when the full sequence does not fully cover the parent GuiObject.