# AOQuality

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

## Definition

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

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

### Remarks

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