Method CheckBounds
CheckBounds(Bounds, List<GameObject>, List<GameObject>)
Do a bounds check against all Renderers
Declaration
bool CheckBounds(Bounds bounds, List<GameObject> objects, List<GameObject> ignoreList = null)
Parameters
| Type | Name | Description |
|---|---|---|
| Bounds | bounds | The bounds against which to test for Renderers |
| List<GameObject> | objects | The list to which intersected Renderers will be added |
| List<GameObject> | ignoreList | (optional) A list of Renderers to ignore |
Returns
| Type | Description |
|---|---|
| bool | True if any objects are contained within the bounds |