Navigation
Unreal Engine C++ API Reference > Editor > EditorWidgets
References
Module | EditorWidgets |
Header | /Engine/Source/Editor/EditorWidgets/Public/IObjectNameEditSink.h |
Include | #include "IObjectNameEditSink.h" |
Syntax
class IObjectNameEditSink
Remarks
ObjectNameEditSink provides an interface for the in-editor object name
Destructors
Type | Name | Description |
---|---|---|
~IObjectNameEditSink () | Virtual destructor |
Functions
Type | Name | Description |
---|---|---|
FText | GetObjectDisplayName ( UObject* Object ) | Returns the display name for that object. |
FText | GetObjectNameTooltip ( UObject* Object ) | Returns the tooltip text for that object |
UClass * | GetSupportedClass () | Checks to see if the specified object is handled by this type. |
bool | IsObjectDisplayNameReadOnly ( UObject* Object ) | Whether or not the name can be edited |
bool | SetObjectDisplayName ( UObject* Object, FString DisplayName ) | Attempt to rename the object. Will fail if IsObjectDisplayNameReadOnly returns true. |