Class CelestialBodyRingGroup
- Namespace
- KSP.Rendering
- Assembly
- Assembly-CSharp.dll
public class CelestialBodyRingGroup : KerbalMonoBehaviour
- Inheritance
-
CelestialBodyRingGroup
- Inherited Members
-
- Extension Methods
-
Constructors
CelestialBodyRingGroup()
public CelestialBodyRingGroup()
Fields
RingHelper
public CelestialBodyRingSimHelper RingHelper
Field Value
- CelestialBodyRingSimHelper
alphaFarFlight
public float alphaFarFlight
Field Value
- float
alphaFarMap
Field Value
- float
alphaNearFlight
public float alphaNearFlight
Field Value
- float
alphaNearMap
public float alphaNearMap
Field Value
- float
ambientDay
Field Value
- Color
ambientNight
public Color ambientNight
Field Value
- Color
backPower
Field Value
- float
backStrength
public float backStrength
Field Value
- float
baseStrength
public float baseStrength
Field Value
- float
format
public TextureFormat format
Field Value
- TextureFormat
frontPower
Field Value
- float
horizontalPadding
public float horizontalPadding
Field Value
- float
isMapItem
Field Value
- bool
lightingTex
public Texture lightingTex
Field Value
- Texture
shadowThickness
public float shadowThickness
Field Value
- float
verticalPadding
public float verticalPadding
Field Value
- float
width
Field Value
- int
Methods
AddNewRing(int)
public void AddNewRing(int index)
Parameters
index int
AddParticleFieldAtIndex(int)
public void AddParticleFieldAtIndex(int index)
Parameters
index int
GetBounds()
public Vector3 GetBounds()
Returns
- Vector3
GetCoreCelestialBodyData()
public void GetCoreCelestialBodyData()
GetRenderers()
public List<MeshRenderer> GetRenderers()
Returns
- List<MeshRenderer>
GetRings()
public List<CelestialBodyRing> GetRings()
Returns
- List<CelestialBodyRing>
OnDestroy()
protected virtual void OnDestroy()
OnDisable()
protected virtual void OnDisable()
PrevisAwake(PrevisGameInstance)
public void PrevisAwake(PrevisGameInstance previsGame)
Parameters
previsGame PrevisGameInstance
RegenerateMeshAtIndex(int)
public void RegenerateMeshAtIndex(int index)
Parameters
index int
RemoveGroupAtIndex(int)
public void RemoveGroupAtIndex(int index)
Parameters
index int
SetLightingTexForRings()
public void SetLightingTexForRings()
SetSourceLight(Light)
public void SetSourceLight(Light light)
Parameters
light Light
UpdateAllMaterials()
public void UpdateAllMaterials()
UpdateMaterialAtIndex(int)
public void UpdateMaterialAtIndex(int index)
Parameters
index int
UpdateRingsInGroup()
public void UpdateRingsInGroup()
UpdateTexture()
public void UpdateTexture()