FMeshDescription::CreatePolygon

Adds a new polygon to the mesh and returns its ID.

Windows
MacOS
Linux

References

Module

MeshDescription

Header

/Engine/Source/Runtime/MeshDescription/Public/MeshDescription.h

Include

#include "MeshDescription.h"

Syntax

FPolygonID CreatePolygon
(
    const FPolygonGroupID PolygonGroupID,
    TArrayView< const FVertexInstanceID > VertexInstanceIDs,
    TArray< FEdgeID > * OutEdgeIDs
)

Remarks

Adds a new polygon to the mesh and returns its ID. This will also make any missing edges, and all constituent triangles.

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