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 | ||
| Component | const USkeletalMeshComponent * | The skeletal mesh to get the current pose from | SkeletalMesh/SkinWeightsPaintTool.h | |
| InvCSRefPoseTransforms | TArray< FTransform > | Inverted, component space ref pose transform of each bone | 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 | |
| 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 USkeletalMeshComponent* InSkelMeshComponent, |
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 |