IObjectNameEditSink::SetObjectDisplayName

Attempt to rename the object. Will fail if IsObjectDisplayNameReadOnly returns true.

Unreal Engine C++ API Reference > Editor > EditorWidgets > IObjectNameEditSink

References

   
Module EditorWidgets
Header /Engine/Source/Editor/EditorWidgets/Public/IObjectNameEditSink.h
Include #include "IObjectNameEditSink.h"
virtual bool SetObjectDisplayName
(
    [UObject](API\Runtime\CoreUObject\UObject\UObject) * Object,
    [FString](API\Runtime\Core\Containers\FString) DisplayName
)

Remarks

Attempt to rename the object. Will fail if IsObjectDisplayNameReadOnly returns true. Whether or not the display name was successfully set


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library