Table of Contents

Class CelestialBodyRing

Namespace
KSP.Rendering
Assembly
Assembly-CSharp.dll
[DisableCustomEditorBase]
public class CelestialBodyRing : KerbalMonoBehaviour
Inheritance
CelestialBodyRing
Inherited Members
Extension Methods

Constructors

CelestialBodyRing()

public CelestialBodyRing()

Fields

alphaEdge

public float alphaEdge

Field Value

float

boundsShift

public float boundsShift

Field Value

float

innerRadius

public float innerRadius

Field Value

float

innerRadiusMesh

public float innerRadiusMesh

Field Value

float

mesh

public Mesh mesh

Field Value

Mesh

outerRadius

public float outerRadius

Field Value

float

outerRadiusMesh

public float outerRadiusMesh

Field Value

float

radiusDetail

public int radiusDetail

Field Value

int

ringPlanePhysics

public Plane ringPlanePhysics

Field Value

Plane

ringPlanePhysicsPos

public Vector3 ringPlanePhysicsPos

Field Value

Vector3

ringShader

public Shader ringShader

Field Value

Shader

ringTexture

public Texture ringTexture

Field Value

Texture

scatteringMie

public float scatteringMie

Field Value

float

scatteringStrength

public float scatteringStrength

Field Value

float

segmentDetail

public int segmentDetail

Field Value

int

segments

public int segments

Field Value

int

Properties

ringPlane

public Plane ringPlane { get; }

Property Value

Plane

Methods

AddParticleField()

public void AddParticleField()

DependentDisable()

public void DependentDisable()

DependentEnable()

public void DependentEnable()

EnableModels()

public void EnableModels()

GetModels()

public List<CelestialBodyRingModel> GetModels()

Returns

List<CelestialBodyRingModel>

GetParticleFields()

public List<GameObject> GetParticleFields()

Returns

List<GameObject>

GetRingGroup()

public CelestialBodyRingGroup GetRingGroup()

Returns

CelestialBodyRingGroup

Init(CelestialBodyRingGroup, CelestialBodyRingData, double)

public void Init(CelestialBodyRingGroup ringGroup, CelestialBodyRingData coreRingData, double bodyRadius)

Parameters

ringGroup CelestialBodyRingGroup
coreRingData CelestialBodyRingData
bodyRadius double

RegenerateMesh()

public void RegenerateMesh()

SetLightingTex(Texture)

public virtual void SetLightingTex(Texture tex)

Parameters

tex Texture

SetSourceLight(Light)

public virtual void SetSourceLight(Light light)

Parameters

light Light

SetSourceLightingValues(Light)

public void SetSourceLightingValues(Light light)

Parameters

light Light

UpdateMaterial()

public virtual void UpdateMaterial()

UpdateMesh()

public void UpdateMesh()

UpdateModels()

public void UpdateModels()