Navigation
API > API/Plugins > API/Plugins/ChaosClothAssetDataflowNodes
Update cloth collection attributes from a DynamicMesh
| Name | FChaosClothAssetUpdateClothFromDynamicMeshNode |
| Type | struct |
| Header File | /Engine/Plugins/ChaosClothAssetEditor/Source/ChaosClothAssetDataflowNodes/Public/ChaosClothAsset/ClothCollectionToDynamicMeshNode.h |
| Include Path | #include "ChaosClothAsset/ClothCollectionToDynamicMeshNode.h" |
Syntax
USTRUCT (Meta=(DataflowCloth, Experimental))
struct FChaosClothAssetUpdateClothFromDynamicMeshNode : public FDataflowNode
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → FDataflowNode → FChaosClothAssetUpdateClothFromDynamicMeshNode
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FChaosClothAssetUpdateClothFromDynamicMeshNode
(
const UE::Dataflow::FNodeParameters& InParam, |
ChaosClothAsset/ClothCollectionToDynamicMeshNode.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bCopyToRendeNormalsAndTangents | bool | Copy DynamicMesh Vertex Normals and Tangents to Render Normals and Tangents | ChaosClothAsset/ClothCollectionToDynamicMeshNode.h |
|
| bCopyToRenderMaterials | bool | Copy input materials to Render Materials (order and number must match otherwise only the minimum common number of materials are updated) | ChaosClothAsset/ClothCollectionToDynamicMeshNode.h |
|
| bCopyToRenderPositions | bool | Copy DynamicMesh Vertex Positions to Render Positions | ChaosClothAsset/ClothCollectionToDynamicMeshNode.h |
|
| bCopyToSim3DPositions | bool | Copy DynamicMesh Vertex Positions to Sim3D Positions | ChaosClothAsset/ClothCollectionToDynamicMeshNode.h |
|
| bCopyToSimNormals | bool | Copy DynamicMesh Vertex Normals to Sim Normals | ChaosClothAsset/ClothCollectionToDynamicMeshNode.h |
|
| bCopyUVsToRenderUVs | bool | Copy DynamicMesh UVs to Render UVs | ChaosClothAsset/ClothCollectionToDynamicMeshNode.h |
|
| bCopyUVsToSim2DPositions | bool | Copy DynamicMesh UVs to Sim2D Positions | ChaosClothAsset/ClothCollectionToDynamicMeshNode.h |
|
| Collection | FManagedArrayCollection | ChaosClothAsset/ClothCollectionToDynamicMeshNode.h |
|
|
| DynamicMesh | TObjectPtr< const UDynamicMesh > | ChaosClothAsset/ClothCollectionToDynamicMeshNode.h |
|
|
| Materials | TArray< TObjectPtr< const UMaterialInterface > > | ChaosClothAsset/ClothCollectionToDynamicMeshNode.h |
|
|
| UVChannelIndex | int32 | Which UV Channel to use at Sim2D Positions or Render UVs. Use -1 to copy all Render UVs. | ChaosClothAsset/ClothCollectionToDynamicMeshNode.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
DATAFLOW_NODE_DEFINE_INTERNAL
(
FChaosClothAssetUpdateClothFromDynamicMeshNode, |
ChaosClothAsset/ClothCollectionToDynamicMeshNode.h | ||
virtual void Evaluate
(
UE::Dataflow::FContext& Context, |
ChaosClothAsset/ClothCollectionToDynamicMeshNode.h | ||
FName
(
"FClothCollection" |
ChaosClothAsset/ClothCollectionToDynamicMeshNode.h |