Navigation
Unreal Engine C++ API Reference > 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;GetDefaultPointComponentMaterial
&40;
UInteractiveToolManager &42; ToolManager,
bool bDepthTested
&41;
}
Remarks
Gets a custom material suitable for use with UPointSetComponent for square points.
Parameters
Name | Description |
---|---|
bDepthTested | If true, the material will be depth tested as normal. If false, occluded points will still be displayed but 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. |