Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


maxLeafSize

The maximum number of primitives allowed in a leaf node.
Read time 1 minuteLast updated 13 days ago

Definition

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.