Properties¶
Time-dynamic and constant property types for animating entities.
properties
¶
Property system for time-dynamic values in cesiumkit.
PropertyBase
¶
Bases: CesiumBase
Base for the Cesium Property system.
ConstantProperty
¶
SampledProperty
¶
Bases: PropertyBase
A property with time-tagged samples and interpolation.
SampledPositionProperty
¶
Bases: PropertyBase
A SampledProperty specialized for Cartesian3 positions.
add_sample(time, position)
¶
Add a time-position sample.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
time
|
str | Any
|
ISO 8601 string or JulianDate |
required |
position
|
Any
|
Cartesian3 or Cartesian3FromDegrees |
required |
add_samples(times, positions)
¶
Add multiple samples at once.
to_czml()
¶
Export as CZML position with time-tagged samples.
TimeIntervalCollectionProperty
¶
Bases: PropertyBase
Property defined over time intervals.
add_interval(start, stop, data)
¶
Add a time interval with associated data.