FDMXConversions::NormalizedDMXValueToByteArray

Converts a normalized value to a byte array.

Choose your operating system:

Windows

macOS

Linux

References

Module

DMXProtocol

Header

/Engine/Plugins/VirtualProduction/DMX/DMXProtocol/Source/DMXProtocol/Public/DMXConversions.h

Include

#include "DMXConversions.h"

Syntax

template<typename T, typename U>
static TArray< uint8 > NormalizedDMXValueToByteArray
(
    T NormalizedValue,
    EDMXFixtureSignalFormat SignalFormat,
    bool bLSBOrder
)

Remarks

Converts a normalized value to a byte array. Normalized value has to be in the 0-1 range. Assumes max signal format is 24bit.