SSCSEditor::OnRenameComponent

Requests a rename on the selected component just after creation so that the user can provide the initial component name (overwriting the default generated one), which is considered part of the creation process.

Unreal Engine C++ API Reference > Editor > Kismet > SSCSEditor > OnRenameComponent

References

   
Module Kismet
Header /Engine/Source/Editor/Kismet/Public/SSCSEditor.h
Include #include "SSCSEditor.h"
Source /Engine/Source/Editor/Kismet/Private/SSCSEditor.cpp
void OnRenameComponent
(
    [TUniquePtr](API\Runtime\Core\Templates\TUniquePtr)< [FScopedTransaction](API\Editor\UnrealEd\FScopedTransaction) > OngoingCreateTransaction
)

Remarks

Requests a rename on the selected component just after creation so that the user can provide the initial component name (overwriting the default generated one), which is considered part of the creation process.

Parameters

Name Description
OngoingCreateTransaction The ongoing transaction started when the component was created.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library