UMeshDescriptionBase::CreateTriangle

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

Windows
MacOS
Linux

References

Module

MeshDescription

Header

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

Include

#include "MeshDescriptionBase.h"

Source

/Engine/Source/Runtime/MeshDescription/Private/MeshDescriptionBase.cpp

Syntax

FTriangleID CreateTriangle
(
    FPolygonGroupID PolygonGroupID,
    const TArray< FVertexInstanceID > & VertexInstanceIDs,
    TArray< FEdgeID > & NewEdgeIDs
)

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