Navigation
API > API/Plugins > API/Plugins/ModelingComponents
References
| Module | ModelingComponents |
| Header | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/ModelingObjectsCreationAPI.h |
| Include | #include "ModelingObjectsCreationAPI.h" |
| Source | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Private/ModelingObjectsCreationAPI.cpp |
namespace UE
{
namespace Modeling
{
FCreateActorResult UE::Modeling::CreateNewActor
(
UInteractiveToolManager * ToolManager,
FCreateActorParams && CreateActorParams
)
}
}
Remarks
Create a new actor based on the data in CreateActorParams. This is a convenience function that will try to locate a UModelingObjectsCreationAPI instance in the ToolManager's ContextObjectStore, and then call UModelingObjectsCreationAPI::CreateNewActor() a results data structure, containing a result code and information about any new objects created