Blend
Linearly interpolate between the gradient keys.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Field
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
Blend = 0
Remarks
This mode finds the two keys adjacent to the requested evaluation time, and interpolates between them.
Note that a simple linear interpolation between color keys of very different hue can look unnatural. Using GradientMode.PerceptualBlend can often result in a more natural looking color blend.
Additional Resources: Gradient.mode, Gradient.Evaluate.