Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components > API/Runtime/Engine/Components/USkeletalMeshComponent
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Components/SkeletalMeshComponent.h |
| Include | #include "Components/SkeletalMeshComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Components/SkeletalMeshComponent.cpp |
UFUNCTION (BlueprintCallable, Category="Components|SkeletalMesh")
void SetAllowClothActors
(
bool bInAllow
)
Remarks
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.
Parameters
| Name | Description |
|---|---|
| bInAllow | Whether to allow the creation of cloth assets and simulation. |