GPU spatial query class.
Name | Type | Description |
---|---|---|
scene |
Scene | Scenarios for GPU spatial query. |
Throws:
-
DeveloperError : scene are required.
Members
-
fillColor : Color
-
Get or set the fill color of the query object in RGBA format.
-
fillStyle : FillStyle
-
Get or set the padding mode of the query object.
-
geometry : Geometry3D
-
Get or set the geometric model object used for query.
-
layers : Layers
-
Get or set the layer to be queried.
-
outlineColor : Color
-
Get or set the border color of the query object.
-
positionMode : PositionMode
-
Get or set the object position mode when querying, which refers to the positional relationship between the query object and the model object, including separation, intersection and inclusion.
Methods
-
Perform GPU spatial query and analysis.
-
Clears the object without destroying it.
-
Destroy the object.
-
Get all queried ids.
Returns:
ids