Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/MeshConversion/Public/ToDynamicMesh.h |
Include |
#include "ToDynamicMesh.h" |
namespace UE
{
namespace Geometry
{
bool UE::Geometry::GetTri
(
const TriIDType TriID,
VertIDType & VID0,
VertIDType & VID1,
VertIDType & VID2
) const
}
}
Class used to convert a mesh without attributes (e.g. normals, uvs etc) to a FDynamicMesh3
The Source Mesh has to implement this interface
struct FSrcMeshInterface { ID types: must be castable to int32 typedef SrcVertIDType VertIDType; typedef SrcTriIDType TriIDType;
int32 NumTris() const; int32 NumVerts() const;
"Vertex Buffer" info const Iterable_VertIDType& GetVertIDs() const; const FVector GetPosition(const VertIDType VtxID) const;
"Index Buffer" info const Iterable_TriIDType& GetTriIDs() const return false if this TriID is not contained in mesh. /**