Optimus::GetUniqueNameForScopeAndClass

Given an object hierarchy scope, and object class, ensure that the given name is unique within those parameters.

Choose your operating system:

Windows

macOS

Linux

References

Module

OptimusDeveloper

Header

/Engine/Plugins/Experimental/Optimus/Source/OptimusDeveloper/Public/OptimusHelpers.h

Include

#include "OptimusHelpers.h"

Source

/Engine/Plugins/Experimental/Optimus/Source/OptimusDeveloper/Private/OptimusHelpers.cpp

Syntax

namespace Optimus
{
    FName Optimus::GetUniqueNameForScopeAndClass
    (
        UObject * InScopeObj,
        UClass * InClass,
        FName InName
    )
}

Remarks

Given an object hierarchy scope, and object class, ensure that the given name is unique within those parameters. If the name is already unique, it will be returned unchanged.