Struct CelestialBodyProperties
- Namespace
- KSP.Sim.Definitions
- Assembly
- Assembly-CSharp.dll
[Obsolete("(2020-12-10) Migrate to Celestial Body Data. This will be reduced then removed in 2021. If that class doesn't have the data you need, add it or ask an engineer where else to put it.")]
public struct CelestialBodyProperties
- Inherited Members
-
- Extension Methods
-
Fields
BodyAltitudeFluxCurve
public FloatCurve BodyAltitudeFluxCurve
Field Value
- FloatCurve
BodyAltitudeRelativeHumidityCurve
public FloatCurve BodyAltitudeRelativeHumidityCurve
Field Value
- FloatCurve
BodyAltitudeSurfaceFluxCurve
public FloatCurve BodyAltitudeSurfaceFluxCurve
Field Value
- FloatCurve
BodyAltitudeTemperatureCurve
public FloatCurve BodyAltitudeTemperatureCurve
Field Value
- FloatCurve
BodySurfaceFluxMapPath
public string BodySurfaceFluxMapPath
Field Value
- string
BodySurfaceFluxScale
public double BodySurfaceFluxScale
Field Value
- double
HasLocalSpace
public bool HasLocalSpace
Field Value
- bool
IsStar
[TypeConverterIgnore]
public bool IsStar
Field Value
- bool
MaxTerrainHeight
public double MaxTerrainHeight
Field Value
- double
MinTerrainHeight
public double MinTerrainHeight
Field Value
- double
SphereOfInfluenceCalculationType
public int SphereOfInfluenceCalculationType
Field Value
- int
StarLuminosity
public double StarLuminosity
Field Value
- double
TerrainHeightScale
public double TerrainHeightScale
Field Value
- double
TimeWarpAltitudeOffset
public double TimeWarpAltitudeOffset
Field Value
- double
albedo
Field Value
- double
assetKeyScaled
public string assetKeyScaled
Field Value
- string
assetKeySimulation
public string assetKeySimulation
Field Value
- string
atmosphereAdiabaticIndex
public double atmosphereAdiabaticIndex
Field Value
- double
atmosphereContainsOxygen
public bool atmosphereContainsOxygen
Field Value
- bool
atmosphereDepth
public double atmosphereDepth
Field Value
- double
atmosphereGasMassLapseRate
public double atmosphereGasMassLapseRate
Field Value
- double
atmosphereMolarMass
public double atmosphereMolarMass
Field Value
- double
atmospherePressureCurve
public FloatCurve atmospherePressureCurve
Field Value
- FloatCurve
atmospherePressureSeaLevel
public double atmospherePressureSeaLevel
Field Value
- double
atmosphereTemperatureLapseRate
public double atmosphereTemperatureLapseRate
Field Value
- double
atmosphereTemperatureSeaLevel
public double atmosphereTemperatureSeaLevel
Field Value
- double
axialTilt
public QuaternionD axialTilt
Field Value
- QuaternionD
bodyDescription
public string bodyDescription
Field Value
- string
bodyDisplayName
public string bodyDisplayName
Field Value
- string
bodyName
Field Value
- string
clampInverseRotThreshold
public bool clampInverseRotThreshold
Field Value
- bool
convectionMultiplier
public double convectionMultiplier
Field Value
- double
coreTemperatureOffset
public double coreTemperatureOffset
Field Value
- double
emissivity
Field Value
- double
gravityASL
Field Value
- double
hasAtmosphere
public bool hasAtmosphere
Field Value
- bool
hasInverseRotation
public bool hasInverseRotation
Field Value
- bool
hasOcean
Field Value
- bool
hasSolarRotationPeriod
public bool hasSolarRotationPeriod
Field Value
- bool
hasSolidSurface
public bool hasSolidSurface
Field Value
- bool
initialRotation
public double initialRotation
Field Value
- double
inverseRotThresholdAltitude
public float inverseRotThresholdAltitude
Field Value
- float
isAtmospherePressureCurveNormalized
public bool isAtmospherePressureCurveNormalized
Field Value
- bool
isAtmosphereTemperatureCurveNormalized
public bool isAtmosphereTemperatureCurveNormalized
Field Value
- bool
isHomeWorld
Field Value
- bool
isTidallyLocked
public bool isTidallyLocked
Field Value
- bool
minOrbitalDistance
public double minOrbitalDistance
Field Value
- double
navballSwitchAltitudeHigh
public double navballSwitchAltitudeHigh
Field Value
- double
navballSwitchAltitudeLow
public double navballSwitchAltitudeLow
Field Value
- double
oceanAFGAltMult
public float oceanAFGAltMult
Field Value
- float
oceanAFGBase
public float oceanAFGBase
Field Value
- float
oceanAFGLerp
Field Value
- bool
oceanAFGMin
Field Value
- float
oceanAlbedoDistanceScalar
public float oceanAlbedoDistanceScalar
Field Value
- float
oceanAlphaDistanceScalar
public float oceanAlphaDistanceScalar
Field Value
- float
oceanAltitude
public double oceanAltitude
Field Value
- double
oceanDensity
public double oceanDensity
Field Value
- double
oceanFogColorEnd
public Color oceanFogColorEnd
Field Value
- Color
oceanFogColorStart
public Color oceanFogColorStart
Field Value
- Color
oceanFogDawnFactor
public float oceanFogDawnFactor
Field Value
- float
oceanFogDensityAltScalar
public float oceanFogDensityAltScalar
Field Value
- float
oceanFogDensityEnd
public float oceanFogDensityEnd
Field Value
- float
oceanFogDensityExponent
public float oceanFogDensityExponent
Field Value
- float
oceanFogDensityPQSMult
public float oceanFogDensityPQSMult
Field Value
- float
oceanFogDensityStart
public float oceanFogDensityStart
Field Value
- float
oceanFogPQSDepth
public double oceanFogPQSDepth
Field Value
- double
oceanFogPQSDepthRecip
public float oceanFogPQSDepthRecip
Field Value
- float
oceanMaxAlbedoFog
public float oceanMaxAlbedoFog
Field Value
- float
oceanMaxAlphaFog
public float oceanMaxAlphaFog
Field Value
- float
oceanMinAlphaFogDistance
public float oceanMinAlphaFogDistance
Field Value
- float
oceanSkyColorMult
public float oceanSkyColorMult
Field Value
- float
oceanSkyColorOpacityAltMult
public float oceanSkyColorOpacityAltMult
Field Value
- float
oceanSkyColorOpacityBase
public float oceanSkyColorOpacityBase
Field Value
- float
oceanSunAltMult
public float oceanSunAltMult
Field Value
- float
oceanSunBase
public float oceanSunBase
Field Value
- float
oceanSunMin
Field Value
- float
oceanUseFog
Field Value
- bool
radius
Field Value
- double
ringGroupData
public List<CelestialBodyRingData> ringGroupData
Field Value
- List<CelestialBodyRingData>
rotates
Field Value
- bool
rotationPeriod
public double rotationPeriod
Field Value
- double
scaledElipRadMult
public Vector3d scaledElipRadMult
Field Value
- Vector3d
scaledRadiusHorizMultiplier
public double scaledRadiusHorizMultiplier
Field Value
- double
scaledShaderFadeFar
public float scaledShaderFadeFar
Field Value
- float
scaledShaderFadeNear
public float scaledShaderFadeNear
Field Value
- float
scienceValues
[TypeConverterIgnore]
public CelestialBodyProperties.ScienceParams scienceValues
Field Value
- CelestialBodyProperties.ScienceParams
shockTemperatureMultiplier
public double shockTemperatureMultiplier
Field Value
- double
sunlightPrefab
[TypeConverterIgnore]
public string sunlightPrefab
Field Value
- string
useAtmosphereHumidityCurve
public bool useAtmosphereHumidityCurve
Field Value
- bool
useAtmospherePressureCurve
public bool useAtmospherePressureCurve
Field Value
- bool
useAtmosphereTemperatureCurve
public bool useAtmosphereTemperatureCurve
Field Value
- bool
Methods
Defaults(out CelestialBodyProperties)
public static void Defaults(out CelestialBodyProperties definition)
Parameters
definition CelestialBodyProperties
FromCelestialBodyComponent(CelestialBodyComponent, out CelestialBodyProperties)
public static void FromCelestialBodyComponent(CelestialBodyComponent celestialBody, out CelestialBodyProperties definition)
Parameters
celestialBody CelestialBodyComponent
definition CelestialBodyProperties
GetScaledSpaceAssetKeyFromBody(string)
public static string GetScaledSpaceAssetKeyFromBody(string name)
Parameters
name string
Returns
- string
GetSimulationSpaceAssetKeyFromBody(string)
public static string GetSimulationSpaceAssetKeyFromBody(string name)
Parameters
name string
Returns
- string