SpatialQuery3D

new Cesium.SpatialQuery3D(scene)

GPU space query class.
Name Type Description
scene Scene The scene of GPU space query.
Throws:

Members

fillColor : Color

Gets or sets the fill color of the query object, in RGBA format.

fillStyle : FillStyle

Gets or sets the filling mode of the query object.

geometry : Geometry3D

Gets or sets the geometric model object used for query.

layers : Layer

Get or set the queried layer.

outlineColor : Color

Gets or sets the border color of the query object.

positionMode : PositionMode

Get or set the object position mode during query, which refers to the position relationship between the query object and the model object, including separation, intersection, and inclusion.

Methods

build()

Perform GPU space query and analysis.

clear()

The object is cleared but not destroyed.

destroy()

Destroy the object.

getQueryIDs()Array

Get all the ids found.
Returns:
ids