Navigation
API > API/Plugins > API/Plugins/ModelingComponents
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;GetDefaultLineComponentMaterial
&40;
UInteractiveToolManager &42; ToolManager,
bool bDepthTested
&41;
}
Remarks
Gets a custom material suitable for use with ULineSetComponent.
Parameters
| Name | Description |
|---|---|
| bDepthTested | If true, the material will be depth tested as normal. If false, occluded portions of lines will still be displayed, but dashed and dimmed. Note that the current implementations of the depth-tested and non-depth-tested modes use opaque and translucent blend modes, respectively, and so inherit their limitations. Specifically, opaque does not support opacity, and translucent does not always follow correct draw order relative to other translucent objects, which means that depth offset cannot reliably order lines within a non-depth-tested line set component. |