OrbPro2 a Cesium distribution

StreamedPositionProperty

new Cesium.StreamedPositionProperty(ringBuffer, referenceFrame)

A position property that reads from a EphemerisRingBuffer being filled by live streaming data. Designed for 3x-realtime WebSocket streams with clock-locked playback. The valid time range is a sliding window that advances as new data arrives. Implements the full PositionProperty interface so that `viewer.trackedEntity` works identically to SampledPositionProperty.
Name Type Default Description
ringBuffer EphemerisRingBuffer The ring buffer to read from.
referenceFrame ReferenceFrame ReferenceFrame.FIXED optional Reference frame.

Members

The ring buffer backing this property.

Methods

Compares this property to the provided property.
Name Type Description
other PositionProperty optional The other property.
Returns:
True if the properties are equal.
Gets the position at the provided time in the FIXED frame.
Name Type Description
time JulianDate The time.
result Cartesian3 optional The object to store the value.
Returns:
The position, or undefined if outside the valid streaming window.

getValueInReferenceFrame(time, referenceFrame, result)Cartesian3|undefined

Gets the position at the provided time in the provided reference frame.
Name Type Description
time JulianDate The time.
referenceFrame ReferenceFrame The desired reference frame.
result Cartesian3 optional The object to store the value.
Returns:
The position, or undefined if outside the valid streaming window.
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.