Navigation
API > API/Plugins > API/Plugins/DMXProtocol
Common conversions for dmx
| Name | FDMXConversions |
| Type | class |
| Header File | /Engine/Plugins/VirtualProduction/DMX/DMXProtocol/Source/DMXProtocol/Public/DMXConversions.h |
| Include Path | #include "DMXConversions.h" |
Syntax
class FDMXConversions
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FDMXConversions() |
DMXConversions.h |
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static uint32 ClampValueBySignalFormat
(
uint32 Value, |
Clamps the Value to be in value range of the Signal Format | DMXConversions.h | |
static uint32 ClampValueBySignalFormat
(
T Value, |
DMXConversions.h | ||
static uint32 GetSignalFormatMaxValue
(
EDMXFixtureSignalFormat SignalFormat |
Returns the Max Value the Data Type can take | DMXConversions.h | |
static uint8 GetSizeOfSignalFormat
(
EDMXFixtureSignalFormat SignalFormat |
Returns the number of Bytes the Signal Format uses | DMXConversions.h | |
static TArray< uint8 > NormalizedDMXValueToByteArray
(
T NormalizedValue, |
Converts a normalized value to a byte array. | DMXConversions.h | |
static TArray< uint8 > UnsignedInt32ToByteArray
(
T Value, |
TODO: All DMX conversions eventually should be moved here (e.g. from subsystem, fixture type) as statics, unit tested and optimized. | DMXConversions.h |