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&58;&58;Modeling&58;&58;CreateNewActor
&40;
UInteractiveToolManager &42; ToolManager,
FCreateActorParams && CreateActorParams
&41;
}
}
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