UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::Geometry::TToDynamicMeshBase< SrcMeshType > Class Template Reference

#include <ToDynamicMesh.h>

+ Inheritance diagram for UE::Geometry::TToDynamicMeshBase< SrcMeshType >:

Public Types

using SrcVertIDType = typename SrcMeshType::VertIDType
 
using SrcTriIDType = typename SrcMeshType::TriIDType
 

Public Member Functions

 TToDynamicMeshBase ()
 
void Convert (FDynamicMesh3 &MeshOut, const SrcMeshType &MeshIn, TFunctionRef< int32(const SrcTriIDType &SrcTrID)> GroupIDFunction)
 

Public Attributes

TArray< SrcVertIDTypeToSrcVertIDMap
 
TArray< SrcTriIDTypeToSrcTriIDMap
 
FDateTime Time_AfterVertices
 
FDateTime Time_AfterTriangles
 

Detailed Description

template<typename SrcMeshType>
class UE::Geometry::TToDynamicMeshBase< SrcMeshType >

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. bool GetTri(const TriIDType TriID, VertIDType& VID0, VertIDType& VID1, VertIDType& VID2) const; };

Member Typedef Documentation

◆ SrcTriIDType

template<typename SrcMeshType >
using UE::Geometry::TToDynamicMeshBase< SrcMeshType >::SrcTriIDType = typename SrcMeshType::TriIDType

◆ SrcVertIDType

template<typename SrcMeshType >
using UE::Geometry::TToDynamicMeshBase< SrcMeshType >::SrcVertIDType = typename SrcMeshType::VertIDType

Constructor & Destructor Documentation

◆ TToDynamicMeshBase()

template<typename SrcMeshType >
UE::Geometry::TToDynamicMeshBase< SrcMeshType >::TToDynamicMeshBase ( )
inline

Member Function Documentation

◆ Convert()

template<typename SrcMeshType >
void UE::Geometry::TToDynamicMeshBase< SrcMeshType >::Convert ( FDynamicMesh3 MeshOut,
const SrcMeshType MeshIn,
TFunctionRef< int32(const SrcTriIDType &SrcTrID)>  GroupIDFunction 
)
inline

Member Data Documentation

◆ Time_AfterTriangles

◆ Time_AfterVertices

◆ ToSrcTriIDMap

◆ ToSrcVertIDMap


The documentation for this class was generated from the following file: