Declared in SolarSystem
Declaration
void CreateAtmosphereExponential(
string planet,
double baseDensity,
double scaleHeight,
double localTemperature,
double minReach,
double maxReach
);
Description
Creates a new exponential atmosphere and attaches it to a planet in the Universe
Parameters
Name | Description |
---|---|
planet | The name of the planet to attach to |
baseDensity | [kg/m^3] Density of the atmosphere at h=0 |
scaleHeight | [m] Exponential characteristic height |
localTemperature | [K] Local atmospheric temperature (constant) |
minReach | [m] Minimum planet-relative position needed for the environment to work |
maxReach | [m] Maximum distance at which the environment will be calculated |