文档

Unity Engine

Unity Engine

Fixed

Use a constant color between the keys.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
Fixed = 1

Remarks

This mode returns the key color value where key time is greater than the requested evaluation time. The resulting gradient is then a sequence of colors, not blended together.
Additional Resources: Gradient.mode, Gradient.Evaluate.