Scene object as returned by Cesium picking.
Current highlight/selected color.
The object's color before highlighting.
The original picked object.
If true, object can be interacted with.
If this object is interactively selectable.
Object type (Entity, Cesium3DTileFeature, Primitive).
The actual Cesium entity, primitive, or tile feature being interacted with.
Returns a property table representing all displayable info for the picked object. For Cesium3DTileFeature, gathers property IDs and values, using external attributes if provided.
Restores the object's original color after highlight/select.
Applies the given highlight/selection color. Stores previous color for later restoration (if keep=true). Throws if color is not instance of Color.
Optional
keep: boolean = trueWhether to track the old color for later restoration.
Returns the shape type for Cesium entities (polygon, polyline, or point).
Underlying primitive.
Checks if this object is deletable (from .properties.deletable, if present).
Checks if this object is reactive (from .properties.reactive, if present).
Determines the picked object's high-level type.
Gets the current color for the feature/entity/primitive.
Returns core ID depending on picked type.
PickedObject – Normalizes interaction with a scene pick (entity, primitive, or 3D tile feature) in Cesium.
Provides consistent access to IDs, type, mutable color, reactivity, selectability, and property tables. Designed to make selection/highlight UI and interactive tools generic across different Cesium pickable types.
Param: pickedObject
The raw result from Cesium's
scene.pick
or similar.Method
getId() - Returns the unique ID for the picked primitive/entity/feature.
Method
content - Object's core Cesium or primitive instance for detailed property/visual access.
Method
determineIfDeletable() - Checks and returns whether this entity is deletable (from
.properties.deletable
).Method
determineIfReactive() - Checks if object is currently "reactive."
Method
determineType() - Classifies object as Entity, Cesium3DTileFeature, or Primitive.
Method
getColor() - Gets the current color, handling type differences.
Method
colorize(color, [keep]) - Applies a highlight/temporary color (returns to original on clearColor()).
Method
clearColor() - Restores the object's previous color (before highlight/selection).
Example