TTriangleMesh::Init

Initialize the `[TTriangleMesh](API\Runtime\Chaos\Chaos\TTriangleMesh)_.

Windows
MacOS
Linux

References

Module

Chaos

Header

/Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/TriangleMesh.h

Include

#include "Chaos/TriangleMesh.h"

Source

/Engine/Source/Runtime/Experimental/Chaos/Private/Chaos/TriangleMesh.cpp

Syntax

void Init
(
    const TArray< TVector< int32, 3 >> & Elements,
    const int32 StartIdx,
    const int32 EndIdx,
    const bool CullDegenerateElements
)

Remarks

Initialize the `TTriangleMesh_.

CullDegenerateElements_ removes faces with degenerate indices, and will change the order of MElements_.

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