Navigation
API > API/Runtime > API/Runtime/GeometryFramework > API/Runtime/GeometryFramework/UDynamicMeshComponent
Description
When a FMeshChange or FMeshVertexChange is applied, by default we currently fully invalidate the render proxy. However in certain realtime situations (eg like Sculpting tools) it can be critical to undo/redo performance to do more optimized render data updates (eg using one of the FastXYZ functions above). To allow for that, the full proxy invalidation on change can be (temporarily!) disabled using this function.
| Name | SetInvalidateProxyOnChangeEnabled |
| Type | function |
| Header File | /Engine/Source/Runtime/GeometryFramework/Public/Components/DynamicMeshComponent.h |
| Include Path | #include "Components/DynamicMeshComponent.h" |
| Source | /Engine/Source/Runtime/GeometryFramework/Private/Components/DynamicMeshComponent.cpp |
void SetInvalidateProxyOnChangeEnabled
(
bool bEnabled
)