Navigation
API > API/Plugins > API/Plugins/DMXRuntime
Inheritance Hierarchy
References
| Module | DMXRuntime |
| Header | /Engine/Plugins/VirtualProduction/DMX/DMXEngine/Source/DMXRuntime/Public/DMXSubsystem.h |
| Include | #include "DMXSubsystem.h" |
Syntax
UCLASS&40;&41;
class UDMXSubsystem : public UEngineSubsystem
Remarks
UDMXSubsystem Collections of DMX context blueprint subsystem functions and internal functions for DMX K2Nodes
Variables
| Type | Name | Description | |
|---|---|---|---|
| FSimpleMulticastDelegate | OnAllDMXLibraryAssetsLoaded | Delegate broadcast when all dmx library assets were loaded | |
| FDMXOnDMXLibraryAssetDelegate | OnDMXLibraryAssetAdded | Delegate broadcast when a dmx library asset was added | |
| FDMXOnDMXLibraryAssetDelegate | OnDMXLibraryAssetRemoved | Delegate broadcast when a dmx library asset was removed |
Functions
| Type | Name | Description | |
|---|---|---|---|
| int32 | BytesToInt
(
const TArray< uint8 >& Bytes, |
Return integer given an array of bytes. | |
| float | BytesToNormalizedValue
(
const TArray< uint8 >& Bytes, |
Return normalized value given an array of bytes. | |
| TArray< UDMXEntityController * > | GetAllControllersInLibrary
(
const UDMXLibrary* DMXLibrary |
DEPRECATED 4.27 | |
| const TArray< UDMXLibrary * > & | Return reference to array of DMX Library objects. | ||
| TArray< UDMXEntityFixturePatch * > | GetAllFixturesInLibrary
(
const UDMXLibrary* DMXLibrary |
Return reference to array of Fixture Patch objects in library. | |
| void | GetAllFixturesInUniverse
(
const UDMXLibrary* DMXLibrary, |
Return reference to array of Fixture Patch objects in a given universe. | |
| void | GetAllFixturesOfCategory
(
const UDMXLibrary* DMXLibrary, |
Return reference to array of Fixture Patch objects of a given category. | |
| void | GetAllFixturesOfType
(
const FDMXEntityFixtureTypeRef& FixtureType, |
Return reference to array of Fixture Patch objects of a given type. | |
| TArray< UDMXEntityFixturePatch * > | GetAllFixturesWithTag
(
const UDMXLibrary* DMXLibrary, |
Return reference to array of Fixture Patch objects with a given tag. | |
| TArray< UDMXEntityFixtureType * > | GetAllFixtureTypesInLibrary
(
const UDMXLibrary* DMXLibrary |
Return reference to array of Fixture Types objects in library. | |
| void | GetAllUniversesInController
(
const UDMXLibrary* DMXLibrary, |
DEPRECATED 4.27 | |
| FName | GetAttributeLabel
(
FDMXAttributeName AttributeName |
Gets the FName for a FDMXAttributeName, since structs can't have UFUCNTIONS to create a getter | |
| UDMXEntityController * | GetControllerByName
(
const UDMXLibrary* DMXLibrary, |
DEPRECATED 4.27 | |
| void | GetDMXDataFromInputPort
(
FDMXInputPortReference InputPortReference, |
Gets accumulated latest DMX Values from the Input Port (all that's been received since Begin Play) | |
| void | GetDMXDataFromOutputPort
(
FDMXOutputPortReference OutputPortReference, |
Gets accumulated latest DMX Values from the Output Port (all that's been sent since Begin Play) | |
| UDMXSubsystem * | Get a DMX Subsystem, callable version | ||
| UDMXSubsystem * | Get a DMX Subsystem, pure version | ||
| void | GetFixtureAttributes
(
const UDMXEntityFixturePatch* InFixturePatch, |
Return map with all DMX functions and their associated values given DMX buffer and desired universe. | |
| UDMXEntityFixturePatch * | GetFixtureByName
(
const UDMXLibrary* DMXLibrary, |
Return reference to Fixture Patch object with a given name. | |
| UDMXEntityFixturePatch * | GetFixturePatch
(
FDMXEntityFixturePatchRef InFixturePatch |
Creates a literal UDMXEntityFixturePatch reference | |
| UDMXEntityFixtureType * | GetFixtureType
(
FDMXEntityFixtureTypeRef InFixtureType |
Creates a literal UDMXEntityFixturePatch reference | |
| UDMXEntityFixtureType * | GetFixtureTypeByName
(
const UDMXLibrary* DMXLibrary, |
Return reference to Fixture Type object with a given name. | |
| bool | GetFunctionsMap
(
UDMXEntityFixturePatch* InFixturePatch, |
Gets a function map based on you active mode from FixturePatch | |
| bool | GetFunctionsMapForPatch
(
UDMXEntityFixturePatch* InFixturePatch, |
Gets a function map based on you active mode from FixturePatch, but instead of passing a Protocol as parameters, it looks for the first Protocol found in the Patch's universe and use that one | |
| int32 | GetFunctionsValue
(
const FName FunctionAttributeName, |
Gets function channel value by input function name | |
| float | GetNormalizedAttributeValue
(
UDMXEntityFixturePatch* InFixturePatch, |
Return the normalized value of an Int value from a Fixture Patch function. | |
| void | GetRawBuffer
(
FDMXProtocolName SelectedProtocol, |
DEPRECATED 4.27 | |
| float | IntToNormalizedValue
(
int32 InValue, |
Return the normalized value of an Int value from the specified Signal Format. | |
| void | IntValueToBytes
(
int32 InValue, |
Return the Bytes format of Value in the desired Signal Format. | |
| void | NormalizedValueToBytes
(
float InValue, |
Return the Bytes format of Value in the desired Signal Format. | |
| bool | PatchIsOfSelectedType
(
UDMXEntityFixturePatch* InFixturePatch, |
Checks if a FixturePatchs is of a given FixtureType | |
| void | PixelMappingDistributionSort
(
EDMXPixelMappingDistribution InDistribution, |
Sort an array according to the selected distribution pattern. | |
| void | SendDMX
(
UDMXEntityFixturePatch* FixturePatch, |
Send DMX using function names and integer values. | |
| void | SendDMXRaw
(
FDMXProtocolName SelectedProtocol, |
DEPRECATED 4.27 | |
| void | SendDMXToOutputPort
(
FDMXOutputPortReference OutputPortReference, |
Sends DMX Values over the Output Port |
Overridden from USubsystem
| Type | Name | Description | |
|---|---|---|---|
| void | Initialize
(
FSubsystemCollectionBase& Collection |
Implement this for initialization of instances of the system |
Deprecated Variables
| Type | Name | Description | |
|---|---|---|---|
| FProtocolReceivedDelegate | OnProtocolReceived_DEPRECATED | Use DMXComponent's OnFixturePatchReceived event or GetRawBuffer instead. |