ドキュメント

Unity Engine

Unity Engine

PerceptualBlend

Linearly interpolate between the gradient keys, using a perceptual color space for colors.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
PerceptualBlend = 2

Remarks

This mode finds the two keys adjacent to the requested evaluation time, and interpolates between them.
Color keys are interpolated using a perceptual "Oklab" color space, which often produces more visually pleasing results than a simple GradientMode.Blend interpolation. It is slightly more expensive to calculate than the simple blend mode though.