UDynamicMeshComponent::FastNotifyTriangleVerticesUpdated_TryPrecompute

If a Decomposition is set on this Component, and everything is currently valid (proxy/etc), precompute the set of buffers that will be modified, as well as the bounds of the modified region.

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

TFuture< bool > FastNotifyTriangleVerticesUpdated_TryPrecompute
(
    const TArray< int32 > & Triangles,
    TArray< int32 > & UpdateSetsOut,
    UE::Geometry::FAxisAlignedBox3d & BoundsOut
)

Remarks

If a Decomposition is set on this Component, and everything is currently valid (proxy/etc), precompute the set of buffers that will be modified, as well as the bounds of the modified region. These are both computed in parallel. Use FastNotifyTriangleVerticesUpdated_ApplyPrecompute() with the returned future to apply this precomputation.

Returns

a future that will (eventually) return true if the precompute is OK, and (immediately) false if it is not