UDynamicMeshComponent::SetInvalidateProxyOnChangeEnabled

When a [FMeshChange](API\Runtime\GeometryFramework\Changes\FMeshChange) or [FMeshVertexChange](API\Runtime\GeometryFramework\Changes\FMeshVertexChange) is applied, by default we currently fully invalidate the render proxy.

Choose your operating system:

Windows

macOS

Linux

References

Module

GeometryFramework

Header

/Engine/Source/Runtime/GeometryFramework/Public/Components/DynamicMeshComponent.h

Include

#include "Components/DynamicMeshComponent.h"

Source

/Engine/Source/Runtime/GeometryFramework/Private/Components/DynamicMeshComponent.cpp

Syntax

void SetInvalidateProxyOnChangeEnabled
(
    bool bEnabled
)

Remarks

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.