Members
points : Array.<Cartesian3>|Array.<Quaternion>
控制点数组。
-
Default Value:
undefined
控制点的时间数组。
-
Default Value:
undefined
Methods
将给定时间限制在样条覆盖的周期内。
| Name | Type | Description |
|---|---|---|
time |
number | 当前时间。 |
Returns:
限制在动画周期内的时间。
evaluate(time, result) → Cartesian3|Quaternion|Array.<number>
在给定时间评估曲线。
| Name | Type | Description |
|---|---|---|
time |
number | 要评估曲线的时间。 |
result |
Cartesian3 | Quaternion | Array.<number> | optional 存储结果的对象。 |
Returns:
修改后的结果参数或在给定时间的曲线上点的新实例。
Throws:
在
times 中找到一个索引 i,使得参数
time 在区间 [times[i], times[i + 1]] 内。
| Name | Type | Description |
|---|---|---|
time |
number | 当前时间。 |
startIndex |
number | 开始搜索的索引。 |
Returns:
区间开始处元素的索引。
Throws:
将给定时间包装到样条覆盖的周期内。
| Name | Type | Description |
|---|---|---|
time |
number | 当前时间。 |
Returns:
包装到动画周期内的时间。
