SSCSEditor::AddNewNodeForInstancedComponent

Adds a new component instance node to the component Table

Windows
MacOS
Linux

References

Module

Kismet

Header

/Engine/Source/Editor/Kismet/Public/SSCSEditor.h

Include

#include "SSCSEditor.h"

Source

/Engine/Source/Editor/Kismet/Private/SSCSEditor.cpp

Syntax

void AddNewNodeForInstancedComponent
(
    TUniquePtr< FScopedTransaction > OngoingCreateTransaction,
    UActorComponent * NewInstanceComponent,
    FSCSEditorTreeNodePtrType InParentNodePtr,
    UObject * Asset,
    bool bSetFocusToNewItem
)

Remarks

Adds a new component instance node to the component Table

Parameters

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)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss