Navigation
API > API/Plugins > API/Plugins/DMXProtocol
References
| Module | DMXProtocol |
| Header | /Engine/Plugins/VirtualProduction/DMX/DMXProtocol/Source/DMXProtocol/Public/DMXConversions.h |
| Include | #include "DMXConversions.h" |
Syntax
class FDMXConversions
Remarks
Common conversions for dmx
Constructors
No constructors are accessible with public or protected access.
Functions
| Type | Name | Description | |
|---|---|---|---|
| uint32 | ClampValueBySignalFormat
(
uint32 Value, |
Clamps the Value to be in value range of the Signal Format | |
| uint32 | ClampValueBySignalFormat
(
T Value, |
||
| uint32 | GetSignalFormatMaxValue
(
EDMXFixtureSignalFormat SignalFormat |
Returns the Max Value the Data Type can take | |
| uint8 | GetSizeOfSignalFormat
(
EDMXFixtureSignalFormat SignalFormat |
Returns the number of Bytes the Signal Format uses | |
| TArray< uint8 > | NormalizedDMXValueToByteArray
(
T NormalizedValue, |
Converts a normalized value to a byte array. | |
| 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. |