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:

38

CELSIUS: Unit

Temperature units

Type:

16

CENTIMETERS: Unit

2

CENTIMETERS_PER_SECOND: Unit

Speed units

Type:

12

DAYS: Unit

54

DEGREES: Unit

Angular units

Type:

10

FARENHEIT: Unit

17

FEET: Unit

6

GIGABYTES: Unit

41

GIGAHERTZ: Unit

36

GRAMS: Unit

21

HERTZ: Unit

Frequency units

Type:

33

HOURS: Unit

53

INCHES: Unit

5

KELVIN: Unit

18

KILOBYTES: Unit

39

KILOGRAMS: Unit

22

KILOGRAMS_FORCE: Unit

29

KILOGRAM_CENTIMETERS_PER_SECOND_SQUARED: Unit

30

KILOGRAM_CENTIMETERS_SQUARED_PER_SECOND_SQUARED: Unit

32

KILOHERTZ: Unit

34

KILOMETERS: Unit

4

KILOMETERS_PER_HOUR: Unit

14

LIGHTYEARS: Unit

9

LUMENS: Unit

Luminous flux units

Type:

43

MEGABYTES: Unit

40

MEGAHERTZ: Unit

35

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:

50

MINUTES: Unit

52

MONTHS: Unit

55

MULTIPLIER: Unit

Arbitrary multiplier

Type:

59

NEWTONS: Unit

Force units

Type:

27

NEWTON_METERS: Unit

Torque units

Type:

31

OUNCES: Unit

24

PERCENTAGE: Unit

Percentage

Type:

58

POUNDS: Unit

25

POUNDS_FORCE: Unit

28

RADIANS: Unit

11

REVOLUTIONS_PER_MINUTE: Unit

37

SECONDS: Unit

51

STONES: Unit

26

TERABYTES: Unit

42

UNSPECIFIED: Unit

Symbolic entry, not specifiable on meta data.

Type:

64

YARDS: Unit

7

YEARS: Unit

56