Navigation
API > API/Runtime > API/Runtime/MeshConversion
References
| Module | MeshConversion |
| Header | /Engine/Source/Runtime/MeshConversion/Public/ToDynamicMesh.h |
| Include | #include "ToDynamicMesh.h" |
namespace UE
{
namespace Geometry
{
&42;bool UE&58;&58;Geometry&58;&58;GetTri
&40;
const TriIDType TriID,
VertIDType & VID0,
VertIDType & VID1,
VertIDType & VID2
&41; const
}
}
Remarks
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;
// accounting. 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. /**