Navigation
API > API/Plugins > API/Plugins/MeshModelingToolsEditorOnly
Data required to preview the skinning deformations as you paint
| Name | FSkinToolDeformer |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/MeshModelingToolset/Source/MeshModelingToolsEditorOnly/Public/SkeletalMesh/SkinWeightsPaintTool.h |
| Include Path | #include "SkeletalMesh/SkinWeightsPaintTool.h" |
Syntax
struct FSkinToolDeformer
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BoneNames | TArray< FName > | Bone index to bone name | SkeletalMesh/SkinWeightsPaintTool.h | |
| BoneNameToIndexMap | TMap< FName, BoneIndex > | SkeletalMesh/SkinWeightsPaintTool.h | ||
| InvCSRefPoseTransforms | TArray< FTransform > | Inverted, component space ref pose transform of each bone | SkeletalMesh/SkinWeightsPaintTool.h | |
| Mesh | const FDynamicMesh3 * | Store a ref to the Mesh so there is a way to iterate over valid verts. | SkeletalMesh/SkinWeightsPaintTool.h | |
| PreviousPoseComponentSpace | TArray< FTransform > | Bones transforms used in last deformation update | SkeletalMesh/SkinWeightsPaintTool.h | |
| RefPoseComponentSpace | TArray< FTransform > | Bones transforms stored for duration of async deformation update | SkeletalMesh/SkinWeightsPaintTool.h | |
| RefPoseVertexPositions | TArray< FVector > | Position of all vertices in the reference pose | SkeletalMesh/SkinWeightsPaintTool.h | |
| RefSkeleton | FReferenceSkeleton | SkeletalMesh/SkinWeightsPaintTool.h | ||
| VerticesWithModifiedWeights | TSet< int32 > | Which vertices require updating (partially re-calculated skinning deformation while painting) | SkeletalMesh/SkinWeightsPaintTool.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Initialize
(
const FReferenceSkeleton& InRefSkeleton, |
SkeletalMesh/SkinWeightsPaintTool.h | ||
void SetAllVerticesToBeUpdated() |
SkeletalMesh/SkinWeightsPaintTool.h | ||
void SetToRefPose
(
USkinWeightsPaintTool* Tool |
SkeletalMesh/SkinWeightsPaintTool.h | ||
void SetVertexNeedsUpdated
(
int32 VertexIndex |
SkeletalMesh/SkinWeightsPaintTool.h | ||
void UpdateVertexDeformation
(
USkinWeightsPaintTool* Tool, |
SkeletalMesh/SkinWeightsPaintTool.h |