Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/USkeletalMeshComponent
Description
Get the interactor for a clothing simulation, if that simulation supports runtime interaction.
Using NAME_None when there are clothing data of different types on the Skeletal Mesh asset will cause a warning.
| Name | GetClothingSimulationInteractor |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/SkeletalMeshComponent.h |
| Include Path | #include "Components/SkeletalMeshComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Components/SkeletalMeshComponent.cpp |
UFUNCTION (BlueprintCallable, Category=Clothing)
UClothingSimulationInteractor * GetClothingSimulationInteractor
(
const FName ClothingAssetName
) const
Parameters
| Name | Remarks |
|---|---|
| ClothingDataName | the name of a clothing data that determines the simulation, or NAME_None to get the interactor of the first registered simulation if any. |