Property | Type | Description | |
---|---|---|---|
bounds | Bounds | ||
chunkObj | GameObject | ||
graph | VoronoiGraph | ||
numSites | int |
Method | Description | |
---|---|---|
Compute ( List |
||
CreateChunks ( ) : void | ||
CreateSites ( bool clear = true, bool relax = false, int relaxCount = 2 ) : void | ||
OnDrawGizmos ( ) : void | ||
RelaxSites ( int iterations ) : void | ||
Start ( ) : void | ||
Update ( ) : void |
Method | Description | |
---|---|---|
CellArea ( Voronoi, cell ) : float | ||
CellCentroid ( Voronoi, cell ) : Point | ||
Distance ( Point a, Point b ) : float |
public CreateSites ( bool clear = true, bool relax = false, int relaxCount = 2 ) : void | ||
clear | bool | |
relax | bool | |
relaxCount | int | |
return | void |