Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Properties | List of all members
PQSMod_VertexVoronoi.Voronoi Class Reference

Public Member Functions

double GetValue (double x, double y, double z)
 
 Voronoi ()
 
 Voronoi (int seed, double displacement, double frequency, bool enableDistance)
 

Properties

double displacement [get, set]
 Scale of the random displacement to apply to each Voronoi cell. More...
 
bool enableDistance [get, set]
 
double frequency [get, set]
 Frequency of the seed points. More...
 
int seed [get, set]
 

Constructor & Destructor Documentation

PQSMod_VertexVoronoi.Voronoi.Voronoi ( )
inline
PQSMod_VertexVoronoi.Voronoi.Voronoi ( int  seed,
double  displacement,
double  frequency,
bool  enableDistance 
)
inline

Member Function Documentation

double PQSMod_VertexVoronoi.Voronoi.GetValue ( double  x,
double  y,
double  z 
)
inline

< Inside each unit cube, there is a seed point at a random position. Go

Property Documentation

double PQSMod_VertexVoronoi.Voronoi.displacement
getset

Scale of the random displacement to apply to each Voronoi cell.

bool PQSMod_VertexVoronoi.Voronoi.enableDistance
getset

Determines if the distance from the nearest seed point is applied to the output value.

double PQSMod_VertexVoronoi.Voronoi.frequency
getset

Frequency of the seed points.

int PQSMod_VertexVoronoi.Voronoi.seed
getset

Seed value used by the coherent-noise function to determine the positions of the seed points.


The documentation for this class was generated from the following file: