Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Classes | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
PQSLandControl Class Reference
Inheritance diagram for PQSLandControl:
PQSMod

Classes

class  LandClass
 
class  LandClassScatter
 
class  LandClassScatterAmount
 
class  LandClassScatterInstance
 
class  LerpRange
 

Public Member Functions

void ClearAll ()
 
double CubicHermite (double start, double end, double startTangent, double endTangent, double t)
 
override void OnQuadBuilt (PQ quad)
 
override void OnQuadPreBuild (PQ quad)
 
override void OnSetup ()
 
override void OnSphereReset ()
 
override void OnSphereStarted ()
 
override void OnVertexBuild (PQS.VertexBuildData data)
 
override void OnVertexBuildHeight (PQS.VertexBuildData data)
 
- Public Member Functions inherited from PQSMod
virtual double GetVertexMaxHeight ()
 
virtual double GetVertexMinHeight ()
 
virtual void OnMeshBuild ()
 
virtual void OnPostSetup ()
 
virtual void OnPreUpdate ()
 
virtual void OnQuadCreate (PQ quad)
 
virtual void OnQuadDestroy (PQ quad)
 
virtual void OnQuadUpdate (PQ quad)
 
virtual void OnQuadUpdateNormals (PQ quad)
 
virtual void OnSphereActive ()
 
virtual void OnSphereInactive ()
 
virtual bool OnSphereStart ()
 
virtual void OnSphereTransformUpdate ()
 
virtual void OnUpdateFinished ()
 
void RebuildSphere ()
 

Static Public Member Functions

static double Clamp (double v, double low, double high)
 
static double DoubleLerp (double startStart, double startEnd, double endStart, double endEnd, double point)
 
static double Lerp (double v1, double v2, double dt)
 

Public Attributes

float altitudeBlend
 
float altitudeFrequency
 
int altitudeOctaves
 
float altitudePersistance
 
int altitudeSeed
 
Simplex altitudeSimplex
 
bool createColors
 
bool createScatter
 
MapSO heightMap
 
LandClass[] landClasses
 
float latitudeBlend
 
float latitudeFrequency
 
int latitudeOctaves
 
float latitudePersistance
 
int latitudeSeed
 
Simplex latitudeSimplex
 
float longitudeBlend
 
float longitudeFrequency
 
int longitudeOctaves
 
float longitudePersistance
 
int longitudeSeed
 
Simplex longitudeSimplex
 
LandClassScatter[] scatters
 
bool useHeightMap
 
float vHeightMax
 
- Public Attributes inherited from PQSMod
bool modEnabled = true
 
int order = 100
 
PQS.ModiferRequirements requirements
 
PQS sphere
 

Member Function Documentation

static double PQSLandControl.Clamp ( double  v,
double  low,
double  high 
)
inlinestatic
void PQSLandControl.ClearAll ( )
inline
double PQSLandControl.CubicHermite ( double  start,
double  end,
double  startTangent,
double  endTangent,
double  t 
)
inline
static double PQSLandControl.DoubleLerp ( double  startStart,
double  startEnd,
double  endStart,
double  endEnd,
double  point 
)
inlinestatic
static double PQSLandControl.Lerp ( double  v1,
double  v2,
double  dt 
)
inlinestatic
override void PQSLandControl.OnQuadBuilt ( PQ  quad)
inlinevirtual

Reimplemented from PQSMod.

override void PQSLandControl.OnQuadPreBuild ( PQ  quad)
inlinevirtual

Reimplemented from PQSMod.

override void PQSLandControl.OnSetup ( )
inlinevirtual

Reimplemented from PQSMod.

override void PQSLandControl.OnSphereReset ( )
inlinevirtual

Reimplemented from PQSMod.

override void PQSLandControl.OnSphereStarted ( )
inlinevirtual

Reimplemented from PQSMod.

override void PQSLandControl.OnVertexBuild ( PQS.VertexBuildData  data)
inlinevirtual

< now we have total amounts we can construct vert

Reimplemented from PQSMod.

override void PQSLandControl.OnVertexBuildHeight ( PQS.VertexBuildData  data)
inlinevirtual

< select by altitude and latitude (double latitude check if needed)

Reimplemented from PQSMod.

Member Data Documentation

float PQSLandControl.altitudeBlend
float PQSLandControl.altitudeFrequency
int PQSLandControl.altitudeOctaves
float PQSLandControl.altitudePersistance
int PQSLandControl.altitudeSeed
Simplex PQSLandControl.altitudeSimplex
bool PQSLandControl.createColors
bool PQSLandControl.createScatter
MapSO PQSLandControl.heightMap
LandClass [] PQSLandControl.landClasses
float PQSLandControl.latitudeBlend
float PQSLandControl.latitudeFrequency
int PQSLandControl.latitudeOctaves
float PQSLandControl.latitudePersistance
int PQSLandControl.latitudeSeed
Simplex PQSLandControl.latitudeSimplex
float PQSLandControl.longitudeBlend
float PQSLandControl.longitudeFrequency
int PQSLandControl.longitudeOctaves
float PQSLandControl.longitudePersistance
int PQSLandControl.longitudeSeed
Simplex PQSLandControl.longitudeSimplex
LandClassScatter [] PQSLandControl.scatters
bool PQSLandControl.useHeightMap
float PQSLandControl.vHeightMax

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