创建一个曲线参数并按时间进行评估。 此类型描述接口
并且无意被直接即决.
Members
points : Array.<Cartesian3>|Array.<Quaternion>
一系列控制点.
-
Default Value:
undefined
用于控制点的一系列次数.
-
Default Value:
undefined
Methods
将给定的时间压缩到线条覆盖的期间.
| Name | Type | Description |
|---|---|---|
time |
number | The time. |
Returns:
时间,夹在动画时期.
evaluate(time, result) → Cartesian3|Quaternion|Array.<number>
在特定时间评估曲线.
| Name | Type | Description |
|---|---|---|
time |
number | 评估曲线的时间. |
result |
Cartesian3 | Quaternion | Array.<number> | optional 存储结果的对象 . |
Returns:
修改后的结果参数或给定时间曲线上点的新实例.
Throws:
-
DeveloperError : time must be in the range
[t0, tn], wheret0is the first element in the arraytimesandtnis the last element in the arraytimes.
在 NT 2 times NT 3 中查找索引 NT 0 i NT 1 ,使参数如此
-NT+0 时间 NT+1 时间间隔 NT+2 [时间[i],时间[i+1]] NT+3 .
| Name | Type | Description |
|---|---|---|
time |
number | The time. |
startIndex |
number | 开始搜索的索引 . |
Returns:
间隔开始时元素的索引.
Throws:
-
DeveloperError : time must be in the range
[t0, tn], wheret0is the first element in the arraytimesandtnis the last element in the arraytimes.
将给定的时间包到线条覆盖的期间.
| Name | Type | Description |
|---|---|---|
time |
number | The time. |
Returns:
时间,围绕动画时期.