Skip to content

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

Bases: PropertyBase

Wraps a constant value as a property.

SampledProperty

Bases: PropertyBase

A property with time-tagged samples and interpolation.

add_sample(time, value)

Add a time-value sample.

Parameters:

Name Type Description Default
time str | Any

ISO 8601 string or JulianDate

required
value Any

The value at this time

required

add_samples(times, values)

Add multiple samples at once.

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.

CallbackProperty

Bases: PropertyBase

Property defined by a JS callback function.

ReferenceProperty

Bases: PropertyBase

Property that references another entity's property.