Fork me on GitHub

UE4 Numeric Types

Since different platforms have different sizes for basic types such as shortint, and long, UE4 provides the following types which you should use as an alternative:

  • int8/uint8 : 8-bit signed/unsigned integer

  • int16/uint16 : 16-bit signed/unsigned integer

  • int32/uint32 : 32-bit signed/unsigned integer

  • int64/uint64 : 64-bit signed/unsigned integer

Floating point numbers are also supported with the standard float (32-bit)and double (64-bit) types.

Unreal Engine has a template, TNumericLimits, for finding the minimum and maximum ranges value types can hold. For more information follow this link .

posted on 2016-06-07 13:45  pengyingh  阅读(329)  评论(0)    收藏  举报

导航