# SetBoundingSpheres(BoundingSphere[])

> Sets the array of bounding sphere definitions that the CullingGroup should compute culling for.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine](/engine/6000.0/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public void SetBoundingSpheres(BoundingSphere[] array)
```

### Parameters

**** (\[BoundingSphere\[]]\(/engine/6000.0/script-reference/unityengine/boundingsphere)): The [BoundingSphere](/engine/6000.0/script-reference/unityengine/boundingsphere.md)s to cull.

### Remarks

Note that the provided array is simply referenced, not copied; therefore you can simply modify the data in the array on successive frames without calling SetBoundingSpheres again each time.
