Navigation
API > API/Plugins > API/Plugins/DMXRuntime > API/Plugins/DMXRuntime/FDMXRuntimeUtils
References
| Module | DMXRuntime |
| Header | /Engine/Plugins/VirtualProduction/DMX/DMXEngine/Source/DMXRuntime/Public/DMXRuntimeUtils.h |
| Include | #include "DMXRuntimeUtils.h" |
| Source | /Engine/Plugins/VirtualProduction/DMX/DMXEngine/Source/DMXRuntime/Private/DMXRuntimeUtils.cpp |
static FString GenerateUniqueNameFromExisting
&40;
const TSet< FString > & InExistingNames,
FString InDesiredName,
uint8 NumDigitsInPostfix,
bool bAlwaysGeneratePostfix
&41;
Remarks
Generates a unique name given a base one and a list of existing ones, by appending an index. Returns the unique name.
Parameters
| Name | Description |
|---|---|
| InExistingNames | Set of exiting names the new name should not be using. |
| InDesiredName | The desired Name. Note, desired name should not be empty (ensured). Generates 'New' if desired name is empty. |
| NumDigitsInPostfix | (optional) The min num digits to generate when appending a post fix. |
| bAlwaysGeneratePostfix | (optional) If true, always generates digits as postfix. |