Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

GradientTileMode

Overview

GradientTileMode is an Enum that specifies how the area outside the gradient range is filled.

This is used in the TileMode property of UIGradient, and determines how the remaining area is displayed when the gradient does not cover the entire UI element due to Scale or Offset.

Items

Name
Value
Description

Clamp

0

Fills the area outside the range by extending the colors at both ends of the gradient as they are.

Repeat

1

Fills the area outside the range by repeating the gradient from the beginning.

Mirror

2

Fills the area outside the range by repeating the gradient while flipping it each time. The colors do not break at the repeating boundaries.

Last updated