The Units type exposes the following members.
Methods|
| Name | Description |
|---|
  | Amps | |
  | Bars | |
  | Centimeters | |
  | CubicFeet | |
  | CubicFeetPerSecond | |
  | CubicInches | |
  | CubicMeters | |
  | CubicMetersPerSecond | |
  | Days | |
  | Degrees | |
  | DegreesCelsius | |
  | DegreesFahrenheit | |
  | DegreesPerSecond | |
  | DegreesPerSecondSquared | |
  | DegreesToRadians | |
  | DynesForce | |
  | ElectricalHorsepower | |
  | Feet | |
  | FeetPerHour | |
  | FeetPerMinute | |
  | FeetPerMinuteSquared | |
  | FeetPerSecond | |
  | FeetPerSecondSquared | |
  | Find | |
  | FootPoundForcePerMinute | |
  | FootPoundForcePerSecond | |
  | Gallons | |
  | Get | |
  | GetUnits(UnitType) |
Gets all the units corresponding to a specified unit type.
|
  | GetUnits(UnitType, UnitSystem) |
Gets all the units corresponding to a specified unit type and system.
|
  | GramsMass | |
  | Hertz | |
  | Hours | |
  | Inches | |
  | KilogramsForce | |
  | KilogramsMass | |
  | KilogramsPerCubicMeter | |
  | Kilometers | |
  | KilometersPerHour | |
  | Liters | |
  | LitersPerMinute | |
  | LitersPerSecond | |
  | MechanicalHorsepower | |
  | Meters | |
  | MetersPerHour | |
  | MetersPerMinute | |
  | MetersPerSecond | |
  | MetersPerSecondSquared | |
  | MetricHorsepower | |
  | MicroNewtonsForce | |
  | Miles | |
  | MilesPerHour | |
  | Milliamps | |
  | Millimeters | |
  | MilliNewtonsForce | |
  | Milliseconds | |
  | Millivolts | |
  | Minutes | |
  | NewtonMeters | |
  | NewtonsForce | |
  | OuncesForce | |
  | OuncesMass | |
  | Parse | |
  | ParseVector2 | |
  | ParseVector3 | |
  | Pascals | |
  | Percentage | |
  | Pints | |
  | PoundForceFeet | |
  | PoundForcePerSquareInch | |
  | PoundsForce | |
  | PoundsMass | |
  | PoundsPerCubicFoot | |
  | Radians | |
  | RadiansToDegrees | |
  | ReadFromRegistry | |
  | Revolutions | |
  | RevsPerHour | |
  | RevsPerHourSquared | |
  | RevsPerMinute | |
  | RevsPerMinuteSquared | |
  | RevsPerSecond | |
  | RevsPerSecondSquared | |
  | Seconds | |
  | SlugsMass | |
  | Split |
Split a string representation of a Vector (e.g a Vector3 will be represented as "1.1,1.2,1.3" or "1.1;1.2;1.3") using the Current Culture's
"list separator" character into the individual components.
Fall back to trying the Invariant Culture separator (",") if different to the Current Culture one.
|
  | SquareCentimeters | |
  | SquareFeet | |
  | SquareInches | |
  | SquareMeters | |
  | SquareYards | |
  | ToString(Double, UnitDescriptor, Boolean) | |
  | ToString(Vector2, UnitDescriptor, Boolean) | |
  | ToString(Vector3, UnitDescriptor, Boolean) | |
  | USGallons | |
  | USGallonsPerMinute | |
  | USGallonsPerSecond | |
  | USPints | |
  | Volts | |
  | Watts | |
  | Weeks | |
  | WriteToRegistry | |
  | Yards | |
Top
See Also