FLODUtilities::UpdateAlternateSkinWeights

This function apply the skinning weights from asource skeletal mesh to the destination skeletal mesh.

Windows
MacOS
Linux

References

Module

SkeletalMeshUtilitiesCommon

Header

/Engine/Source/Developer/SkeletalMeshUtilitiesCommon/Public/LODUtilities.h

Include

#include "LODUtilities.h"

Source

/Engine/Source/Developer/SkeletalMeshUtilitiesCommon/Private/LODUtilities.cpp

Syntax

static bool UpdateAlternateSkinWeights
(
    USkeletalMesh * SkeletalMeshDest,
    const FName & ProfileNameDest,
    USkeletalMesh * SkeletalMeshSrc,
    int32 LODIndexDest,
    int32 LODIndexSrc,
    FOverlappingThresholds OverlappingThresholds,
    bool ShouldImportNormals,
    bool ShouldImportTangents,
    bool bUseMikkTSpace,
    bool bComputeWeightedNormals
)

Remarks

This function apply the skinning weights from asource skeletal mesh to the destination skeletal mesh. The Destination will receive the weights has the alternate weights. We extract the imported skinning weight data from the SkeletalMeshSrc and we save the imported raw data into the destination mesh. Then we call UpdateAlternateSkinWeights without the SkeletalMeshSrc

Parameters

Parameter

Description

SkeletalMeshDest

The skeletal mesh that will receive the alternate skinning weights.

SkeletalMeshSrc

The skeletal mesh that contain the alternate skinning weights.

LODIndexDest

the destination LOD

LODIndexSrc

the Source 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