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

Public Member Functions

bool CanTextureAtlasModBeUsed ()
 Checks whether the mod can be used at the moment. More...
 
override void OnQuadBuilt (PQ quad)
 Reads in the information from the textureAtlasMap, uses it to decide which textures to display at each vertex, then packs that information into the uv information for each vertex. More...
 
override void OnSetup ()
 Basic set up for the texture atlas mod. More...
 
- 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 ()
 

Public Attributes

Material material1Blend
 
Material material2Blend
 
Material material3Blend
 
Material material4Blend
 
CBTextureAtlasSO textureAtlasMap
 Asset which represents the texture map which details where each of the textures should be displayed on the celestial body and their strengths. More...
 
- Public Attributes inherited from PQSMod
bool modEnabled = true
 
int order = 100
 
PQS.ModiferRequirements requirements
 
PQS sphere
 

Member Function Documentation

bool PQSMod_TextureAtlas.CanTextureAtlasModBeUsed ( )
inline

Checks whether the mod can be used at the moment.

Returns
Returns true if the mod can be used in the current game state, false otherwise.
override void PQSMod_TextureAtlas.OnQuadBuilt ( PQ  quad)
inlinevirtual

Reads in the information from the textureAtlasMap, uses it to decide which textures to display at each vertex, then packs that information into the uv information for each vertex.

Parameters
quadQuad which we'll generate the texture array information for.

Reimplemented from PQSMod.

override void PQSMod_TextureAtlas.OnSetup ( )
inlinevirtual

Basic set up for the texture atlas mod.

Reimplemented from PQSMod.

Member Data Documentation

Material PQSMod_TextureAtlas.material1Blend
Material PQSMod_TextureAtlas.material2Blend
Material PQSMod_TextureAtlas.material3Blend
Material PQSMod_TextureAtlas.material4Blend
CBTextureAtlasSO PQSMod_TextureAtlas.textureAtlasMap

Asset which represents the texture map which details where each of the textures should be displayed on the celestial body and their strengths.


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