FMeshDescription::CreateTriangleWithID

Adds a new triangle to the mesh with the given ID.

Windows
MacOS
Linux

References

Module

MeshDescription

Header

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

Include

#include "MeshDescription.h"

Syntax

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

Remarks

Adds a new triangle to the mesh with the given 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