AActor::Rename

Warnings

  • Unless ForceNoResetLoaders is passed in, this will cause a flush of all level streaming.

Override Hierarchy

UObject::Rename()

AActor::Rename()

Syntax

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

Parameter

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

References

Module

Engine

Header

Runtime/Engine/Classes/GameFramework/Actor.h

Source

Runtime/Engine/Private/Actor.cpp