Navigation
API > API/Plugins > API/Plugins/ModelingComponents > API/Plugins/ModelingComponents/UMeshOpPreviewWithBackgroundComp-
Description
If set to true, then it will be assumed that the mesh topology (i.e. triangle/edge connectivity) remains constant, which will allow updates after the first one to modify existing render proxy buffers rather than creating entirely new ones. This will give a significant speedup to tools that do not add/remove vertices or affect their connectivity.
| Name | SetIsMeshTopologyConstant |
| Type | function |
| Header File | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/MeshOpPreviewHelpers.h |
| Include Path | #include "MeshOpPreviewHelpers.h" |
| Source | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Private/MeshOpPreviewHelpers.cpp |
void SetIsMeshTopologyConstant
(
bool bOn,
EMeshRenderAttributeFlags ChangingAttributes
)
Parameters
| Name | Remarks |
|---|---|
| bOn | |
| ChangingAttributes | If bOn is set to true, determines which attributes need updating. For instance, if a tool moves verts without changing their UV's, then one would probably pass "EMeshRenderAttributeFlags::Positions | EMeshRenderAttributeFlags::VertexNormals". Has no effect if bOn was set to false. |