Navigation
API > API/Runtime > API/Runtime/ClothingSystemRuntimeCommon
Different mass modes deciding the setup process.
| Name | EClothMassMode |
| Type | enum |
| Header File | /Engine/Source/Runtime/ClothingSystemRuntimeCommon/Public/ClothConfig.h |
| Include Path | #include "ClothConfig.h" |
Syntax
enum EClothMassMode
{
UniformMass,
TotalMass,
Density,
MaxClothMassMode,
}
Values
| Name | Remarks |
|---|---|
| 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 |