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=(Keywords="float"))
void NormalizedValueToBytes
(
float InValue,
EDMXFixtureSignalFormat InSignalFormat,
TArray < uint8 > & Bytes,
bool bUseLSB
) const
Remarks
Converts a normalized value to an array of DMX channel values.
Parameters
| Name | Description |
|---|---|
| InValue | The normalized floating point value in the range of 0.0 - 1.0. Other 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. |