GradientMode
Color interpolation mode used by Gradient.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Enum
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public enum GradientMode
Remarks
Additional Resources: Gradient.mode, Gradient.Evaluate.
Fields
Value | Description |
|---|---|
| Blend | Linearly interpolate between the gradient keys. |
| Fixed | Use a constant color between the keys. |
| PerceptualBlend | Linearly interpolate between the gradient keys, using a perceptual color space for colors. |