unreal.Unit

class unreal.Unit

Bases: unreal.EnumBase

A set of numerical unit types supported by the engine. Mirrored from UnitConversion.h

C++ Source:

  • Module: CoreUObject

  • File: NoExportTypes.h

BYTES

Data Size units

Type

34

CELSIUS

Temperature units

Type

15

CENTIMETERS

2

DAYS

47

DEGREES

Angular units

Type

10

FARENHEIT

16

FEET

6

GIGABYTES

37

GIGAHERTZ

32

GRAMS

20

HERTZ

Frequency units

Type

29

HOURS

46

INCHES

5

KELVIN

17

KILOBYTES

35

KILOGRAMS

21

KILOGRAMS_FORCE

28

KILOHERTZ

30

KILOMETERS

4

KILOMETERS_PER_HOUR

13

LIGHTYEARS

9

LUMENS

Luminous flux units

Type

39

MEGABYTES

36

MEGAHERTZ

31

METERS

3

METERS_PER_SECOND

Speed units

Type

12

METRIC_TONS

22

MICROGRAMS

Mass units

Type

18

MICROMETERS

Scalar distance/length unit.

Type

0

MILES

8

MILES_PER_HOUR

14

MILLIGRAMS

19

MILLIMETERS

1

MILLISECONDS

Time units

Type

43

MINUTES

45

MONTHS

48

MULTIPLIER

Arbitrary multiplier

Type

52

NEWTONS

Force units

Type

26

OUNCES

23

PERCENTAGE

Percentage

Type

51

POUNDS

24

POUNDS_FORCE

27

RADIANS

11

REVOLUTIONS_PER_MINUTE

33

SECONDS

44

STONES

25

TERABYTES

38

UNSPECIFIED

Symbolic entry, not specifiable on meta data.

Type

53

YARDS

7

YEARS

49