Navigation
API > API/Plugins > API/Plugins/ModelingComponents > API/Plugins/ModelingComponents/UPreviewMesh
Description
Enable secondary triangle buffers. The Secondary material will be applied to any triangles that pass TriangleFilterFunc.
| Name | EnableSecondaryTriangleBuffers |
| Type | function |
| Header File | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/PreviewMesh.h |
| Include Path | #include "PreviewMesh.h" |
| Source | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Private/PreviewMesh.cpp |
void EnableSecondaryTriangleBuffers
(
TUniqueFunction < bool *, int32)> TriangleFilterFunc
)
Parameters
| Name | Remarks |
|---|---|
| TriangleFilterFunc | predicate used to identify secondary triangles |