Navigation
API > API/Runtime > API/Runtime/GeometryFramework > API/Runtime/GeometryFramework/UDynamicMeshComponent
Description
The bDeferCollisionUpdates property is a serialized Component setting that controls when collision is regenerated. However, in some cases where a UDynamicMesh is being programmatically edited (eg like a live deformation/etc), we want to defer collision updates during the user interaction, but not change the serialized property. In this case a non-serialized version of the flag can be temporarily set via this function in C++.
| Name | SetTransientDeferCollisionUpdates |
| 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 SetTransientDeferCollisionUpdates
(
bool bEnabled
)