AddressMode
Specifies how the gradient is sampled when UV coordinates are outside the [0, 1] range.
阅读时间1 分钟最后更新于 1 个月前
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.