FSkinWeightProfileHelpers

Set of editor-only helper functions used by various bits of UI related to Skin Weight profiles

Windows
MacOS
Linux

References

Module

Persona

Header

/Engine/Source/Editor/Persona/Public/SkinWeightProfileHelpers.h

Include

#include "SkinWeightProfileHelpers.h"

Syntax

struct FSkinWeightProfileHelpers

Remarks

Set of editor-only helper functions used by various bits of UI related to Skin Weight profiles

Functions

Name Description

Public function Static

void

 

ClearSkinWeightProfileInstanceOverrides

(
    USkeletalMesh* InSkeletalMesh,
    FName InProfileName
)

Goes through every component using the given Skeletal Mesh and checks whether or not it currently has the Skin Weight Profile set (for either preview or at runtime)

Protected function Static

bool

 

CopySkinWeightsToProfile

(
    USkeletalMesh* SourceMesh,
    USkeletalMesh* TargetMesh,
    const int32 LODIndex,
    const FName ProfileName
)

Creates a copy of the skin weights from SourceMesh into a Skin Weight profile as part of TargetMesh

Public function Static

void

 

ImportSkinWeightProfile

(
    USkeletalMesh* InSkeletalMesh
)

Tries to import a new set of Skin Weights for the given Skeletal Mesh from an FBX file

Public function Static

void

 

ImportSkinWeightProfileLOD

(
    USkeletalMesh* InSkeletalMesh,
    FName ProfileName,
    int32 LODIndex
)

Tries to import a new set of Skin Weights for the given Skeletal Mesh at the given LOD index from an FBX file

Public function Static

void

 

ReimportSkinWeightProfileLOD

(
    USkeletalMesh* InSkeletalMesh,
    const FName& InProfileName,
    const int32 LODIndex
)

Tries to re import the previously imported skin weights for the given Skeletal Mesh, Profile name and LOD Index

Public function Static

void

 

RemoveSkinWeightProfile

(
    USkeletalMesh* InSkeletalMesh,
    const FName& InProfileName
)

Tries to remove the previously imported skin weights for all LODs from the given Skeletal Mesh and Profile name

Public function Static

void

 

RemoveSkinWeightProfileLOD

(
    USkeletalMesh* InSkeletalMesh,
    const FName& InProfileName,
    const int32 LODIndex
)

Tries to remove the previously imported skin weights for all LODs from the given Skeletal Mesh, Profile name and LOD index

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss