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

Public Member Functions

override void OnQuadBuilt (PQ quad)
 
override void OnQuadPreBuild (PQ quad)
 
override void OnSetup ()
 
override void OnVertexBuild (PQS.VertexBuildData vbData)
 
override void OnVertexBuildHeight (PQS.VertexBuildData vbData)
 
- 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 void OnSphereReset ()
 
virtual bool OnSphereStart ()
 
virtual void OnSphereStarted ()
 
virtual void OnSphereTransformUpdate ()
 
virtual void OnUpdateFinished ()
 
void RebuildSphere ()
 

Static Public Member Functions

static double Lerp (double v2, double v1, double dt)
 

Public Attributes

bool absolute
 
float absoluteOffset
 
float angle
 
MapSO colorMap
 
bool cullBlack
 
bool DEBUG_HighlightInclusion
 
MapSO heightMap
 
double heightMapDeformity
 
Vector3 position
 
double radius
 
bool removeScatter
 
float smoothColor
 
float smoothHeight
 these are in uv so fractions of radius More...
 
bool useAlphaHeightSmoothing
 
- Public Attributes inherited from PQSMod
bool modEnabled = true
 
int order = 100
 
PQS.ModiferRequirements requirements
 
PQS sphere
 

Member Function Documentation

static double PQSMod_MapDecal.Lerp ( double  v2,
double  v1,
double  dt 
)
inlinestatic
override void PQSMod_MapDecal.OnQuadBuilt ( PQ  quad)
inlinevirtual

Reimplemented from PQSMod.

override void PQSMod_MapDecal.OnQuadPreBuild ( PQ  quad)
inlinevirtual

Reimplemented from PQSMod.

override void PQSMod_MapDecal.OnSetup ( )
inlinevirtual

< mult by two because we want to cover full quads if we cover less than half

Reimplemented from PQSMod.

override void PQSMod_MapDecal.OnVertexBuild ( PQS.VertexBuildData  vbData)
inlinevirtual

Reimplemented from PQSMod.

override void PQSMod_MapDecal.OnVertexBuildHeight ( PQS.VertexBuildData  vbData)
inlinevirtual

< calc smoothing factor. minimum of the two coords smoothing

Reimplemented from PQSMod.

Member Data Documentation

bool PQSMod_MapDecal.absolute
float PQSMod_MapDecal.absoluteOffset
float PQSMod_MapDecal.angle
MapSO PQSMod_MapDecal.colorMap
bool PQSMod_MapDecal.cullBlack
bool PQSMod_MapDecal.DEBUG_HighlightInclusion
MapSO PQSMod_MapDecal.heightMap
double PQSMod_MapDecal.heightMapDeformity
Vector3 PQSMod_MapDecal.position
double PQSMod_MapDecal.radius
bool PQSMod_MapDecal.removeScatter
float PQSMod_MapDecal.smoothColor
float PQSMod_MapDecal.smoothHeight

these are in uv so fractions of radius

bool PQSMod_MapDecal.useAlphaHeightSmoothing

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