Navigation
API > API/Plugins > API/Plugins/ModelingComponents
Description
Create a new mesh object based on the data in CreateMeshParams. This is a convenience function that will try to locate a UModelingObjectsCreationAPI instance in the ToolManager's ContextObjectStore, and then call UModelingObjectsCreationAPI::CreateMeshObject()
| Name | UE::Modeling::CreateMeshObject |
| 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
{
FCreateMeshObjectResult UE::Modeling::CreateMeshObject
(
UInteractiveToolManager * ToolManager,
FCreateMeshObjectParams && CreateMeshParams
)
}
}
a results data structure, containing a result code and information about any new objects created