기술 자료

Unity Engine

Unity Engine

Blend

Linearly interpolate between the gradient keys.
읽는 시간 1분최근 업데이트: 한 달 전

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.