Navigation
API > API/Plugins > API/Plugins/DynamicMesh
Adapter for producing an output simplified triangle mesh in any target triangle mesh structure
| Name | FResultMeshAdapter |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/Operations/MeshClusterSimplifier.h |
| Include Path | #include "Operations/MeshClusterSimplifier.h" |
Syntax
struct FResultMeshAdapter
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AppendTriangle | TFunction< int32(FIndex3i)> | Add a triangle to the result mesh, and return its ID Note this method should follow the same error conventions as FDynamicMesh3, so if it refuses to add a non-manifold triangle, it should return FDynamicMesh3::NonManifoldID | Operations/MeshClusterSimplifier.h | |
| AppendVertex | TFunction< int32(FVector3d)> | Add a vertex to the result mesh, and return its ID. | Operations/MeshClusterSimplifier.h | |
| Clear | TFunction< void()> | Clear the current mesh from the results. | Operations/MeshClusterSimplifier.h | |
| GetTriangle | TFunction< FIndex3i(int32)> | Accessor for triangles. | Operations/MeshClusterSimplifier.h | |
| GetVertex | TFunction< FVector3d(int32)> | Accessor for vertices. | Operations/MeshClusterSimplifier.h | |
| TransferPerTriangleAttributes | TFunction< void(TConstArrayView< int32 > ResultToSourceTriangleID)> | Operations/MeshClusterSimplifier.h | ||
| TransferPerVertexAttributes | TFunction< void(TConstArrayView< int32 > ResultToSourceVertexID)> | Attribute transfer methods; if not provided, attributes will not be transferred. | Operations/MeshClusterSimplifier.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Init
(
MeshType* Mesh |
Note that for attributes to transfer, the optional attribute transfer methods must be implemented separately. | Operations/MeshClusterSimplifier.h |