Base interface for classes that provide scene queries.
Scene queries created via this interface will process the terrain (see IScene.Terrain) and all ISceneEntity objects that are present in IScene.Entities for which ISceneObject.Enabled returns
true. Terrain objects that have been added via ITerrainEntityContainer will also be processed by spatial queries. However, terrain objects that have been added directly via TerrainMesh will not be processed.
Creates a new instance of ISceneQuery.
Scene query objects are light-weight. However, it is advisable to re-use the same query object, while updating the scene query operation argument via ISceneQueryOpArg.Argument.
Performs a spatial query to find the nearest distance from the given point in to the terrain or scene object.
The nearest distance is computed in this order: