Navigation
API > API/Plugins > API/Plugins/DMXEditor > API/Plugins/DMXEditor/FDMXEditorUtils
Deprecated * AutoAssignedChannels is deprecated without replacement. Please create your own auto assign implementation. See FDMXFixturePatchAutoAssignUtility for an example.
References
| Module | DMXEditor |
| Header | /Engine/Plugins/VirtualProduction/DMX/DMXEngine/Source/DMXEditor/Public/DMXEditorUtils.h |
| Include | #include "DMXEditorUtils.h" |
| Source | /Engine/Plugins/VirtualProduction/DMX/DMXEngine/Source/DMXEditor/Private/DMXEditorUtils.cpp |
static void AutoAssignedChannels
&40;
bool bAllowDecrementUniverse,
bool bAllowDecrementChannels,
TArray< UDMXEntityFixturePatch &42; > FixturePatches
&41;
Remarks
Updates starting addresses for fixture patches that have bAutoAssignAddress set, ignores others. Note, patches all have to reside in the same library.
The caller is responsible to call Modify on the patches and register undo/redo.
If bCanChangePatchUniverses = true, this function will assign patches that do not fit into the existing universes to the next universe. MinimumAddress is ignored for the new universe, i.e. we start placing remaining patches at position 1.
Parameters
| Name | Description |
|---|---|
| bAllowDecrementUniverse | If true, the patches can be assigend to a previous universe |
| bCanChangePatchUniverses | If true, the patches can lower their absoulte channel |
| FixturePatches | The patches that want their channels to be auto assigned |