Module |
|
Header |
/Engine/Source/Editor/Kismet/Public/SSCSEditor.h |
Include |
#include "SSCSEditor.h" |
Source |
/Engine/Source/Editor/Kismet/Private/SSCSEditor.cpp |
void AddNewNodeForInstancedComponent
(
TUniquePtr< FScopedTransaction > OngoingCreateTransaction,
UActorComponent * NewInstanceComponent,
FSCSEditorTreeNodePtrType InParentNodePtr,
UObject * Asset,
bool bSetFocusToNewItem
)
Adds a new component instance node to the component Table
Parameter |
Description |
---|---|
OngoingCreateTransaction |
(In) The transaction containing the creation of the node. The transaction will remain ongoing until the node gets its initial name from user. |
NewInstanceComponent |
(In) The component being added to the actor instance |
InParentNodePtr |
(In) The node this component will be added to |
Asset |
(In) Optional asset to assign to the component |
bSetFocusToNewItem |
(In) Select the new item and activate the inline rename widget (default is true) |