gradient
The color gradient to display as a background, mutually exclusive with the asset slots. Setting an empty gradient (see BackgroundGradient.IsEmpty ) clears the slot without disturbing any assigned asset.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public BackgroundGradient gradient { get; set; }