Defines a measurement of length in meters able to be converted to other measurements.
More...
|
| Length (ulong meters) |
| Initializes a new instance of the T:MidnightBlue.Length class. More...
|
|
Defines a measurement of length in meters able to be converted to other measurements.
§ Length()
MidnightBlue.Length.Length |
( |
ulong |
meters | ) |
|
|
inline |
Initializes a new instance of the T:MidnightBlue.Length class.
- Parameters
-
meters | Initial length to set in meters. |
§ AstronomicalUnit
const float MidnightBlue.Length.AstronomicalUnit = 149597870.7f |
A single Astronomical Unit in kilometers
§ AU
float MidnightBlue.Length.AU |
|
get |
Gets the length in Astronomical Unites
The length in astronomical units.
§ Centimeters
ulong MidnightBlue.Length.Centimeters |
|
get |
Gets the length in centimeters
The length in centimeters.
§ Kilometers
ulong MidnightBlue.Length.Kilometers |
|
get |
Gets the length in kilometers
The length in kilometers.
§ Meters
ulong MidnightBlue.Length.Meters |
|
get |
Gets the length in meters
The length in meters.
§ RelativeKilometers
int MidnightBlue.Length.RelativeKilometers |
|
get |
Gets the length in kilometers represented as a smaller value used for calculations.
The length in relative kilometers.
The documentation for this class was generated from the following file:
- Shared/src/Game/Environment/Length.cs