SSCSEditor::AddNewComponent

Adds a component to the SCS 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
[UActorComponent](API\Runtime\Engine\Components\UActorComponent) * AddNewComponent
(
    [UClass](API\Runtime\CoreUObject\UObject\UClass) * NewComponentClass,
    [UObject](API\Runtime\CoreUObject\UObject\UObject) * Asset,
    const [FAddNewComponentParams](API\Editor\Kismet\SSCSEditor\FAddNewComponentParams) Params
)

Remarks

Adds a component to the SCS Table

Parameters

Name Description
NewComponentClass (In) The class to add
Asset (In) Optional asset to assign to the component
Params (In) Parameter block of optional behavior flags

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library