Navigation
API > API/Plugins > API/Plugins/ModelingComponents > API/Plugins/ModelingComponents/Drawing > API/Plugins/ModelingComponents/Drawing/UPreviewGeometry
References
| Module | ModelingComponents |
| Header | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/Drawing/PreviewGeometryActor.h |
| Include | #include "Drawing/PreviewGeometryActor.h" |
| Source | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Private/Drawing/PreviewGeometryActor.cpp |
UTriangleSetComponent * CreateOrUpdateTriangleSet
(
const FString & TriangleSetIdentifier,
int32 NumIndices,
TFunctionRef < void Index, TArray < FRenderableTriangle > &TrianglesOut)> TriangleGenFunc,
int32 TrianglesPerIndexHint
)
Remarks
Add a set of triangles produced by calling TriangleGenFunc for each index in range [0,NumIndices) the created or updated triangle set