unreal.Unit

class unreal.Unit

Bases: EnumBase

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

C++ Source:

  • Module: CoreUObject

  • File: NoExportTypes.h

BYTES: Unit

Data Size units

Type:

35

CELSIUS: Unit

Temperature units

Type:

16

CENTIMETERS: Unit

2

CENTIMETERS_PER_SECOND: Unit

Speed units

Type:

12

DAYS: Unit

50

DEGREES: Unit

Angular units

Type:

10

FARENHEIT: Unit

17

FEET: Unit

6

GIGABYTES: Unit

38

GIGAHERTZ: Unit

33

GRAMS: Unit

21

HERTZ: Unit

Frequency units

Type:

30

HOURS: Unit

49

INCHES: Unit

5

KELVIN: Unit

18

KILOBYTES: Unit

36

KILOGRAMS: Unit

22

KILOGRAMS_FORCE: Unit

29

KILOHERTZ: Unit

31

KILOMETERS: Unit

4

KILOMETERS_PER_HOUR: Unit

14

LIGHTYEARS: Unit

9

LUMENS: Unit

Luminous flux units

Type:

40

MEGABYTES: Unit

37

MEGAHERTZ: Unit

32

METERS: Unit

3

METERS_PER_SECOND: Unit

13

METRIC_TONS: Unit

23

MICROGRAMS: Unit

Mass units

Type:

19

MICROMETERS: Unit

Scalar distance/length unit.

Type:

0

MILES: Unit

8

MILES_PER_HOUR: Unit

15

MILLIGRAMS: Unit

20

MILLIMETERS: Unit

1

MILLISECONDS: Unit

Time units

Type:

46

MINUTES: Unit

48

MONTHS: Unit

51

MULTIPLIER: Unit

Arbitrary multiplier

Type:

55

NEWTONS: Unit

Force units

Type:

27

OUNCES: Unit

24

PERCENTAGE: Unit

Percentage

Type:

54

POUNDS: Unit

25

POUNDS_FORCE: Unit

28

RADIANS: Unit

11

REVOLUTIONS_PER_MINUTE: Unit

34

SECONDS: Unit

47

STONES: Unit

26

TERABYTES: Unit

39

UNSPECIFIED: Unit

Symbolic entry, not specifiable on meta data.

Type:

56

YARDS: Unit

7

YEARS: Unit

52