MalberS Animations: 所有产品五折优惠

Int16 for Blueprints

FranticDreamer - 代码插件 - 2021/09/24
1
1颗星(总分5颗星)(1个评分)
  • 0%
  • 0%
  • 0%
  • 0%
  • 100%

A plugin that adds 16 Bit Integers to the Blueprints

  • 支持的平台
  • 支持的引擎版本
    4.26 - 4.27
  • 下载类型
    引擎插件
    此产品包含一款代码插件,含有预编译的二进制文件以及与虚幻引擎集成的所有源代码,能够安装到您选择的引擎版本中,并根据每个项目的需求启动。

Notice: This plugin is now open source. But you can purchase if you want to support the development.

Github: https://github.com/edgarbarney/Int16forBPs


Do you want to make your variables have less size and you don't need values greater than 65535? This plugin is going to help you to achieve your goal.


This plugin adds a struct called "Integer16" to your blueprints for you to use. They are 2X smaller compared to the standard (32-Bit) Integer. So it can help you to keep your variables small, especially when networking.

技术细节

Features:

  •  A struct that represents a 16-bit integer.
  •  16-Bit integer versions of all functions of the standard 32-bit integer.
  •  All compatible base type conversions

Code Modules:

  • Int16forBPs - Runtime

Number of Blueprints: 0

Number of C++ Classes: 1 Blueprint Function Library

Network Replicated: Can be Replicated

Supported Development Platforms: Android, Windows 32-Bit, Windows 64-Bit, Linux

Supported Target Build Platforms: Android, Windows 32-Bit, Windows 64-Bit, Linux

Documentation: https://edgarbarney.github.io/Int16forBPs_Documentation/


Important/Additional Notes:

You should replicate your variables yourself. Integer16 is a USTRUCT that CAN be replicated. But they won't be replicated automatically. You should replicate just like how you replicate a quantized vector.


You can use "Integer16" as a variable and you can easily type "int16" into the node search window to get to all nodes that you can use with Integer16.


If you have other plugins that you're doing other maths with, you can convert int16 to int, do the math and convert it back to int16 very easily.