Navigation
API > API/Plugins > API/Plugins/DMXRuntime > API/Plugins/DMXRuntime/UDMXSubsystem
References
| Module | DMXRuntime |
| Header | /Engine/Plugins/VirtualProduction/DMX/DMXEngine/Source/DMXRuntime/Public/DMXSubsystem.h |
| Include | #include "DMXSubsystem.h" |
| Source | /Engine/Plugins/VirtualProduction/DMX/DMXEngine/Source/DMXRuntime/Private/DMXSubsystem.cpp |
UFUNCTION (BlueprintPure, Category="DMX", Meta=(DisplayName="Int To Bytes"))
static void IntValueToBytes
(
int32 InValue,
EDMXFixtureSignalFormat InSignalFormat,
TArray < uint8 > & Bytes,
bool bUseLSB
)
Remarks
Converts a signed 32bit integer value to an array of DMX channel values.
Parameters
| Name | Description |
|---|---|
| InValue | The signed 32bit integer value. The value range depends on the signal format. Excess values get clamped. |
| InSignalFormat | Specifies the resolution of the resulting byte array, hence the precision of resulting data (e.g. 0-65535 for 16bit). |
| Bytes | The resulting byte array. |
| bUseLSB | When true, the byte array is returned in little endian format (least significant byte first) otherwise big endian. |