SSCSEditor::AddNewNodeForInstancedComponent

Adds a new component instance node to the component Table

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

References

   
Module Kismet
Header /Engine/Source/Editor/Kismet/Public/SSCSEditor.h
Include #include "SSCSEditor.h"
Source /Engine/Source/Editor/Kismet/Private/SSCSEditor.cpp
void AddNewNodeForInstancedComponent
(
    [TUniquePtr](API\Runtime\Core\Templates\TUniquePtr)< [FScopedTransaction](API\Editor\UnrealEd\FScopedTransaction) > OngoingCreateTransaction,
    [UActorComponent](API\Runtime\Engine\Components\UActorComponent) * NewInstanceComponent,
    FSCSEditorTreeNodePtrType InParentNodePtr,
    [UObject](API\Runtime\CoreUObject\UObject\UObject) * Asset,
    bool bSetFocusToNewItem
)

Remarks

Adds a new component instance node to the component Table

Parameters

Name 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)

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library