Navigation
Unreal Engine C++ API Reference > Plugins > ModelingComponents > ToolSetupUtil::GetDefaultMaterial
References
Module | ModelingComponents |
Header | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/ToolSetupUtil.h |
Include | #include "ToolSetupUtil.h" |
Source | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Private/ToolSetupUtil.cpp |
namespace ToolSetupUtil
{
UMaterialInterface &42; ToolSetupUtil&58;&58;GetDefaultMaterial
&40;
UInteractiveToolManager &42; ToolManager,
UMaterialInterface &42; SourceMaterial
&41;
}
Remarks
Get the default material to use for objects in an InteractiveTool. Optionally use SourceMaterial if it is valid. default material to use for objects in a tool.
Parameters
Name | Description |
---|---|
SourceMaterial | optional material to use if available |