| virtual bool CanSelect( | const | Vector | & | origin, | | | const | Vector | & | ray, | | | | float | & | distance, | | | | wxInt32 | & | id | ) |
|
Returns whether anything in the DrawCornerSelectionObject can be selected.
Parameters
| origin | The origin point of the selection ray. |
| ray | The selection ray direction. |
| distance | Filled with the outgoing distance the object is from the ray origin, if the object is selectable. |
| id | Filled with the ougoing id of the selectable IGameObject, if the object is selectable. |
Returns
A bool that is true if the object can be selected and false if not.