Navigation
API > API/Runtime > API/Runtime/Core
Enum must be zero-indexed and sequential. Must be grouped by relevance and ordered by magnitude. Enum must match the mirrored enum that exists in CoreUObject/NoExportTypes.h for the purposes of UObject reflection
| Name | EUnit |
| Type | enum |
| Header File | /Engine/Source/Runtime/Core/Public/Math/UnitConversion.h |
| Include Path | #include "Math/UnitConversion.h" |
Syntax
enum EUnit
{
Micrometers,
Millimeters,
Centimeters,
Meters,
Kilometers,
Inches,
Feet,
Yards,
Miles,
Lightyears,
Degrees,
Radians,
CentimetersPerSecond,
MetersPerSecond,
KilometersPerHour,
MilesPerHour,
DegreesPerSecond,
RadiansPerSecond,
CentimetersPerSecondSquared,
MetersPerSecondSquared,
Celsius,
Farenheit,
Kelvin,
Micrograms,
Milligrams,
Grams,
Kilograms,
MetricTons,
Ounces,
Pounds,
Stones,
GramsPerCubicCentimeter,
GramsPerCubicMeter,
KilogramsPerCubicCentimeter,
KilogramsPerCubicMeter,
Newtons,
PoundsForce,
KilogramsForce,
KilogramCentimetersPerSecondSquared,
NewtonMeters,
KilogramCentimetersSquaredPerSecondSquared,
NewtonSeconds,
KilogramCentimeters,
KilogramMeters,
Hertz,
Kilohertz,
Megahertz,
Gigahertz,
RevolutionsPerMinute,
Bytes,
Kilobytes,
Megabytes,
Gigabytes,
Terabytes,
Lumens,
Candela,
Lux,
CandelaPerMeter2,
Nit,
ExposureValue,
Nanoseconds,
Microseconds,
Milliseconds,
Seconds,
Minutes,
Hours,
Days,
Months,
Years,
PixelsPerInch,
Percentage,
Multiplier,
Pascals,
KiloPascals,
MegaPascals,
GigaPascals,
Unspecified,
}
Values
| Name | Remarks |
|---|---|
| Micrometers | Scalar distance/length unit. |
| Millimeters | |
| Centimeters | |
| Meters | |
| Kilometers | |
| Inches | |
| Feet | |
| Yards | |
| Miles | |
| Lightyears | |
| Degrees | Angular unit. |
| Radians | |
| CentimetersPerSecond | Speed unit. |
| MetersPerSecond | |
| KilometersPerHour | |
| MilesPerHour | |
| DegreesPerSecond | Angular speed unit. |
| RadiansPerSecond | |
| CentimetersPerSecondSquared | Acceleration unit. |
| MetersPerSecondSquared | |
| Celsius | Temperature unit. |
| Farenheit | |
| Kelvin | |
| Micrograms | Mass unit. |
| Milligrams | |
| Grams | |
| Kilograms | |
| MetricTons | |
| Ounces | |
| Pounds | |
| Stones | |
| GramsPerCubicCentimeter | Density unit. |
| GramsPerCubicMeter | |
| KilogramsPerCubicCentimeter | |
| KilogramsPerCubicMeter | |
| Newtons | Force unit. |
| PoundsForce | |
| KilogramsForce | |
| KilogramCentimetersPerSecondSquared | |
| NewtonMeters | Torque unit. |
| KilogramCentimetersSquaredPerSecondSquared | |
| NewtonSeconds | Impulse unit. |
| KilogramCentimeters | |
| KilogramMeters | |
| Hertz | Frequency unit. |
| Kilohertz | |
| Megahertz | |
| Gigahertz | |
| RevolutionsPerMinute | |
| Bytes | Data Size unit. |
| Kilobytes | |
| Megabytes | |
| Gigabytes | |
| Terabytes | |
| Lumens | Luminous flux unit. |
| Candela | Luminous intensity unit. |
| Lux | Illuminance unit. |
| CandelaPerMeter2 | Luminance unit. |
| Nit | |
| ExposureValue | Exposure value unit. |
| Nanoseconds | Time unit. |
| Microseconds | |
| Milliseconds | |
| Seconds | |
| Minutes | |
| Hours | |
| Days | |
| Months | |
| Years | |
| PixelsPerInch | Pixel density unit. |
| Percentage | Percentage. |
| Multiplier | Arbitrary multiplier. |
| Pascals | Stress unit. |
| KiloPascals | |
| MegaPascals | |
| GigaPascals | |
| Unspecified | Symbolic entry, not specifiable on meta data. |