Navigation
API > API/Plugins > API/Plugins/ModelingComponents
Description
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).
| Name | ToolSetupUtil::GetRoundPointComponentMaterial |
| 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
{
UMaterialInterface * ToolSetupUtil::GetRoundPointComponentMaterial
(
UInteractiveToolManager * ToolManager,
bool bDepthTested
)
}
Parameters
| Name | Remarks |
|---|---|
| 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. |