FMeshDescriptionBuilder::AppendPolygon

Append an arbitrary polygon to the mesh with the given PolygonGroup ID, and optionally with polygon-vertex UVs and Normals Unique Vertex instances will be created for each polygon-vertex.

Windows
MacOS
Linux

References

Module

MeshConversion

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/MeshConversion/Public/MeshDescriptionBuilder.h

Include

#include "MeshDescriptionBuilder.h"

Source

/Engine/Plugins/Experimental/GeometryProcessing/Source/MeshConversion/Private/MeshDescriptionBuilder.cpp

Syntax

FPolygonID AppendPolygon
(
    const TArray< FVertexID > & Vertices,
    const FPolygonGroupID & PolygonGroup,
    const TArray< FVector2D > * VertexUVs,
    const TArray< FVector > * VertexNormals
)

Remarks

Append an arbitrary polygon to the mesh with the given PolygonGroup ID, and optionally with polygon-vertex UVs and Normals Unique Vertex instances will be created for each polygon-vertex.

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