Function JobBuildRegions.FilterSmallRegions

FilterSmallRegions (CompactVoxelField field, NativeArray<ushort> reg, int minRegionSize, int maxRegions, NativeArray<RelevantGraphSurfaceInfo> relevantGraphSurfaces, RecastGraph.RelevantGraphSurfaceMode relevantGraphSurfaceMode, float4x4 voxel2worldMatrix)

Filters out or merges small regions.

Public Static
void FilterSmallRegions (

CompactVoxelField

field

NativeArray<ushort>

reg

int

minRegionSize

int

maxRegions

NativeArray<RelevantGraphSurfaceInfo>

relevantGraphSurfaces

RecastGraph.RelevantGraphSurfaceMode

relevantGraphSurfaceMode

float4x4

voxel2worldMatrix

)

Filters out or merges small regions.