UMeshDescriptionBase::CreateTriangleWithID

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

void CreateTriangleWithID
(
    FTriangleID TriangleID,
    FPolygonGroupID PolygonGroupID,
    const TArray< FVertexInstanceID > & VertexInstanceIDs,
    TArray< FEdgeID > & NewEdgeIDs
)

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