Evaluate(float)
Calculate color at a given time.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public Color Evaluate(float time)
Parameters
Time of the evaluation (0 - 1).
Returns
Type | Description |
|---|---|
| Color |
Remarks
Gradient color and alpha keys are blended and interpolated depending on the gradient Gradient.mode.
Unity clamps the colors and alpha if you use a value for that's smaller than or larger than .
time01