AddressMode
Specifies how the gradient is sampled when UV coordinates are outside the [0, 1] range.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Enum
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public enum AddressMode
Remarks
AddressMode.Wrap repeats the gradient, creating a tiled effect. AddressMode.Clamp extends the edge colors of the gradient beyond the [0, 1] range. AddressMode.Mirror repeats the gradient, but mirrors it at every integer boundary, creating a seamless mirrored tiling.