Function JobBuild.BuildNodeSorted

BuildNodeSorted (NativeArray<int> bucketStart, float3 boundsMin, float3 boundsMax, int depth, uint prefix, int levels, int nodeOffset, ref int firstFreeChild)

Builds the subtree at nodeOffset from the counting sort's bucket table.

Public
void BuildNodeSorted (

NativeArray<int>

bucketStart

float3

boundsMin

float3

boundsMax

int

depth

uint

prefix

int

levels

int

nodeOffset

ref int

firstFreeChild

)

Builds the subtree at nodeOffset from the counting sort's bucket table.

Once the bucketed nodes run out, we use BuildNode to handle the final levels if agents turned out to be clustered.