Navigation
API > API/Runtime > API/Runtime/MeshDescription > API/Runtime/MeshDescription/UMeshDescriptionBase
Description
Adds a new polygon to the mesh and returns its ID. This will also make any missing edges, and all constituent triangles.
| Name | CreatePolygon |
| Type | function |
| Header File | /Engine/Source/Runtime/MeshDescription/Public/MeshDescriptionBase.h |
| Include Path | #include "MeshDescriptionBase.h" |
| Source | /Engine/Source/Runtime/MeshDescription/Private/MeshDescriptionBase.cpp |
UFUNCTION (BlueprintCallable, Category="MeshDescription")
FPolygonID CreatePolygon
(
FPolygonGroupID PolygonGroupID,
TArray < FVertexInstanceID > & VertexInstanceIDs,
TArray < FEdgeID > & NewEdgeIDs
)