Interface IProvidesCheckBounds
Provides the ability to check if scene objects are contained within a given Bounds
Namespace: Unity.Labs.EditorXR.Interfaces
Syntax
public interface IProvidesCheckBounds : IFunctionalityProvider
Methods
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 |
|---|---|
| Boolean | True if any objects are contained within the bounds |