Version: 2023.1
public static AnimationCurve Constant (float timeStart, float timeEnd, float value);

参数

timeStart 常量曲线的开始时间。
timeEnd The end time for the constant curve.
value 常量曲线的值。

返回

AnimationCurve 从指定值创建的常量曲线。

描述

Creates a constant "curve" starting at timeStart, ending at timeEnd, and set to the value value.