FMeshDescription::CreateTriangle

Adds a new triangle 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

FTriangleID CreateTriangle
(
    const FPolygonGroupID PolygonGroupID,
    TArrayView< const FVertexInstanceID > VertexInstanceIDs,
    TArray< FEdgeID > * OutEdgeIDs
)

Remarks

Adds a new triangle to the mesh and returns its ID. This will also make an encapsulating polygon, and any missing edges.

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