Table of Contents

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

public float alphaFarMap

Field Value

float

alphaNearFlight

public float alphaNearFlight

Field Value

float

alphaNearMap

public float alphaNearMap

Field Value

float

ambientDay

public Color ambientDay

Field Value

Color

ambientNight

public Color ambientNight

Field Value

Color

backPower

public float 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

public float frontPower

Field Value

float

horizontalPadding

public float horizontalPadding

Field Value

float

isMapItem

public bool 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

public int 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()