Skip to main content
The supported operations are
  • Project a point
  • Unproject a point
  • Intersection test
  • Occlusion test
Queries are not meant to be used directly, but rather through the viewer’s query function

Typedefs

IntersectionQuery

  • point: The point to test for intersections
  • optional tolerance: Tolerance for intersection
  • operation: The query operation type
Based on the operation modes:
  • Occlusion: Test if a point in the scene is being occluded by the scene’s geometry
  • Pick: Cast a camer ray to the specified point and return all intersection results
Pick filter from ObjectPickConfiguration do not apply here!

IntersectionQueryResult

  • guid: The id of the object
  • optional object: The raw data of the intersected object
  • point: The point of intersection

PointQuery

  • point: The point to run the operation on
  • operation: The operation type
Based on the operation modes:
  • Project: Projects a world point onto the screen. Result is in NDC
  • Unproject: Unprojects an NDC point into a world point

PointQueryResult

The result is a point of variable component length

Query

  • optional id: Currently unused
  • operation: The operation type

QueryArgsResultMap

Mapping between the query type and query result type.

QueryOperation

Query operation type values

QueryResult

Query result type values
Last modified on July 18, 2026