Navigation
API > API/Plugins > API/Plugins/DMXGDTF > API/Plugins/DMXGDTF/GDTF > API/Plugins/DMXGDTF/GDTF/DMXModes
References
| Module | DMXGDTF |
| Header | /Engine/Plugins/VirtualProduction/DMX/DMXGDTF/Source/DMXGDTF/Public/GDTF/DMXModes/DMXGDTFDMXValue.h |
| Include | #include "GDTF/DMXModes/DMXGDTFDMXValue.h" |
Syntax
struct FDMXGDTFDMXValue
Remarks
Special type to define DMX value where n is the byte count. The byte count can be individually specified without depending on the resolution of the DMX Channel. By default byte mirroring is used for the conversion. So 255/1 in a 16 bit channel will result in 65535. You can use the byte shifting operator to use byte shifting for the conversion. So 255/1s in a 16 bit channel will result in 65280.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FDMXGDTFDMXValue
(
const TCHAR* InValue |
|||
FDMXGDTFDMXValue
(
const uint32 InValue, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FString | AsString () |
Returns the DMX value as string. If the DMX value is not set, returns 0/1. | |
| bool | Get
(
const TSharedRef< FDMXGDTFDMXChannel >& InDMXChannel, |
Gets the DMX value in the resolution of the specified DMX channel. | |
| uint32 | GetChecked
(
const TSharedRef< FDMXGDTFDMXChannel >& InDMXChannel |
Gets the DMX value in the resolution of the specified DMX channel, only valid when not IsSet (checked). | |
| bool | IsSet () |
Returns true if the DMX Value is set. | |
| void | Reset () |
Resets the DMX value |
Operators
| Type | Name | Description | |
|---|---|---|---|
| bool | operator!=
(
const FDMXGDTFDMXValue& Other |
||
| bool | operator==
(
const FDMXGDTFDMXValue& Other |