SSCSEditor::CreateNewBPComponent

Creates a new Blueprint component from the specified class type The user will be prompted to pick a new subclass name and a blueprint asset will be created

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

UClass * CreateNewBPComponent
(
    TSubclassOf< UActorComponent > ComponentClass
)

Remarks

Creates a new Blueprint component from the specified class type The user will be prompted to pick a new subclass name and a blueprint asset will be created

Returns

The new class that was created

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