Method Sample
- Namespace
- GrindFest.Generation.Common
- Assembly
- GrindFest.dll
Sample(Rect, float, SeededRandom, IList<Vector2>, IList<(Vector2 center, float radius)>, int)
public static List<Vector2> Sample(Rect bounds, float minDistance, SeededRandom rng, IList<Vector2> polygonMask = null, IList<(Vector2 center, float radius)> exclusions = null, int kAttempts = 30)
Parameters
boundsRectminDistancefloatrngSeededRandompolygonMaskIList<Vector2>exclusionsIList<(Vector2 center, float radius)>kAttemptsint