Navigation
API > API/Plugins > API/Plugins/ChaosClothAssetDataflowNodes
Transfer the skinning weights set on a skeletal mesh to the simulation and/or render mesh stored in the cloth collection.
| Name | FChaosClothAssetTransferSkinWeightsNode |
| Type | struct |
| Header File | /Engine/Plugins/ChaosClothAssetEditor/Source/ChaosClothAssetDataflowNodes/Public/ChaosClothAsset/TransferSkinWeightsNode.h |
| Include Path | #include "ChaosClothAsset/TransferSkinWeightsNode.h" |
Syntax
USTRUCT (Meta=(DataflowCloth))
struct FChaosClothAssetTransferSkinWeightsNode : public FDataflowNode
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → FDataflowNode → FChaosClothAssetTransferSkinWeightsNode
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FChaosClothAssetTransferSkinWeightsNode
(
const UE::Dataflow::FNodeParameters& InParam, |
ChaosClothAsset/TransferSkinWeightsNode.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Collection | FManagedArrayCollection | ChaosClothAsset/TransferSkinWeightsNode.h |
|
|
| InpaintMask | FChaosClothAssetWeightedValueNonAnimatableNoLowHighRange | Optional mask where a non-zero value indicates that we want the skinning weights for the vertex to be computed automatically instead of it being copied over from the source mesh. | ChaosClothAsset/TransferSkinWeightsNode.h |
|
| LayeredMeshSupport | bool | If true, when the closest point doesn't pass the normal threshold test, will try again with a flipped normal. | ChaosClothAsset/TransferSkinWeightsNode.h |
|
| LodIndex | int32 | The skeletal mesh LOD to transfer the skin weights from. | ChaosClothAsset/TransferSkinWeightsNode.h |
|
| MaxNumInfluences | EChaosClothAssetMaxNumInfluences | The maximum number of bones that will influence each vertex. | ChaosClothAsset/TransferSkinWeightsNode.h |
|
| NormalThreshold | double | Maximum angle difference (in degrees) between the target and source point normals to be considered a match for the InpaintWeights method. | ChaosClothAsset/TransferSkinWeightsNode.h |
|
| NumSmoothingIterations | int32 | The number of smoothing iterations applied to the vertices whose weights were automatically computed. | ChaosClothAsset/TransferSkinWeightsNode.h |
|
| RadiusPercentage | double | Percentage of the bounding box diagonal of the simulation mesh to use as search radius for the InpaintWeights method. | ChaosClothAsset/TransferSkinWeightsNode.h |
|
| RenderMeshSourceType | EChaosClothAssetTransferRenderMeshSource | For the render mesh, choose which source to use, either the default or specified simulation mesh or the specified skeletal mesh. | ChaosClothAsset/TransferSkinWeightsNode.h |
|
| SimCollection | FManagedArrayCollection | The collection containing the sim mesh to use when the Render Mesh Transfer Source is set to Collection/Sim Collection. | ChaosClothAsset/TransferSkinWeightsNode.h |
|
| SkeletalMesh | TObjectPtr< USkeletalMesh > | The skeletal mesh to transfer the skin weights from. | ChaosClothAsset/TransferSkinWeightsNode.h |
|
| SmoothingStrength | float | The smoothing strength of each smoothing iteration. | ChaosClothAsset/TransferSkinWeightsNode.h |
|
| TargetMeshType | EChaosClothAssetTransferTargetMeshType | The type of cloth mesh the skeletal mesh transfer will be applied to, simulation, render mesh, or both. | ChaosClothAsset/TransferSkinWeightsNode.h |
|
| TransferMethod | EChaosClothAssetTransferSkinWeightsMethod | Algorithm used for the transfer method. | ChaosClothAsset/TransferSkinWeightsNode.h |
|
| Transform | FTransform | The relative transform between the skeletal mesh and the cloth asset. | ChaosClothAsset/TransferSkinWeightsNode.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| SimMeshSourceTypeHint | FString | For the sim mesh, simulation mesh transfers always use the specified skeletal mesh. | ChaosClothAsset/TransferSkinWeightsNode.h |
|
| TransferMethodHint | FString | Algorithm used for the transfer method. | ChaosClothAsset/TransferSkinWeightsNode.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
DATAFLOW_NODE_DEFINE_INTERNAL
(
FChaosClothAssetTransferSkinWeightsNode, |
ChaosClothAsset/TransferSkinWeightsNode.h | ||
FName
(
"FClothCollection" |
ChaosClothAsset/TransferSkinWeightsNode.h |