Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/USkeletalMesh
Description
Checks whether the provided section is using APEX cloth. if bCheckCorrespondingSections is true disabled sections will defer to correspond sections to see if they use cloth (non-cloth sections are disabled and another section added when cloth is enabled, using this flag allows for a check on the original section to succeed)
| Name | IsSectionUsingCloth |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/SkeletalMesh.h |
| Include Path | #include "Engine/SkeletalMesh.h" |
| Source | /Engine/Source/Runtime/Engine/Private/SkeletalMesh.cpp |
UFUNCTION (BlueprintCallable, Category="Clothing Simulation")
bool IsSectionUsingCloth
(
int32 InSectionIndex,
bool bCheckCorrespondingSections
) const
Parameters
| Name | Remarks |
|---|---|
| InSectionIndex | Index to check |
| bCheckCorrespondingSections | Whether to check corresponding sections for disabled sections |