Navigation
API > API/Plugins > API/Plugins/ModelingComponents
Description
Create a new component on an actor based on the data in CreateComponentParams. This is a convenience function that will try to locate a UModelingObjectsCreationAPI instance in the ToolManager's ContextObjectStore, and then call UModelingObjectsCreationAPI::CreateNewComponentOnActor()
| Name | UE::Modeling::CreateNewComponentOnActor |
| Type | function |
| Header File | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/ModelingObjectsCreationAPI.h |
| Include Path | #include "ModelingObjectsCreationAPI.h" |
| Source | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Private/ModelingObjectsCreationAPI.cpp |
namespace UE
{
namespace Modeling
{
FCreateComponentResult UE::Modeling::CreateNewComponentOnActor
(
UInteractiveToolManager * ToolManager,
FCreateComponentParams && CreateComponentParams
)
}
}
a results data structure, containing a result code and information about any new objects created