Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/USkeletalMeshComponent
Description
Sets whether cloth assets should be created/simulated in this component. This will update the conditional flag and you will want to call RecreateClothingActors for it to take effect.
| Name | SetAllowClothActors |
| 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="Components|SkeletalMesh")
void SetAllowClothActors
(
bool bInAllow
)
Parameters
| Name | Remarks |
|---|---|
| bInAllow | Whether to allow the creation of cloth assets and simulation. |