Navigation
API > API/Runtime > API/Runtime/GeometryFramework > API/Runtime/GeometryFramework/FBaseDynamicMeshSceneProxy
Description
Update vertex positions/normals/colors of an existing set of render buffers. Assumes that buffers were created with unshared vertices, ie three vertices per triangle, eg by InitializeBuffersFromOverlays()
| Name | UpdateVertexBuffersFromOverlays |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryFramework/Public/Components/BaseDynamicMeshSceneProxy.h |
| Include Path | #include "Components/BaseDynamicMeshSceneProxy.h" |
template<typename TriangleEnumerable>
void UpdateVertexBuffersFromOverlays
(
FMeshRenderBufferSet * RenderBuffers,
const FDynamicMesh3 * Mesh,
int NumTriangles,
const TriangleEnumerable & Enumerable,
const FDynamicMeshNormalOverlay * NormalOverlay,
const FDynamicMeshColorOverlay * ColorOverlay,
TFunctionRef < void> TangentsFunc,
bool bUpdatePositions,
bool bUpdateNormals,
bool bUpdateColors
)