TimeIntervalCollectionPositionProperty

new Cesium.TimeIntervalCollectionPositionProperty(referenceFrame)

Name Type Default Description
referenceFrame ReferenceFrame ReferenceFrame.FIXED optional 定义位置的参考框架。

Members

获取当此属性的定义发生更改时引发的事件。 如果对同一时间调用 getValue 将返回不同结果,则认为定义已更改。
获取时间间隔集合。
获取一个值,指示此属性是否为常量。如果 getValue 对当前定义始终返回相同结果,则该属性被视为常量。
获取定义位置的参考框架。
Default Value: ReferenceFrame.FIXED;

Methods

将此属性与提供的属性进行比较,如果相等则返回 true,否则返回 false
Name Type Description
other Property optional 另一个属性。
Returns:
如果相等则返回 true,否则返回 false
获取属性在固定参考框架中指定时间的值。
Name Type Default Description
time JulianDate JulianDate.now() optional 要获取值的时间。如果省略,则使用当前系统时间。
result object optional 用于存储值的对象,如果省略,则创建并返回一个新实例。
Returns:
修改后的结果参数,如果未提供结果参数,则返回新实例。

getValueInReferenceFrame(time, referenceFrame, result)Cartesian3|undefined

获取属性在指定时间和指定参考框架中的值。
Name Type Description
time JulianDate 要获取值的时间。
referenceFrame ReferenceFrame 结果所需的参考框架。
result Cartesian3 optional 用于存储值的对象,如果省略,则创建并返回一个新实例。
Returns:
修改后的结果参数,如果未提供结果参数,则返回新实例。
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.