# directSampleCount

> Specifies the number of samples used for direct lighting calculations.

## Definition

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

```csharp
public uint directSampleCount { readonly get; set; }
```

### Remarks

Higher values reduce the noise in light probes, but increase the bake time.
