Navigation
Unreal Engine C++ API Reference > Plugins > ModelingComponents > UPreviewMesh > UpdatePreview
References
Module | ModelingComponents |
Header | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/PreviewMesh.h |
Include | #include "PreviewMesh.h" |
Source | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Private/PreviewMesh.cpp |
void UpdatePreview
&40;
const FDynamicMesh3 &42; Mesh,
ERenderUpdateMode UpdateMode,
EMeshRenderAttributeFlags ModifiedAttribs
&41;
Remarks
Update the internal mesh by copying the given Mesh
Parameters
Name | Description |
---|---|
Mesh | to copy. |
UpdateMode | Type of rendering update required. Should be FullUpdate if topology changes, otherwise can be FastUpdate. |
ModifiedAttribs | Only relevant in case of FastUpdate- determines which attributes actually changed. |