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
{
FCreateMaterialObjectResult UE&58;&58;Modeling&58;&58;CreateMaterialObject
&40;
UInteractiveToolManager &42; ToolManager,
FCreateMaterialObjectParams && CreateMaterialParams
&41;
}
}
Remarks
Create a new material object based on the data in CreateMaterialParams. This is a convenience function that will try to locate a UModelingObjectsCreationAPI instance in the ToolManager's ContextObjectStore, and then call UModelingObjectsCreationAPI::CreateMaterialObject() a results data structure, containing a result code and information about any new objects created