Navigation
API > API/Plugins > API/Plugins/DataflowEditor
Correct skin weights vertex properties.
| Name | FDataflowCorrectSkinWeightsNode |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/Dataflow/Source/DataflowEditor/Public/DataflowEditorTools/DataflowEditorCorrectSkinWeightsNode.h |
| Include Path | #include "DataflowEditorTools/DataflowEditorCorrectSkinWeightsNode.h" |
Syntax
USTRUCT (Meta=(Experimental, DataflowCollection))
struct FDataflowCorrectSkinWeightsNode : public FDataflowNode
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → FDataflowNode → FDataflowCorrectSkinWeightsNode
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FDataflowCorrectSkinWeightsNode
(
const UE::Dataflow::FNodeParameters& InParam, |
DataflowEditorTools/DataflowEditorCorrectSkinWeightsNode.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| ClampSkinWeightsSelectionName | const FName | DataflowEditorTools/DataflowEditorCorrectSkinWeightsNode.h | |
| HammerSkinWeightsSelectionName | DATAFLOW_NODE_DEFINE_INTERNAL(FDataflowCorrectSkinWeightsNode, "CorrectSkinWeights", "Collection", "Correct skin weights and save it to collection") public const FName | DataflowEditorTools/DataflowEditorCorrectSkinWeightsNode.h | |
| NormalizeSkinWeightsSelectionName | const FName | DataflowEditorTools/DataflowEditorCorrectSkinWeightsNode.h | |
| RelaxSkinWeightsSelectionName | const FName | DataflowEditorTools/DataflowEditorCorrectSkinWeightsNode.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BoneIndicesKey | FCollectionAttributeKey | Bone indices key to be used in other nodes if necessary | DataflowEditorTools/DataflowEditorCorrectSkinWeightsNode.h |
|
| BoneIndicesName | FString | The name to be set for the bone indices. | DataflowEditorTools/DataflowEditorCorrectSkinWeightsNode.h |
|
| BoneWeightsKey | FCollectionAttributeKey | Bone weights key to be used in other nodes if necessary | DataflowEditorTools/DataflowEditorCorrectSkinWeightsNode.h |
|
| BoneWeightsName | FString | The name to be set for the bone weights. | DataflowEditorTools/DataflowEditorCorrectSkinWeightsNode.h |
|
| bUseSelectionAsPerVertexFactor | bool | When true, use the decimal values of the selection as a per vertex factor for the selected operation - Currently available for Relax operation only - false by default | DataflowEditorTools/DataflowEditorCorrectSkinWeightsNode.h |
|
| ClampingNumber | int32 | Max number of bones to consider for the skin weights | DataflowEditorTools/DataflowEditorCorrectSkinWeightsNode.h |
|
| Collection | FManagedArrayCollection | DataflowEditorTools/DataflowEditorCorrectSkinWeightsNode.h |
|
|
| CorrectionType | ESkinWeightsCorrectionType | Selection map key to be used in other nodes if necessary | DataflowEditorTools/DataflowEditorCorrectSkinWeightsNode.h |
|
| PruningThreshold | float | All weights below this threshold will be pruned | DataflowEditorTools/DataflowEditorCorrectSkinWeightsNode.h |
|
| SelectionMapKey | FCollectionAttributeKey | Selection map key to be used in other nodes if necessary | DataflowEditorTools/DataflowEditorCorrectSkinWeightsNode.h |
|
| SelectionMapName | FString | Map name to be used to select vertices to correct | DataflowEditorTools/DataflowEditorCorrectSkinWeightsNode.h |
|
| SelectionThreshold | float | Selection threshold to consider a neighbor skin weight | DataflowEditorTools/DataflowEditorCorrectSkinWeightsNode.h |
|
| SmoothingFactor | float | Lerp value in between the current and the average weight values | DataflowEditorTools/DataflowEditorCorrectSkinWeightsNode.h |
|
| SmoothingIterations | int32 | Number of iteration required for the smoothing | DataflowEditorTools/DataflowEditorCorrectSkinWeightsNode.h |
|
| VertexGroup | FScalarVertexPropertyGroup | Target group in which the attributes are stored | DataflowEditorTools/DataflowEditorCorrectSkinWeightsNode.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FCollectionAttributeKey GetBoneIndicesKey
(
UE::Dataflow::FContext& Context |
Get the weights attribute key to retrieve/set the bone indices values | DataflowEditorTools/DataflowEditorCorrectSkinWeightsNode.h | |
FCollectionAttributeKey GetBoneWeightsKey
(
UE::Dataflow::FContext& Context |
Get the weights attribute key to retrieve/set the bone weights values | DataflowEditorTools/DataflowEditorCorrectSkinWeightsNode.h | |
FCollectionAttributeKey GetSelectionMapKey
(
UE::Dataflow::FContext& Context |
Get the selection map key to get the vertex selection on which the correction will be applied | DataflowEditorTools/DataflowEditorCorrectSkinWeightsNode.h |