SSCSEditor::CreateNewCPPComponent

Creates a new C++ component from the specified class type The user will be prompted to pick a new subclass name and code will be recompiled

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
[UClass](API\Runtime\CoreUObject\UObject\UClass) * CreateNewCPPComponent
(
    [TSubclassOf](API\Runtime\CoreUObject\Templates\TSubclassOf)< [UActorComponent](API\Runtime\Engine\Components\UActorComponent) > ComponentClass
)

Remarks

Creates a new C++ component from the specified class type The user will be prompted to pick a new subclass name and code will be recompiled The new class that was created


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library