C# Class Procedurality.Voronoi

Afficher le fichier Open project: N3X15/VoxelSim Class Usage Examples

Méthodes publiques

Свойство Type Description
SEED int
X int
Y int

Méthodes publiques

Méthode Description
Voronoi ( int size, int x_domains, int y_domains, int checkradius, float randomness, long seed ) : System
Voronoi ( int size, int x_domains, int y_domains, int checkradius, float randomness, long seed, bool border ) : System
getDistance ( float c1, float c2, float c3 ) : Channel
getHitpoint ( ) : Channel

Private Methods

Méthode Description
ActuallyDoVoronoi ( int size, int x_domains, int y_domains, int checkradius, float randomness, long seed, bool border ) : void

Method Details

Voronoi() public méthode

public Voronoi ( int size, int x_domains, int y_domains, int checkradius, float randomness, long seed ) : System
size int
x_domains int
y_domains int
checkradius int
randomness float
seed long
Résultat System

Voronoi() public méthode

public Voronoi ( int size, int x_domains, int y_domains, int checkradius, float randomness, long seed, bool border ) : System
size int
x_domains int
y_domains int
checkradius int
randomness float
seed long
border bool
Résultat System

getDistance() public méthode

public getDistance ( float c1, float c2, float c3 ) : Channel
c1 float
c2 float
c3 float
Résultat Channel

getHitpoint() public méthode

public getHitpoint ( ) : Channel
Résultat Channel

Property Details

SEED public_oe static_oe property

public static int SEED
Résultat int

X public_oe static_oe property

public static int X
Résultat int

Y public_oe static_oe property

public static int Y
Résultat int