EClothMassMode

Different mass modes deciding the setup process.

Choose your operating system:

Windows

macOS

Linux

References

Module

ClothingSystemRuntimeCommon

Header

/Engine/Source/Runtime/ClothingSystemRuntimeCommon/Public/ClothConfig.h

Include

#include "ClothConfig.h"

Syntax

enum EClothMassMode
{
    UniformMass,
    TotalMass,
    Density,
    MaxClothMassMode,
}

Values

Name

Description

UniformMass

The mass value is used to set the same mass for each particle.

TotalMass

The mass value is used to set the mass of the entire cloth, distributing it to each particle depending on the amount of connected surface area.

Density

The mass value is used to set the density of the cloth, calculating the mass for each particle depending on its connected surface area.

MaxClothMassMode

Remarks

Different mass modes deciding the setup process.