Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/UObject > API/Runtime/CoreUObject/UObject/UClass
Warnings * Unless ForceNoResetLoaders is passed in, this will cause a flush of all level streaming.
- UObject::Rename()
- UClass::Rename()
References
| Module | CoreUObject |
| Header | /Engine/Source/Runtime/CoreUObject/Public/UObject/Class.h |
| Include | #include "UObject/Class.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/UObject/Class.cpp |
virtual bool Rename
(
const TCHAR * NewName,
UObject * NewOuter,
ERenameFlags Flags
)
Remarks
Rename this object to a unique name, or change its outer.
Unless ForceNoResetLoaders is passed in, this will cause a flush of all level streaming.
Parameters
| Name | Description |
|---|---|
| NewName | The new name of the object, if null then NewOuter should be set |
| NewOuter | New Outer this object will be placed within, if null it will use the current outer |
| Flags | Flags to specify what happens during the rename |