USkeletalMesh::IsSectionUsingCloth

Checks whether the provided section is using APEX cloth.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/SkeletalMesh.h

Include

#include "Engine/SkeletalMesh.h"

Source

/Engine/Source/Runtime/Engine/Private/SkeletalMesh.cpp

Syntax

bool IsSectionUsingCloth
(
    int32 InSectionIndex,
    bool bCheckCorrespondingSections
) const

Remarks

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)

Parameters

Parameter

Description

InSectionIndex

Index to check

bCheckCorrespondingSections

Whether to check corresponding sections for disabled sections

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss