OrbPro2 a Cesium distribution

SpaceEntity

new Cesium.SpaceEntity(options, bulkFastPath)

Domain entity for orbital objects (satellites, debris, rocket bodies).
Name Type Default Description
options Entity.ConstructorOptions optional Initialization options.
Name Type Description
omm object optional OMM seed record.
ommMetadata object optional OMM metadata record.
cat object optional CAT seed record.
catMetadata object optional CAT metadata record.
ommPointer number optional OMM pointer for low-level ingest.
propagator object | string | number optional Propagator selection.
entityIndex number optional Backend entity index.
positionOptions object optional Position property options.
operationalState object optional Initial operational state patch.
bulkFastPath boolean false optional Internal high-volume constructor hint.

Extends

Members

Gets or sets whether this entity can be picked in the scene. When false, clicking on the entity will not select or track it.
Inherited From:
Default Value: true
The availability, if any, associated with this object. If availability is undefined, it is assumed that this object's other properties will return valid data for any provided time. If availability exists, the objects other properties will only provide valid data if queried within the given interval.
Inherited From:
Gets or sets the billboard.
Inherited From:
Gets or sets the box.
Inherited From:
Gets or sets the conic sensor.
Inherited From:
Gets or sets the corridor.
Inherited From:
Gets or sets the custom sensor.
Inherited From:
Gets or sets the cylinder.
Inherited From:

readonly definitionChanged : Event

Gets the event that is raised whenever a property or sub-property is changed or modified.
Inherited From:
Gets or sets the description.
Inherited From:
Gets or sets the ellipse.
Inherited From:
Gets or sets the ellipsoid.
Inherited From:
Gets or sets the entity collection that this entity belongs to.
Inherited From:
Gets the unique ID associated with this object.
Inherited From:
Gets whether this entity is being displayed, taking into account the visibility of any ancestor entities.
Inherited From:
Gets or sets the label.
Inherited From:
Gets or sets the model.
Inherited From:

name : string|undefined

Gets or sets the name of the object. The name is intended for end-user consumption and does not need to be unique.
Inherited From:
Gets or sets the orientation in respect to Earth-fixed-Earth-centered (ECEF). Defaults to east-north-up at entity position.
Inherited From:
Gets or sets the parent object.
Inherited From:
Gets or sets the path.
Inherited From:
Gets or sets the plane.
Inherited From:
Gets or sets the point graphic.
Inherited From:
Gets or sets the polygon.
Inherited From:
Gets or sets the polyline.
Inherited From:
Gets or sets the polyline volume.
Inherited From:
Gets or sets the position.
Inherited From:
Gets or sets the bag of arbitrary properties associated with this entity.
Inherited From:

propertyNames : Array.<string>

Gets the names of all properties registered on this instance.
Inherited From:
Gets or sets the rectangle.
Inherited From:
Gets or sets the rectangular sensor.
Inherited From:
Gets or sets the reference frame used for this entity's orientation. When set, the entity's orientation property is interpreted as being relative to this reference frame rather than ECEF. For moving entities like satellites, use ReferenceFrame.VVLH to get a velocity-aligned body frame that doesn't wobble as the entity moves around the Earth. If not set, inherits the reference frame from the parent entity. If neither this entity nor any ancestor has a reference frame set, the orientation is interpreted directly in ECEF (the default behavior).
Inherited From:
Example:
// Create a satellite entity with VVLH reference frame
const satellite = viewer.entities.add({
  position: positionProperty,
  referenceFrame: Cesium.ReferenceFrame.VVLH,
  orientation: Cesium.Quaternion.fromHeadingPitchRoll(
    new Cesium.HeadingPitchRoll(0, Cesium.Math.toRadians(-90), 0) // NADIR pointing
  ),
});

readonly rfBands : Array.<object>

Normalized `$RFB` emitter metadata bound to this entity, newest last. One entry per RFB record: an RFB record carries exactly ONE `LINK_DIRECTION`, so a transceiver appears as two entries sharing `ID_TRANSMITTER`.
Gets or sets whether this entity should be displayed. When set to true, the entity is only displayed if the parent entity's show property is also true.
Inherited From:
Gets or sets the tileset.
Inherited From:
Gets or sets the entity's tracking reference frame.
Inherited From:
Demo:
Gets or sets the suggested initial offset when tracking this object. The offset is typically defined in the east-north-up reference frame, but may be another frame depending on the object's velocity.
Inherited From:
Gets or sets the wall.
Inherited From:

Methods

addCAT(catRecord, catMetadata)SpaceEntity

Add a CAT metadata update to this entity.
Name Type Description
catRecord object | Uint8Array | ArrayBuffer CAT payload to append.
catMetadata object optional Optional CAT metadata when payload is binary.
Returns:
The entity instance.

addOMM(ommRecord, ommMetadata)number

Add an OMM epoch update to this entity.
Name Type Description
ommRecord object | Uint8Array | ArrayBuffer OMM record payload to append.
ommMetadata object optional Optional OMM metadata when payload is binary.
Returns:
Epoch JD on success, -1 when no propagator update method is available.

addProperty(propertyName)

Adds a property to this object. Once a property is added, it can be observed with Entity#definitionChanged and composited with CompositeEntityCollection
Name Type Description
propertyName string The name of the property to add.
Throws:
Inherited From:

addRFB(rfbRecord, rfbMetadata)SpaceEntity

Bind one `$RFB` RF-band / emitter record to this entity. `$RFB` describes ONE emission direction (`LINK_DIRECTION`), so a transceiver or transponder binds as TWO records sharing `ID_TRANSMITTER`. Frequency fields are MHz per the RFB schema; nothing here converts them.
Name Type Description
rfbRecord object | Uint8Array | ArrayBuffer RFB payload to append.
rfbMetadata object optional Normalized RFB metadata when payload is binary.
Returns:
The entity instance.

computeModelMatrix(time, result, useOrientation, referenceFrameOverride)Matrix4

Computes the model matrix for the entity's transform at specified time. Returns undefined if position is undefined. When the entity has a Entity#referenceFrame set, the entity's orientation is interpreted relative to that reference frame. This is useful for satellites where you want orientation to be relative to the velocity-aligned VVLH frame rather than the Earth-fixed frame.
Name Type Default Description
time JulianDate The time to retrieve model matrix for.
result Matrix4 optional The object onto which to store the result.
useOrientation boolean true optional Whether to use the entity's orientation property.
referenceFrameOverride ReferenceFrame optional Override the entity's reference frame.
Returns:
The modified result parameter or a new Matrix4 instance if one was not provided. Result is undefined if position is undefined.
Inherited From:

getCatalogRow()object|undefined

Get catalog row metadata for this entity from plugin sqlite. Falls back to local metadata if plugin API is unavailable.
Returns:
Catalog row with SDS-case keys.

getCATRecord()object|undefined

Get CAT record for this entity by NORAD id from plugin sqlite. Falls back to latest local CAT metadata when direct lookup is unavailable.
Returns:
CAT record object.

getChildren(options)Object

Read a bounded page of direct children in native attachment order. The hierarchy follows Entity#parent, including children in different collections. This method does not query SQL, read standards records, or enumerate any collection; its work is proportional to the returned page. The returned array is detached, while its members are the existing Entity objects. Editing the array does not reparent or detach those entities. Relationships can change between calls; restart pagination after a change.
Name Type Description
options object optional Page options.
Name Type Default Description
offset number 0 optional Finite nonnegative integer offset.
limit number 100 optional Finite positive integer page size, capped at 1000.
Returns:
A page, total direct-child count, requested offset, and the next offset when more children remain.
Throws:
Inherited From:

getClassificationReference()object

Get compatible MIL-STD-2525E Change 1 symbol-set definitions for this native entity subtype. Missile and ship domains may remain ambiguous; generic entities and sensor graphics do not imply a military platform classification. This immutable reference is not an assigned SIDC or an affiliation, function, operational-status or security assessment. It does not read or change source records, propagate the entity, or create graphics. Symbol codes retain leading zeros. Source edition, upstream revision and hashes accompany the result.
Returns:
Immutable definition reference and compatible symbol sets.
Inherited From:

getOMMRecord()object|undefined

Get active OMM record for this entity by sqlite pointer. Falls back to latest local OMM metadata when direct lookup is unavailable.
Returns:
OMM record object.

getRFBRecords(filter)Array.<object>

Get the `$RFB` emitter records bound to this entity, filtered by direction and/or purpose. Returns the same normalized metadata objects as SpaceEntity#rfBands.
Name Type Description
filter object optional Optional filter.
Name Type Default Description
direction string optional `LINK_DIRECTION` name, e.g. `"DOWNLINK"`.
purpose string optional `PURPOSE` substring match, case-insensitive.
band string optional `BAND` designation name, e.g. `"S"`.
activeOnly boolean false optional Keep only `XMT_STATUS === "ACTIVE"`.
Returns:
Matching RFB metadata records.

isAvailable(time)boolean

Given a time, returns true if this object should have data during that time.
Name Type Description
time JulianDate The time to check availability for.
Returns:
true if the object should have data during the provided time, false otherwise.
Inherited From:
Assigns each unassigned property on this object to the value of the same property on the provided source object.
Name Type Description
source Entity The object to be merged into this object.
Inherited From:

removeProperty(propertyName)

Removed a property previously added with addProperty.
Name Type Description
propertyName string The name of the property to remove.
Throws:
Inherited From:
Store OEM ephemeris payload for downstream conversion to sampled position.
Name Type Description
oemData object OEM data payload.
Returns:
The entity instance.
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.