GradientMode
Color interpolation mode used by Gradient.
Read time 1 minuteLast updated 5 days ago
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. |