Navigation
API > API/Plugins > API/Plugins/ChaosFleshNodes
Computes a muscle fiber direction per tetrahedron from a GeometryCollection containing tetrahedra, vertices, and origin & insertion vertex fields. Fiber directions should smoothly follow the geometry oriented from the origin vertices pointing to the insertion vertices.
| Name | FComputeFiberFieldNode |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/ChaosFlesh/Source/ChaosFleshNodes/Public/Dataflow/ChaosFleshComputeFiberFieldNode.h |
| Include Path | #include "Dataflow/ChaosFleshComputeFiberFieldNode.h" |
Syntax
USTRUCT (Meta=(DataflowFlesh))
struct FComputeFiberFieldNode : public FDataflowNode
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → FDataflowNode → FComputeFiberFieldNode
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FComputeFiberFieldNode
(
const UE::Dataflow::FNodeParameters& InParam, |
Dataflow/ChaosFleshComputeFiberFieldNode.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bShowMuscleColor | bool | If muscles are colored by the flow from origins (blue) to insertions (red). This becomes optional in 5.6. | Dataflow/ChaosFleshComputeFiberFieldNode.h |
|
| Collection | FManagedArrayCollection | Dataflow/ChaosFleshComputeFiberFieldNode.h |
|
|
| InsertionIndices | TArray< int32 > | Dataflow/ChaosFleshComputeFiberFieldNode.h |
|
|
| InsertionVertexFieldName | FString | Dataflow/ChaosFleshComputeFiberFieldNode.h |
|
|
| MaxIterations | int32 | Dataflow/ChaosFleshComputeFiberFieldNode.h |
|
|
| OriginIndices | TArray< int32 > | Dataflow/ChaosFleshComputeFiberFieldNode.h |
|
|
| OriginInsertionGroupName | FString | Dataflow/ChaosFleshComputeFiberFieldNode.h |
|
|
| OriginVertexFieldName | FString | Dataflow/ChaosFleshComputeFiberFieldNode.h |
|
|
| Tolerance | float | Dataflow/ChaosFleshComputeFiberFieldNode.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ComputeFiberField
(
const TManagedArray< FIntVector4 >& Elements, |
Dataflow/ChaosFleshComputeFiberFieldNode.h | ||
DATAFLOW_NODE_DEFINE_INTERNAL
(
FComputeFiberFieldNode, |
Dataflow/ChaosFleshComputeFiberFieldNode.h | ||
FGeometryCollection::StaticType() |
Dataflow/ChaosFleshComputeFiberFieldNode.h | ||
| Dataflow/ChaosFleshComputeFiberFieldNode.h |
Overridden from FDataflowNode
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Evaluate
(
UE::Dataflow::FContext& Context, |
Dataflow/ChaosFleshComputeFiberFieldNode.h |