# maxLeafSize

> The maximum number of primitives allowed in a leaf node.

## Definition

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

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

### Remarks

If this value is more than 1, the BVH builder can pack multiple triangles into a node, but it only does so when the increase preserves the traversal performance. Default value: 1.
