文档

Unity Engine

Unity Engine

strokeGradient

The stroke gradient to use when using Painter2D.Stroke.
阅读时间1 分钟最后更新于 21 天前

Definition

public Gradient strokeGradient { get; set; }

Remarks

Setting a stroke gradient will override the currently set Painter2D.strokeColor. Setting a null stroke gradient will remove it and fall back on the currently set Painter2D.strokeColor.