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;GetRoundPointComponentMaterial
&40;
UInteractiveToolManager &42; ToolManager,
bool bDepthTested
&41;
}
Remarks
Gets a custom material suitable for use with UPointSetComponent for round points. Note that this material uses translucent blend mode, and therefore can't always follow the correct draw order relative to other translucent objects (and within the point set). If this is not acceptible, you will need to use the depth tested square point material (GetDefaultPointComponentMaterial with bDepthTested = true).
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. |