Navigation
API > API/Plugins > API/Plugins/DynamicMesh
FPolygroupLayerAdapter provides an interface to Get/Set group IDs per triangle using a FDynamicMeshPolygroupAttribute as the actual data storage.
| Name | FPolygroupLayerAdapter |
| Type | class |
| Header File | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/Polygroups/GroupSetAdapter.h |
| Include Path | #include "Polygroups/GroupSetAdapter.h" |
Syntax
class FPolygroupLayerAdapter : public UE::Geometry::ITriangleGroupSetAdapter
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FPolygroupLayerAdapter
(
const FDynamicMesh3* InMesh, |
Initialize a FPolygroupLayerAdapter for given Mesh and specific Polygroup attribute layer. | Polygroups/GroupSetAdapter.h |
Functions
Public
Public Virtual
Overridden from ITriangleGroupSetAdapter
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual int32 GetGroup
(
const int32 TriangleID |
Polygroups/GroupSetAdapter.h | ||
virtual void SetGroup
(
const int32 TriangleID, |
Set the Group ID for a TriangleID. | Polygroups/GroupSetAdapter.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int32 GetLayerIndex() |
Polygroups/GroupSetAdapter.h |