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:
修改后的 result 参数,或者给定时间处曲线上点的新实例。
Throws:
在
times 中查找索引 i,使得参数
time 位于区间 [times[i], times[i + 1]] 内。
| Name | Type | Description |
|---|---|---|
time |
number | 时间。 |
startIndex |
number | 开始搜索的索引。 |
Returns:
区间起始处元素的索引。
Throws:
将给定时间环绕到样条所覆盖的周期内。
| Name | Type | Description |
|---|---|---|
time |
number | 时间。 |
Returns:
环绕到动画周期后的时间。
