Navigation
API > API/Plugins > API/Plugins/ChaosFleshNodes
Sets per-muscle parameters for custom muscle contraction.
| Name | FSetMuscleActivationParameterNode |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/ChaosFlesh/Source/ChaosFleshNodes/Public/Dataflow/ChaosFleshComputeMuscleActivationNode.h |
| Include Path | #include "Dataflow/ChaosFleshComputeMuscleActivationNode.h" |
Syntax
USTRUCT (Meta=(DataflowFlesh))
struct FSetMuscleActivationParameterNode : public FDataflowNode
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → FDataflowNode → FSetMuscleActivationParameterNode
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSetMuscleActivationParameterNode
(
const UE::Dataflow::FNodeParameters& InParam, |
Dataflow/ChaosFleshComputeMuscleActivationNode.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AnimationAsset | TObjectPtr< UAnimSequence > | Use minimum muscle lengths across this animation asset to infer MuscleLengthRatioThresholdForMaxActivation | Dataflow/ChaosFleshComputeMuscleActivationNode.h |
|
| ApplyCustomParameters | FDataflowFunctionProperty | Click on this button to apply custom muscle parameters. | Dataflow/ChaosFleshComputeMuscleActivationNode.h |
|
| ApplyGlobalParameters | FDataflowFunctionProperty | Click on this button to apply global parameters. | Dataflow/ChaosFleshComputeMuscleActivationNode.h |
|
| bUseLengthActivationCurve | bool | Dataflow/ChaosFleshComputeMuscleActivationNode.h |
|
|
| Collection | FManagedArrayCollection | Dataflow/ChaosFleshComputeMuscleActivationNode.h |
|
|
| ContractionVolumeScale | float | Muscles gain volume during contraction if > 1. Volume-preserving if 1. Default: 1 | Dataflow/ChaosFleshComputeMuscleActivationNode.h |
|
| GlobalFiberLengthRatioAtMaxActivation | float | How much muscle fibers shorten at max activation 1. | Dataflow/ChaosFleshComputeMuscleActivationNode.h |
|
| GlobalInflationVolumeScale | float | Inflates muscle rest volume if > 1 and deflates muscle rest volume if < 1. Default: 1 | Dataflow/ChaosFleshComputeMuscleActivationNode.h |
|
| GlobalLengthActivationCurve | FRuntimeFloatCurve | Curve editor for muscle length-activation curve. | Dataflow/ChaosFleshComputeMuscleActivationNode.h |
|
| GlobalMuscleLengthRatioThresholdForMaxActivation | float | Muscle length ratio (defined by origin-insertion distance) below this threshold is considered to reach max activation 1. | Dataflow/ChaosFleshComputeMuscleActivationNode.h |
|
| ImportAllMuscleNames | FDataflowFunctionProperty | Click on this button to import muscle bone names (in the Transform group) from the collection. | Dataflow/ChaosFleshComputeMuscleActivationNode.h |
|
| ImportLowestMuscleLengthRatio | FDataflowFunctionProperty | Click on this button to import the minimum muscle lengths across the animation asset as MuscleLengthRatioThresholdForMaxActivation | Dataflow/ChaosFleshComputeMuscleActivationNode.h |
|
| ParameterArray | TArray< FPerMuscleParameter > | Dataflow/ChaosFleshComputeMuscleActivationNode.h |
|
|
| ParameterMethod | TEnumAsByte< EParameterMethod > | Dataflow/ChaosFleshComputeMuscleActivationNode.h |
|
|
| ResetToGlobalParameters | FDataflowFunctionProperty | Click on this button to reset per-muscle parameters to global parameters. | Dataflow/ChaosFleshComputeMuscleActivationNode.h |
|
| SkeletalMesh | TObjectPtr< USkeletalMesh > | Skeletal mesh used to linear blend skin kinematic origins and insertions. | Dataflow/ChaosFleshComputeMuscleActivationNode.h |
|
| ThresholdScalingPercent | float | This percentage (usually between 0 and 100%) globally scales minimum muscle lengths computed from the animation asset. | Dataflow/ChaosFleshComputeMuscleActivationNode.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
DATAFLOW_NODE_DEFINE_INTERNAL
(
FSetMuscleActivationParameterNode, |
Dataflow/ChaosFleshComputeMuscleActivationNode.h | ||
FGeometryCollection::StaticType() |
Dataflow/ChaosFleshComputeMuscleActivationNode.h |
Overridden from FDataflowNode
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Evaluate
(
UE::Dataflow::FContext& Context, |
Dataflow/ChaosFleshComputeMuscleActivationNode.h | ||
virtual bool ShouldInvalidateOnPropertyChanged
(
const FPropertyChangedEvent& InPropertyChangedEvent |
Dataflow/ChaosFleshComputeMuscleActivationNode.h |