Navigation
API > API/Plugins > API/Plugins/ModelingComponents > API/Plugins/ModelingComponents/UMeshOpPreviewWithBackgroundComp-
References
| Module | ModelingComponents |
| Header | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/MeshOpPreviewHelpers.h |
| Include | #include "MeshOpPreviewHelpers.h" |
| Source | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Private/MeshOpPreviewHelpers.cpp |
void SetIsMeshTopologyConstant
&40;
bool bOn,
EMeshRenderAttributeFlags ChangingAttributes
&41;
Remarks
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.
Parameters
| Name | Description |
|---|---|
| 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. |