Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Plugins/VirtualProduction/DMX/DMXProtocol/Source/DMXProtocol/Public/DMXConversions.h |
Include |
#include "DMXConversions.h" |
template<typename T, typename U>
static TArray< uint8 > NormalizedDMXValueToByteArray
(
T NormalizedValue,
EDMXFixtureSignalFormat SignalFormat,
bool bLSBOrder
)
Converts a normalized value to a byte array. Normalized value has to be in the 0-1 range. Assumes max signal format is 24bit.