Navigation
API > API/Plugins > API/Plugins/ModelingComponentsEditorOnly > API/Plugins/ModelingComponentsEditorOnly/AssetUtils
References
| Module | ModelingComponentsEditorOnly |
| Header | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponentsEditorOnly/Public/AssetUtils/CreateMaterialUtil.h |
| Include | #include "AssetUtils/CreateMaterialUtil.h" |
| Source | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponentsEditorOnly/Private/AssetUtils/CreateMaterialUtil.cpp |
namespace UE
{
namespace AssetUtils
{
ECreateMaterialResult UE&58;&58;AssetUtils&58;&58;CreateDuplicateMaterial
&40;
UMaterialInterface &42; BaseMaterial,
FMaterialAssetOptions & Options,
FMaterialAssetResults & ResultsOut
&41;
}
}
Remarks
Create a new UMaterial Asset by duplicating the parent UMaterial of BaseMaterial Ok, or error flag if some part of the creation process failed. On failure, no Asset is created.
Parameters
| Name | Description |
|---|---|
| Options | defines configuration for the new UMaterial Asset |
| ResultsOut | new UMaterial is returned here |