int CalculatePointCount (BBox bounds, float density, int maxPoints)

Parameters

NameTypeDescription
bounds BBox Bounds to scatter in
density float Points per square meter
maxPoints = 10000 int Maximum points to cap at (default 10000)

Returns

TypeDescription
int Number of points to generate
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.