SSCSEditor::AddNewNode

Adds a new SCS 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 AddNewNode
(
    FAddedNodeDetails & OutNodeDetails,
    TUniquePtr< FScopedTransaction > OngoingCreateTransaction,
    USCS_Node * NewNode,
    UObject * Asset,
    bool bMarkBlueprintModified,
    bool bSetFocusToNewItem
)

Remarks

Adds a new SCS Node to the component Table

Parameters

Parameter

Description

OutNodeDetails

(Out) Struct to be populated by the tree node pointers of the new node and its parent

OngoingCreateTransaction

(In) The transaction containing the creation of the node. The transaction will remain ongoing until the node gets its initial name from user.

NewNode

(In) The SCS node to add

Asset

(In) Optional asset to assign to the component

bMarkBlueprintModified

(In) Whether or not to mark the Blueprint as structurally modified

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