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

Public Member Functions

void UpdateMaterialControlSettings ()
 Updates the material control settings Please call this method if this object is assigned to a gas giant and you change the material assigned to the mesh renderer. More...
 

Properties

float BandMovementSpeed [get, set]
 Controls how fast the bands on Jool move. Clamped between -10 and 10. More...
 
Texture2D CloudPatternMap [set]
 Cloud pattern Map used for texturing Jool from afar. Red channel is used for pattern when far away and selecting colours from colour ramps. Green channel is used for blending between colour ramps. More...
 
Texture2D ColourMap [set]
 Colour Map used for colouring Jool More...
 
Texture2D ColourMap2 [set]
 Colour Map 2 used for colouring Jool More...
 
Texture2D DetailCloudPatternMap [set]
 Cloud pattern Map used for texturing Jool close up. Red channel is used for pattern when close. More...
 
Texture2D DetailColourMap [set]
 Colour Map used for colouring Jool up close More...
 
Texture2D DetailNormalMap [set]
 Normal Map used from afar. More...
 
float DetailTiling [get, set]
 Controls the uv tiling of the detail pattern texture. More...
 
float FarDetailDistance [get, set]
 Distance at which to finish blending from the detail texture to the normal texture. More...
 
float FarDetailStrength [get, set]
 Minimum ratio (between 0 and 1) that detail texture is display at when far from Jool. Normal texture will comprise the rest of the texturing. More...
 
Texture2D MovementControlTexture [set]
 Texture used for controlling band movement across the surface of the celestial body. Red channel controls left band movement Green channel controls right band movement Blue channel controls blend between left and right movement bands Alpha channel controls swirl pan speed More...
 
float NearDetailDistance [get, set]
 Distance at which to start blending from the detail texture to the normal texture. More...
 
float NearDetailStrength [get, set]
 Maximum ratio (between 0 and 1) that detail texture is display at when close to Jool. Normal texture will comprise the rest of the texturing. More...
 
Texture2D NormalMap [set]
 Normal Map used from afar. More...
 
Texture2D SwirlControlTexture [set]
 Texture used for controlling swirls. Red channel represents the x position of the centre of the swirl Green channel represents the y position of the centre of the swirl Blue channel controls how much the swirls rotate. More...
 
float SwirlPanSpeed [get, set]
 Controls how fast the swirls move across the surface of Jool. Clamped between -10 and 10. More...
 
float SwirlRotationSpeed [get, set]
 Controls how fast the swirls on Jool rotate. Clamped between 0 and 10. More...
 
float SwirlRotationSwirliness [get, set]
 Controls the extent of the rotation of the swirls on Jool. Clamped between -10 and 10. More...
 

Member Function Documentation

void GasGiantMaterialControls.UpdateMaterialControlSettings ( )
inline

Updates the material control settings Please call this method if this object is assigned to a gas giant and you change the material assigned to the mesh renderer.

Property Documentation

float GasGiantMaterialControls.BandMovementSpeed
getset

Controls how fast the bands on Jool move. Clamped between -10 and 10.

Texture2D GasGiantMaterialControls.CloudPatternMap
set

Cloud pattern Map used for texturing Jool from afar. Red channel is used for pattern when far away and selecting colours from colour ramps. Green channel is used for blending between colour ramps.

Texture2D GasGiantMaterialControls.ColourMap
set

Colour Map used for colouring Jool

Texture2D GasGiantMaterialControls.ColourMap2
set

Colour Map 2 used for colouring Jool

Texture2D GasGiantMaterialControls.DetailCloudPatternMap
set

Cloud pattern Map used for texturing Jool close up. Red channel is used for pattern when close.

Texture2D GasGiantMaterialControls.DetailColourMap
set

Colour Map used for colouring Jool up close

Texture2D GasGiantMaterialControls.DetailNormalMap
set

Normal Map used from afar.

float GasGiantMaterialControls.DetailTiling
getset

Controls the uv tiling of the detail pattern texture.

float GasGiantMaterialControls.FarDetailDistance
getset

Distance at which to finish blending from the detail texture to the normal texture.

float GasGiantMaterialControls.FarDetailStrength
getset

Minimum ratio (between 0 and 1) that detail texture is display at when far from Jool. Normal texture will comprise the rest of the texturing.

Texture2D GasGiantMaterialControls.MovementControlTexture
set

Texture used for controlling band movement across the surface of the celestial body. Red channel controls left band movement Green channel controls right band movement Blue channel controls blend between left and right movement bands Alpha channel controls swirl pan speed

float GasGiantMaterialControls.NearDetailDistance
getset

Distance at which to start blending from the detail texture to the normal texture.

float GasGiantMaterialControls.NearDetailStrength
getset

Maximum ratio (between 0 and 1) that detail texture is display at when close to Jool. Normal texture will comprise the rest of the texturing.

Texture2D GasGiantMaterialControls.NormalMap
set

Normal Map used from afar.

Texture2D GasGiantMaterialControls.SwirlControlTexture
set

Texture used for controlling swirls. Red channel represents the x position of the centre of the swirl Green channel represents the y position of the centre of the swirl Blue channel controls how much the swirls rotate.

float GasGiantMaterialControls.SwirlPanSpeed
getset

Controls how fast the swirls move across the surface of Jool. Clamped between -10 and 10.

float GasGiantMaterialControls.SwirlRotationSpeed
getset

Controls how fast the swirls on Jool rotate. Clamped between 0 and 10.

float GasGiantMaterialControls.SwirlRotationSwirliness
getset

Controls the extent of the rotation of the swirls on Jool. Clamped between -10 and 10.


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