DotNet.Astronomy.Record.SurfaceMaterial - Elite-Dangerous-Almanac/Almanac-Core GitHub Wiki

EliteDangerousAlmanac / Astronomy / SurfaceMaterial

Record: SurfaceMaterial

Defined in: dotnet/src/EliteDangerousAlmanac/Astronomy/BodyScan.cs:49

One material a landable body's surface carries.

Constructors

new SurfaceMaterial()

new SurfaceMaterial(Name, Percent, NameLocalised?)

Parameters

Name

string

The material symbol, such as iron.

Percent

double

The share of the surface, as a percentage.

NameLocalised

string? = null

The material's display name in the player's language.

Properties

Name

Name: string

The material symbol, such as iron.

NameLocalised

NameLocalised: string?

The material's display name in the player's language.

Percent

Percent: double

The share of the surface, as a percentage.

⚠️ **GitHub.com Fallback** ⚠️