# AOQuality

> The number of rays to cast for computing ambient occlusion.

## Definition

* **Type:** Property
* **Namespace:** [UnityEditor](/engine/6000.7/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public int AOQuality { get; set; }
```

### Remarks

Fewer rays produce a noisier result. In many cases using 256 rays gives a smooth result.
