Navigation
API > API/Plugins > API/Plugins/MeshResizingDataflowNodes
Dataflow node for wrapping one mesh's topology to another mesh's shape. Uses point landmarks defined by the Mesh Wrap Landmarks node to match corresponding points between the two meshes.
| Name | FMeshWrapNode |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/MeshResizing/Source/MeshResizingNodes/Public/MeshResizing/MeshWrapNode.h |
| Include Path | #include "MeshResizing/MeshWrapNode.h" |
Syntax
USTRUCT (Meta=(MeshResizing, Experimental))
struct FMeshWrapNode : public FDataflowPrimitiveNode
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → FDataflowNode → FDataflowPrimitiveNode → FMeshWrapNode
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FMeshWrapNode
(
const UE::Dataflow::FNodeParameters& InParam, |
MeshResizing/MeshWrapNode.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bDisplayLandmarks | bool | Display landmarks. | MeshResizing/MeshWrapNode.h |
|
| bDisplaySource | bool | Draw source mesh. | MeshResizing/MeshWrapNode.h |
|
| bDisplayTarget | bool | Draw target mesh. | MeshResizing/MeshWrapNode.h |
|
| CorrespondenceStiffness | float | Weight of mesh wrap to match Landmark correspondences. | MeshResizing/MeshWrapNode.h |
|
| DefaultDisplayMaterial | TObjectPtr< UMaterial > | Display material for Source or Target when none is supplied. | MeshResizing/MeshWrapNode.h |
|
| InitialProjectionStiffness | float | Initial weight of mesh wrap to match projected Target Shape. | MeshResizing/MeshWrapNode.h |
|
| LaplacianStiffness | float | Weight of mesh wrap to retain Source Topology mesh features. | MeshResizing/MeshWrapNode.h |
|
| MatchedLandmarks | TArray< FMeshWrapCorrespondence > | Landmarks matched by Identifier from SourceTopologyLandmarks and TargetShapeLandmarks. | MeshResizing/MeshWrapNode.h |
|
| MaxNumOuterIterations | int32 | Mesh Wrap is calculated with an inner and outer loop. | MeshResizing/MeshWrapNode.h |
|
| NumInnerIterations | int32 | Mesh Wrap is calculated with an inner and outer loop. | MeshResizing/MeshWrapNode.h |
|
| ProjectionStiffnessMuliplier | float | Each outer loop will multiply InitialProjectionStiffness by this to improve Target Shape match. | MeshResizing/MeshWrapNode.h |
|
| ProjectionTolerance | float | Mesh Wrap will terminate early if the Projection tolerance is within this threshold. | MeshResizing/MeshWrapNode.h |
|
| SourceDisplayOffset | float | Offset of source mesh display for side-by-side drawing. | MeshResizing/MeshWrapNode.h |
|
| SourceTopologyLandmarks | TArray< FMeshWrapLandmark > | Landmarks defined on SourceTopologyMesh. | MeshResizing/MeshWrapNode.h |
|
| SourceTopologyMesh | TObjectPtr< UDataflowMesh > | Input mesh with the desired wrapped mesh topology. | MeshResizing/MeshWrapNode.h |
|
| TargetDisplayOffset | float | Offset of target mesh display for side-by-side drawing. | MeshResizing/MeshWrapNode.h |
|
| TargetShapeLandmarks | TArray< FMeshWrapLandmark > | Landmarks defined on TargetShapeMesh. | MeshResizing/MeshWrapNode.h |
|
| TargetShapeMesh | TObjectPtr< UDataflowMesh > | Input mesh with the desired wrapped mesh shape. | MeshResizing/MeshWrapNode.h |
|
| WrappedMesh | TObjectPtr< UDataflowMesh > | Output wrapped mesh. | MeshResizing/MeshWrapNode.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
DATAFLOW_NODE_DEFINE_INTERNAL
(
FMeshWrapNode, |
MeshResizing/MeshWrapNode.h | ||
FName
(
"UDataflowMesh" |
MeshResizing/MeshWrapNode.h |