A
Property which is defined by a TimeIntervalCollection, where the
data property of each TimeInterval is another Property instance which is
在规定的时间进行评估.
Example:
const constantProperty = ...;
const sampledProperty = ...;
//Create a composite property from two previously defined properties
//where the property is valid on August 1st, 2012 and uses a constant
//property for the first half of the day and a sampled property for the
//remaining half.
const composite = new Cesium.CompositeProperty();
composite.intervals.addInterval(Cesium.TimeInterval.fromIso8601({
iso8601 : '2012-08-01T00:00:00.00Z/2012-08-01T12:00:00.00Z',
data : constantProperty
}));
composite.intervals.addInterval(Cesium.TimeInterval.fromIso8601({
iso8601 : '2012-08-01T12:00:00.00Z/2012-08-02T00:00:00.00Z',
isStartIncluded : false,
isStopIncluded : false,
data : sampledProperty
}));
See:
Members
readonly definitionChanged : Event
当此属性定义发生变化时, 获取该属性被提起的事件 .
定义每次设定时都会更改, 数据不同
大于当前值.
intervals : TimeIntervalCollection
获取间隔收藏.
获得一个表示该属性是否常数的值。 财产被视为
常数,如果获得Value 总是返回当前定义的相同结果.
Methods
将此属性与所提供的属性进行比较并返回
-NT+0+Treal NT+1+,如果两者是相等的, NT+2+false NT+3+否则.
| Name | Type | Description |
|---|---|---|
other |
Property | optional 其他财产. |
Returns:
如果左右对等, 则使用 NT 0 true NT 1 , 否则使用 NT 2 false NT 3 .
在提供的时间获得财产的价值.
| Name | Type | Default | Description |
|---|---|---|---|
time |
JulianDate |
JulianDate.now()
|
optional The time for which to retrieve the value. If omitted, the current system time is used. |
result |
object | optional 如果省略,则创建并返回将数值存储为新实例的对象. |
Returns:
未提供结果参数的修改结果参数或新实例 .