Navigation
API > API/Plugins > API/Plugins/ModelingComponents > API/Plugins/ModelingComponents/ToolSetupUtil__GetCustomDepthOff-
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
{
UMaterialInstanceDynamic &42; ToolSetupUtil&58;&58;GetCustomDepthOffsetMaterial
&40;
UInteractiveToolManager &42; ToolManager,
const FLinearColor & Color,
float PercentDepthOffset,
float Opacity
&41;
}
Simple material with configurable depth offset, color, and opacity. Note that the material will have translucent blend mode, which can interact poorly with overlapping translucent objects, so use the other overload if you do not need opacity control.