Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/USkinnedMeshComponent
Description
Set up an override skin weight profile for this component on the given layer. The values from the secondary layer (if set to have a profile) are applied first, followed by the values from the primary layer. Since skin weight profiles are stored as sparse data, where only weight values different from the base are kept in storage, it's possible to set up layers such that they don't interfere with one another.
| Name | SetSkinWeightProfile |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/SkinnedMeshComponent.h |
| Include Path | #include "Components/SkinnedMeshComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Components/SkinnedMeshComponent.cpp |
UFUNCTION (BlueprintCallable, Category="Components|SkinnedMesh")
bool SetSkinWeightProfile
(
FName InProfileName,
ESkinWeightProfileLayer InLayer
)