Navigation
API > API/Plugins > API/Plugins/ModelingComponents
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UMaterialInstanceDynamic * ToolSetupUtil::GetCustomTwoSidedDepthOffsetMaterial
(
UInteractiveToolManager* ToolManager, |
ToolSetupUtil.h | ||
UMaterialInstanceDynamic * ToolSetupUtil::GetCustomTwoSidedDepthOffsetMaterial
(
UInteractiveToolManager* ToolManager, |
ToolSetupUtil.h |
ToolSetupUtil::GetCustomTwoSidedDepthOffsetMaterial(UInteractiveToolManager *, const FLinearColor &, float)
| Name | ToolSetupUtil::GetCustomTwoSidedDepthOffsetMaterial |
| Type | function |
| Header File | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/ToolSetupUtil.h |
| Include Path | #include "ToolSetupUtil.h" |
| Source | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Private/ToolSetupUtil.cpp |
namespace ToolSetupUtil
{
UMaterialInstanceDynamic * ToolSetupUtil::GetCustomTwoSidedDepthOffsetMaterial
(
UInteractiveToolManager * ToolManager,
const FLinearColor & Color,
float DepthBias
)
}
Simple two-sided material with configurable depth bias and color. The material will have opaque blend mode.
ToolSetupUtil::GetCustomTwoSidedDepthOffsetMaterial(UInteractiveToolManager *, const FLinearColor &, float, float)
| Name | ToolSetupUtil::GetCustomTwoSidedDepthOffsetMaterial |
| Type | function |
| Header File | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/ToolSetupUtil.h |
| Include Path | #include "ToolSetupUtil.h" |
| Source | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Private/ToolSetupUtil.cpp |
namespace ToolSetupUtil
{
UMaterialInstanceDynamic * ToolSetupUtil::GetCustomTwoSidedDepthOffsetMaterial
(
UInteractiveToolManager * ToolManager,
const FLinearColor & Color,
float DepthBias,
float Opacity
)
}
Simple two-sided material with configurable depth bias, 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.