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
PQSMod_VertexPlanet Class Reference
Inheritance diagram for PQSMod_VertexPlanet:
PQSMod

Classes

class  LandClass
 
class  NoiseModWrapper
 
class  SimplexWrapper
 

Public Member Functions

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

Static Public Member Functions

static double Clamp (double v, double low, double high)
 
static double Lerp (double v2, double v1, double dt)
 

Public Attributes

bool buildHeightColors
 
double colorDeformity
 
SimplexWrapper continental
 
SimplexWrapper continentalRuggedness
 
NoiseModWrapper continentalSharpness
 
SimplexWrapper continentalSharpnessMap
 
double deformity
 
LandClass[] landClasses
 
double oceanDepth
 
double oceanLevel
 
bool oceanSnap
 
double oceanStep
 
int seed
 
double terrainRidgeBalance = 0.1
 
double terrainRidgesMax = 1.0
 
double terrainRidgesMin = 0.4
 
double terrainShapeEnd = -2
 lower = bigger mountains More...
 
double terrainShapeStart = 2
 lower = bigger mountains More...
 
double terrainSmoothing = 0.25
 higher = more More...
 
SimplexWrapper terrainType
 
- Public Attributes inherited from PQSMod
bool modEnabled = true
 
int order = 100
 
PQS.ModiferRequirements requirements
 
PQS sphere
 

Member Function Documentation

static double PQSMod_VertexPlanet.Clamp ( double  v,
double  low,
double  high 
)
inlinestatic
double PQSMod_VertexPlanet.CubicHermite ( double  start,
double  end,
double  startTangent,
double  endTangent,
double  t 
)
inline
override double PQSMod_VertexPlanet.GetVertexMaxHeight ( )
inlinevirtual

Reimplemented from PQSMod.

override double PQSMod_VertexPlanet.GetVertexMinHeight ( )
inlinevirtual

Reimplemented from PQSMod.

static double PQSMod_VertexPlanet.Lerp ( double  v2,
double  v1,
double  dt 
)
inlinestatic
override void PQSMod_VertexPlanet.OnSetup ( )
inlinevirtual

Reimplemented from PQSMod.

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

Reimplemented from PQSMod.

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

Reimplemented from PQSMod.

void PQSMod_VertexPlanet.SelectLandClassByHeight ( double  height)
inline

Member Data Documentation

bool PQSMod_VertexPlanet.buildHeightColors
double PQSMod_VertexPlanet.colorDeformity
SimplexWrapper PQSMod_VertexPlanet.continental
SimplexWrapper PQSMod_VertexPlanet.continentalRuggedness
NoiseModWrapper PQSMod_VertexPlanet.continentalSharpness
SimplexWrapper PQSMod_VertexPlanet.continentalSharpnessMap
double PQSMod_VertexPlanet.deformity
LandClass [] PQSMod_VertexPlanet.landClasses
double PQSMod_VertexPlanet.oceanDepth
double PQSMod_VertexPlanet.oceanLevel
bool PQSMod_VertexPlanet.oceanSnap
double PQSMod_VertexPlanet.oceanStep
int PQSMod_VertexPlanet.seed
double PQSMod_VertexPlanet.terrainRidgeBalance = 0.1
double PQSMod_VertexPlanet.terrainRidgesMax = 1.0
double PQSMod_VertexPlanet.terrainRidgesMin = 0.4
double PQSMod_VertexPlanet.terrainShapeEnd = -2

lower = bigger mountains

double PQSMod_VertexPlanet.terrainShapeStart = 2

lower = bigger mountains

double PQSMod_VertexPlanet.terrainSmoothing = 0.25

higher = more

SimplexWrapper PQSMod_VertexPlanet.terrainType

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