![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#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< SrcVertIDType > | ToSrcVertIDMap |
| TArray< SrcTriIDType > | ToSrcTriIDMap |
| FDateTime | Time_AfterVertices |
| FDateTime | Time_AfterTriangles |
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; };
| using UE::Geometry::TToDynamicMeshBase< SrcMeshType >::SrcTriIDType = typename SrcMeshType::TriIDType |
| using UE::Geometry::TToDynamicMeshBase< SrcMeshType >::SrcVertIDType = typename SrcMeshType::VertIDType |
|
inline |
|
inline |
| FDateTime UE::Geometry::TToDynamicMeshBase< SrcMeshType >::Time_AfterTriangles |
| FDateTime UE::Geometry::TToDynamicMeshBase< SrcMeshType >::Time_AfterVertices |
| TArray<SrcTriIDType> UE::Geometry::TToDynamicMeshBase< SrcMeshType >::ToSrcTriIDMap |
| TArray<SrcVertIDType> UE::Geometry::TToDynamicMeshBase< SrcMeshType >::ToSrcVertIDMap |