UDMXSubsystem::BytesToNormalizedValue

Return normalized value given an array of bytes.

Windows
MacOS
Linux

References

Module

DMXRuntime

Header

/Engine/Plugins/Experimental/DigitalMultiplex/DMXEngine/Source/DMXRuntime/Public/DMXSubsystem.h

Include

#include "DMXSubsystem.h"

Source

/Engine/Plugins/Experimental/DigitalMultiplex/DMXEngine/Source/DMXRuntime/Private/DMXSubsystem.cpp

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintPure, Category="DMX", Meta=(Keywords="float"))
float BytesToNormalizedValue
(
    const TArray< uint8 > & Bytes,
    bool bUseLSB
) const

Remarks

Return normalized value given an array of bytes. Up to the first 4 bytes in the array will be used for the conversion.

Parameters

Parameter

Description

bUseLSB

Least Significant Byte mode makes the individual bytes (channels) of the function be interpreted with the first bytes being the lowest part of the number. Most Fixtures use MSB (Most Significant Byte).

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss