SSCSEditor::AddNewComponent

Adds a component to the SCS 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

UActorComponent * AddNewComponent
(
    UClass * NewComponentClass,
    UObject * Asset,
    const FAddNewComponentParams Params
)

Remarks

Adds a component to the SCS Table

Parameters

Parameter

Description

NewComponentClass

(In) The class to add

Asset

(In) Optional asset to assign to the component

Params

(In) Parameter block of optional behavior flags

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