Navigation
API > API/Plugins > API/Plugins/DataflowNodes
Proxy that copies a single named polygroup layer from source triangles to matching target triangles. Polygroup values are discrete integer labels, so no interpolation is performed; the value of the closest source triangle is assigned directly.
@experimental Available since UE 5.8; the API may change without notice.
| Name | FPolygroupProxy |
| Type | struct |
| Header File | /Engine/Plugins/Dataflow/Source/DataflowNodes/Public/Dataflow/Transfer/TransferAttributes.h |
| Include Path | #include "Dataflow/Transfer/TransferAttributes.h" |
Syntax
struct FPolygroupProxy
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FPolygroupProxy
(
const FDynamicMeshPolygroupAttribute* InAttribute, |
Constructs a proxy bound to the given source polygroup attribute. | Dataflow/Transfer/TransferAttributes.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| DstAttribute | FDynamicMeshPolygroupAttribute * | Pointer to the destination attribute on the target mesh; populated by GetOrCreateDestAttribute. | Dataflow/Transfer/TransferAttributes.h | |
| DstName | FName | Name used to look up or create the destination polygroup layer on the target mesh. | Dataflow/Transfer/TransferAttributes.h | |
| SrcAttribute | const FDynamicMeshPolygroupAttribute * | Read-only pointer to the source polygroup attribute. | Dataflow/Transfer/TransferAttributes.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool GetOrCreateDestAttribute
(
FDynamicMesh3& InDstMesh |
Finds the named polygroup layer on InDstMesh, or appends a new layer if it does not exist. | Dataflow/Transfer/TransferAttributes.h | |
void Transfer
(
const int32 SrcTriangleID, |
Copies the polygroup value from SrcTriangleID on the source attribute to DstTriangleID on the destination attribute. | Dataflow/Transfer/TransferAttributes.h |