Navigation
API > API/Plugins > API/Plugins/DataflowNodes
Proxy that copies a single named triangle-label attribute from source triangles to matching target triangles. Labels are discrete values so no interpolation is performed.
@experimental Available since UE 5.8; the API may change without notice.
| Name | FTriangleLabelProxy |
| Type | struct |
| Header File | /Engine/Plugins/Dataflow/Source/DataflowNodes/Public/Dataflow/Transfer/TransferAttributes.h |
| Include Path | #include "Dataflow/Transfer/TransferAttributes.h" |
Syntax
struct FTriangleLabelProxy
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FTriangleLabelProxy
(
const FDynamicMeshTriangleLabelAttribute* InAttribute, |
Constructs a proxy bound to the given source triangle-label attribute. | Dataflow/Transfer/TransferAttributes.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| DstAttribute | FDynamicMeshTriangleLabelAttribute * | 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 triangle-label attribute on the target mesh. | Dataflow/Transfer/TransferAttributes.h | |
| SrcAttribute | const FDynamicMeshTriangleLabelAttribute * | Read-only pointer to the source triangle-label attribute. | Dataflow/Transfer/TransferAttributes.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool GetOrCreateDestAttribute
(
FDynamicMesh3& InDstMesh |
Looks up or creates the named triangle-label attribute on InDstMesh. | Dataflow/Transfer/TransferAttributes.h | |
void Transfer
(
const int32 SrcTriangleID, |
Copies the label value from SrcTriangleID on the source attribute to DstTriangleID on the destination attribute. | Dataflow/Transfer/TransferAttributes.h |