USimpleDynamicMeshComponent::EnableSecondaryTriangleBuffers

If Secondary triangle buffers are enabled, then we will filter triangles that pass the given predicate function into a second index buffer.

Windows
MacOS
Linux

References

Module

ModelingComponents

Header

/Engine/Plugins/Experimental/MeshModelingToolset/Source/ModelingComponents/Public/SimpleDynamicMeshComponent.h

Include

#include "SimpleDynamicMeshComponent.h"

Source

/Engine/Plugins/Experimental/MeshModelingToolset/Source/ModelingComponents/Private/SimpleDynamicMeshComponent.cpp

Syntax

virtual void EnableSecondaryTriangleBuffers
(
    TUniqueFunction< bool *, int32)> SecondaryTriFilterFunc
)

Remarks

If Secondary triangle buffers are enabled, then we will filter triangles that pass the given predicate function into a second index buffer. These triangles will be drawn with the Secondary render material that is set in the BaseDynamicMeshComponent. Calling this function invalidates the SceneProxy.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss