文档

Unity Engine

Unity Engine

GradientType

Specifies the type of gradient to use for color interpolation.
阅读时间1 分钟最后更新于 1 个月前

Definition

public enum GradientType

Remarks

GradientType.Linear creates a gradient that transitions colors along a straight line. GradientType.Radial creates a gradient that radiates colors outward from a central point.

Fields

Value

Description

LinearA gradient that transitions colors along a straight line.
RadialA gradient that radiates colors outward from a central point.