Navigation
API > API/Runtime > API/Runtime/SkeletalMeshDescription > API/Runtime/SkeletalMeshDescription/FSkinWeightsVertexAttributesRef
Overloads
Name
Remarks
Include Path
Unreal Specifiers
void Set
(
const FVertexID InVertexIndex,
const UE::AnimationCore::FBoneWeights& InWeights
)
Set the weights using properly normalized weights.
SkinWeightsAttributesRef.h
void Set
(
const FVertexID InVertexIndex,
TArrayView < const UE::AnimationCore::FBoneWeight > InWeights,
const UE::AnimationCore::FBoneWeightsSettings& InSettings
)
Set bone weights using potentially unnormalized weights.
SkinWeightsAttributesRef.h
Set(const FVertexID, const UE::AnimationCore::FBoneWeights &)
Description
Set the weights using properly normalized weights.
Name
Set
Type
function
Header File
/Engine/Source/Runtime/SkeletalMeshDescription/Public/SkinWeightsAttributesRef.h
Include Path
#include "SkinWeightsAttributesRef.h"
void Set
(
const FVertexID InVertexIndex,
const UE::AnimationCore::FBoneWeights & InWeights
)
Copy full snippet
Parameters
Name
Remarks
InVertexIndex
The vertex index to set these weights at.
InWeights
The normalized weights to set.
Set(const FVertexID, TArrayView< const UE::AnimationCore::FBoneWeight >, const UE::AnimationCore::FBoneWeightsSettings &)
Description
Set bone weights using potentially unnormalized weights. The given weights will be pruned and normalized according to the provided settings. If no settings are provided, default settings will be used.
Name
Set
Type
function
Header File
/Engine/Source/Runtime/SkeletalMeshDescription/Public/SkinWeightsAttributesRef.h
Include Path
#include "SkinWeightsAttributesRef.h"
void Set
(
const FVertexID InVertexIndex,
TArrayView < const UE::AnimationCore::FBoneWeight > InWeights,
const UE::AnimationCore::FBoneWeightsSettings & InSettings
)
Copy full snippet
Parameters
Name
Remarks
InVertexIndex
The vertex index to set these weights at.
InWeights
The raw weights to set.
InSettings
Optional settings for pruning and normalization.