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

35

CELSIUS

Temperature units

Type

16

CENTIMETERS

2

CENTIMETERS_PER_SECOND

Speed units

Type

12

DAYS

48

DEGREES

Angular units

Type

10

FARENHEIT

17

FEET

6

GIGABYTES

38

GIGAHERTZ

33

GRAMS

21

HERTZ

Frequency units

Type

30

HOURS

47

INCHES

5

KELVIN

18

KILOBYTES

36

KILOGRAMS

22

KILOGRAMS_FORCE

29

KILOHERTZ

31

KILOMETERS

4

KILOMETERS_PER_HOUR

14

LIGHTYEARS

9

LUMENS

Luminous flux units

Type

40

MEGABYTES

37

MEGAHERTZ

32

METERS

3

METERS_PER_SECOND

13

METRIC_TONS

23

MICROGRAMS

Mass units

Type

19

MICROMETERS

Scalar distance/length unit.

Type

0

MILES

8

MILES_PER_HOUR

15

MILLIGRAMS

20

MILLIMETERS

1

MILLISECONDS

Time units

Type

44

MINUTES

46

MONTHS

49

MULTIPLIER

Arbitrary multiplier

Type

53

NEWTONS

Force units

Type

27

OUNCES

24

PERCENTAGE

Percentage

Type

52

POUNDS

25

POUNDS_FORCE

28

RADIANS

11

REVOLUTIONS_PER_MINUTE

34

SECONDS

45

STONES

26

TERABYTES

39

UNSPECIFIED

Symbolic entry, not specifiable on meta data.

Type

54

YARDS

7

YEARS

50