Property | Type | Description | |
---|---|---|---|
lastResults | List |
||
maxResults | int | ||
ray | |||
sortByDistance | bool |
Method | Description | |
---|---|---|
ClearResults ( ) : void |
Clears out any cached results from the last query.
|
|
Execute ( ) : IList |
Executes the query, returning the results back in one list. This method executes the scene query as configured, gathers the results into one structure and returns a reference to that structure. These results will also persist in this query object until the next query is executed, or ClearResults. A more lightweight version of this method that returns results through a listener is also available. |
|
Execute ( IRaySceneQueryListener listener ) : void |
Executes the query and returns each match through a listener interface. Note that this method does not store the results of the query internally so does not update the 'last result' value. This means that this version of execute is more lightweight and therefore more efficient than the version which returns the results as a collection. |
|
OnQueryResult ( Axiom.Core.MovableObject sceneObject, float distance ) : bool |
Method | Description | |
---|---|---|
IRaySceneQueryListener ( |
||
RaySceneQuery ( |
Constructor.
|
public abstract Execute ( IRaySceneQueryListener listener ) : void | ||
listener | IRaySceneQueryListener | Listener object to handle the result callbacks. |
return | void |
public OnQueryResult ( Axiom.Core.MovableObject sceneObject, float distance ) : bool | ||
sceneObject | Axiom.Core.MovableObject | |
distance | float | |
return | bool |