Navigation
API > API/Editor > API/Editor/SubobjectDataInterface > API/Editor/SubobjectDataInterface/USubobjectDataSubsystem
Description
Returns true if the given new text is a valid option to rename the subobject with the given handle. Populates the OutErrorMessage if it is not valid.
| Name | IsValidRename |
| Type | function |
| Header File | /Engine/Source/Editor/SubobjectDataInterface/Public/SubobjectDataSubsystem.h |
| Include Path | #include "SubobjectDataSubsystem.h" |
| Source | /Engine/Source/Editor/SubobjectDataInterface/Private/SubobjectDataSubsystem.cpp |
UFUNCTION (BlueprintCallable, Category="SubobjectDataSubsystem")
bool IsValidRename
(
const FSubobjectDataHandle & Handle,
const FText & InNewText,
FText & OutErrorMessage
) const
True if the rename is valid
Parameters
| Name | Remarks |
|---|---|
| Handle | Handle to the subobject that is being checked |
| InNewText | The new name that is desired |
| OutErrorMessage | The reasoning for an invalid name |