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_MapDecalTangent Class Reference
Inheritance diagram for PQSMod_MapDecalTangent:
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
 
double 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_MapDecalTangent.Lerp ( double  v2,
double  v1,
double  dt 
)
inlinestatic
override void PQSMod_MapDecalTangent.OnQuadBuilt ( PQ  quad)
inlinevirtual

Reimplemented from PQSMod.

override void PQSMod_MapDecalTangent.OnQuadPreBuild ( PQ  quad)
inlinevirtual

Reimplemented from PQSMod.

override void PQSMod_MapDecalTangent.OnSetup ( )
inlinevirtual

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

Reimplemented from PQSMod.

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

Reimplemented from PQSMod.

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

< calc smoothing factor. minimum of the two coords smoothing

Reimplemented from PQSMod.

Member Data Documentation

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

these are in uv so fractions of radius

bool PQSMod_MapDecalTangent.useAlphaHeightSmoothing

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