ISceneQueryResult
Description
- Extended by
-
IParentObjectContainer
SceneQueryResult abstract
Base interface for classes that describe the result of a spatial query operation.
A scene query result may have zero or more logical parent results, which are defined as separate properties by derived interfaces. By convention, these properties are named Parent*
. For example, a picked terrain point will have a terrain triangle as logical parent and the terrain triangle will have a terrain sector as logical parent. The IsAncestorOrSelf method can be used to query this relation.
Public / Methods
As
Interprets this query result as any of the given query result types.
If this
cannot be interpreted as types in, the As method is called on each of the logical parent results and the first non-empty result is returned. If Type is SceneQueryResultType.Group and types in does not contain SceneQueryResultType.Group, the As method is called on each group element and the first non-empty result is returned.