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

Public Member Functions

void AddScatterMeshController (PQ quad)
 
MeshFilter AssignScatterMesh (PQ quad, int seed, int count)
 
override void OnQuadBuilt (PQ quad)
 
override void OnSetup ()
 
void UnassignScatterMesh (MeshFilter mf)
 
- 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 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 ()
 
virtual void OnVertexBuild (PQS.VertexBuildData data)
 
virtual void OnVertexBuildHeight (PQS.VertexBuildData data)
 
void RebuildSphere ()
 

Static Public Member Functions

static Vector3 RandomRange (Vector3 min, Vector3 max)
 

Public Attributes

Color baseColor
 
Mesh baseMesh
 
List< MeshFilter > cacheAssigned
 
int cacheAssignedCount
 
List< MeshFilter > cacheUnassigned
 
int cacheUnassignedCount
 
bool castShadows
 
float countPerSqM
 
Material material
 
int maxCache
 
int maxCacheCount
 
Vector3 maxScale
 
int maxScatter
 
Vector3 minScale
 
int minSubdivision
 
Vector3[] normals
 
Vector3[] normUntrans
 
bool recieveShadows
 
Texture2D scatterMap
 
string scatterName
 
GameObject scatterParent
 
int seed
 
int triStride
 
int[] trisUntrans
 
Vector2[] uvUntrans
 
float verticalOffset
 
Vector3[] verts
 
int vertStride
 
Vector3[] vertsUntrans
 
- Public Attributes inherited from PQSMod
bool modEnabled = true
 
int order = 100
 
PQS.ModiferRequirements requirements
 
PQS sphere
 

Member Function Documentation

void PQSMod_MeshScatter.AddScatterMeshController ( PQ  quad)
inline
MeshFilter PQSMod_MeshScatter.AssignScatterMesh ( PQ  quad,
int  seed,
int  count 
)
inline
override void PQSMod_MeshScatter.OnQuadBuilt ( PQ  quad)
inlinevirtual

Reimplemented from PQSMod.

override void PQSMod_MeshScatter.OnSetup ( )
inlinevirtual

Reimplemented from PQSMod.

static Vector3 PQSMod_MeshScatter.RandomRange ( Vector3  min,
Vector3  max 
)
inlinestatic
void PQSMod_MeshScatter.UnassignScatterMesh ( MeshFilter  mf)
inline

Member Data Documentation

Color PQSMod_MeshScatter.baseColor
Mesh PQSMod_MeshScatter.baseMesh
List<MeshFilter> PQSMod_MeshScatter.cacheAssigned
int PQSMod_MeshScatter.cacheAssignedCount
List<MeshFilter> PQSMod_MeshScatter.cacheUnassigned
int PQSMod_MeshScatter.cacheUnassignedCount
bool PQSMod_MeshScatter.castShadows
float PQSMod_MeshScatter.countPerSqM
Material PQSMod_MeshScatter.material
int PQSMod_MeshScatter.maxCache
int PQSMod_MeshScatter.maxCacheCount
Vector3 PQSMod_MeshScatter.maxScale
int PQSMod_MeshScatter.maxScatter
Vector3 PQSMod_MeshScatter.minScale
int PQSMod_MeshScatter.minSubdivision
Vector3 [] PQSMod_MeshScatter.normals
Vector3 [] PQSMod_MeshScatter.normUntrans
bool PQSMod_MeshScatter.recieveShadows
Texture2D PQSMod_MeshScatter.scatterMap
string PQSMod_MeshScatter.scatterName
GameObject PQSMod_MeshScatter.scatterParent
int PQSMod_MeshScatter.seed
int PQSMod_MeshScatter.triStride
int [] PQSMod_MeshScatter.trisUntrans
Vector2 [] PQSMod_MeshScatter.uvUntrans
float PQSMod_MeshScatter.verticalOffset
Vector3 [] PQSMod_MeshScatter.verts
int PQSMod_MeshScatter.vertStride
Vector3 [] PQSMod_MeshScatter.vertsUntrans

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