Craig's Utility Library
4.0 Beta
|
A cellular map creator More...
Public Member Functions | |
CellularMap (int Seed, int Width, int Height, int NumberOfPoints) | |
Constructor More... | |
Properties | |
virtual int[,] | ClosestPoint [get, set] |
List of closest cells More... | |
virtual float[,] | Distances [get, set] |
Distances to the closest cell More... | |
virtual float | MaxDistance [get, set] |
Maximum distance to a point More... | |
virtual float | MinDistance [get, set] |
Minimum distance to a point More... | |
A cellular map creator
Definition at line 31 of file CellularMap.cs.
Utilities.Media.Procedural.CellularMap.CellularMap | ( | int | Seed, |
int | Width, | ||
int | Height, | ||
int | NumberOfPoints | ||
) |
Constructor
Seed | Seed for random generation |
Width | Width of the image |
Height | Height of the image |
NumberOfPoints | Number of cells |
Definition at line 40 of file CellularMap.cs.
|
getset |
List of closest cells
Definition at line 63 of file CellularMap.cs.
|
getset |
Distances to the closest cell
Definition at line 69 of file CellularMap.cs.
|
getset |
Maximum distance to a point
Definition at line 74 of file CellularMap.cs.
|
getset |
Minimum distance to a point
Definition at line 79 of file CellularMap.cs.