FDMXEditorUtils::ValidateEntityName

Validates an Entity name, also checking for uniqueness among others of the same type.

Windows
MacOS
Linux

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

Syntax

static bool ValidateEntityName
(
    const FString & NewEntityName,
    const UDMXLibrary * InLibrary,
    UClass * InEntityClass,
    FText & OutReason
)

Remarks

Validates an Entity name, also checking for uniqueness among others of the same type.

Returns

True if the name would be a valid one.

Parameters

Parameter

Description

NewEntityName

The name to validate.

InLibrary

The DMXLibrary object to check for name uniqueness.

InEntityClass

The type to check other Entities' names

OutReason

If false is returned, contains a text with the reason for it.

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