Class AtmosphereTransitionVFXHandling
- Namespace
- KSP.Sim.impl
- Assembly
- Assembly-CSharp.dll
public class AtmosphereTransitionVFXHandling
- Inheritance
-
AtmosphereTransitionVFXHandling
- Inherited Members
-
- Extension Methods
-
Constructors
AtmosphereTransitionVFXHandling()
public AtmosphereTransitionVFXHandling()
Fields
STANDARD_ATMOS_PRESSURE_KPA
public const float STANDARD_ATMOS_PRESSURE_KPA = 101.325
Field Value
- float
VesselAngularVelocity
public float VesselAngularVelocity
Field Value
- float
VesselPressureNormalized
public float VesselPressureNormalized
Field Value
- float
VesselPressurekPa
public float VesselPressurekPa
Field Value
- float
startAtmosphericFadeAtPercentage
public float startAtmosphericFadeAtPercentage
Field Value
- float
vfxInAtmosphereList
public List<AtmosphereTransitionVFXHandling.AtmosphericCrossfadeData> vfxInAtmosphereList
Field Value
- List<AtmosphereTransitionVFXHandling.AtmosphericCrossfadeData>
vfxOutOfAtmosphereList
public List<AtmosphereTransitionVFXHandling.AtmosphericCrossfadeData> vfxOutOfAtmosphereList
Field Value
- List<AtmosphereTransitionVFXHandling.AtmosphericCrossfadeData>
Methods
AddAtmosphericVFX(GameObject, GameObject)
public void AddAtmosphericVFX(GameObject atmoGO, GameObject vacGO)
Parameters
atmoGO GameObject
vacGO GameObject
CalcRotationSpeedOfVessel(VesselComponent)
public void CalcRotationSpeedOfVessel(VesselComponent vessel)
Parameters
vessel VesselComponent
CollectAtmosphericVFX()
public void CollectAtmosphericVFX()
CollectAtmosphericVFX(GameObject)
public void CollectAtmosphericVFX(GameObject targetGO)
Parameters
targetGO GameObject
GetPressureFromVessel(VesselComponent)
public void GetPressureFromVessel(VesselComponent vessel)
Parameters
vessel VesselComponent
Init(PartBehavior)
public void Init(PartBehavior _parentPart)
Parameters
_parentPart PartBehavior
InitForTesting(GameObject)
public void InitForTesting(GameObject targetGO)
Parameters
targetGO GameObject
SetAtmosphericVFXAlpha()
public void SetAtmosphericVFXAlpha()