/Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/ModelingObjectsCreationAPI.h
Create a new material object based on the data in CreateMaterialParams. This is a convenience function that will try to locate aUModelingObjectsCreationAPIinstance in the ToolManager's ContextObjectStore, and then callUModelingObjectsCreationAPI::CreateMaterialObject()a results data structure, containing a result code and information about any new objects created
namespace UE { namespace Modeling { [FCreateMaterialObjectResult](API\Plugins\ModelingComponents\FCreateMaterialObjectResult) UE::Modeling::CreateMaterialObject ( [UInteractiveToolManager](API\Runtime\InteractiveToolsFramework\UInteractiveToolManager) * ToolManager, [FCreateMaterialObjectParams](API\Plugins\ModelingComponents\FCreateMaterialObjectParams) && CreateMaterialParams ) } }