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.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback