# aabbCount

> The number of AABBs Unity uses when you build the acceleration structure for this ray tracing instance.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine.Rendering](/engine/6000.5/script-reference/unityengine/rendering.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public int aabbCount { readonly get; set; }
```

### Remarks

Set the value to `-1` to add all the AABBs from [RayTracingAABBsInstanceConfig.aabbBuffer](/engine/6000.5/script-reference/unityengine/rendering/raytracingaabbsinstanceconfig/aabbbuffer.md) to the acceleration structure.
