Navigation
Unreal Engine C++ API Reference > Plugins > ChaosCloth > ChaosCloth
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UClothConfigBase
- UClothConfigCommon
- UClothSharedConfigCommon
- UChaosClothSharedSimConfig
References
Module | ChaosCloth |
Header | /Engine/Plugins/Experimental/ChaosCloth/Source/Chaos/Public/ChaosCloth/ChaosClothConfig.h |
Include | #include "ChaosCloth/ChaosClothConfig.h" |
Syntax
UCLASS&40;MinimalAPI&41;
class UChaosClothSharedSimConfig : public UClothSharedConfigCommon
Remarks
Chaos config settings shared between all instances of a skeletal mesh. Unlike UChaosClothConfig, these settings contain common cloth simulation parameters that cannot change between the various clothing assets assigned to a specific skeletal mesh. UChaosClothConfig.
Variables
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | bUseLocalSpaceSimulation | Enable local space simulation to help with jitter due to floating point precision errors if the character is far away from the world origin. |
![]() ![]() |
bool | bUseXPBDConstraints | Enable the XPBD constraints that resolve stiffness independently from the number of iterations Experimental, this feature might be removed without warning, not for production use |
![]() ![]() ![]() |
int32 | IterationCount | The number of time step dependent solver iterations. |
![]() ![]() ![]() |
int32 | MaxIterationCount | The maximum number of solver iterations. |
![]() ![]() ![]() |
int32 | SubdivisionCount | The number of solver substeps. |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
Overridden from UClothConfigCommon
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | MigrateFrom
(
const FClothConfig_Legacy& ClothConfig |
Migrate from the legacy FClothConfig structure. |
Overridden from UObject
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | PostEditChangeChainProperty
(
FPropertyChangedChainEvent& ChainEvent |
Called after changes in any of the asset properties. |
![]() ![]() |
void | PostLoad () |
PostLoad override used to deal with updates/changes in properties. |
![]() ![]() |
void | Serialize override used to set the current custom version. |
Deprecated Variables
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | bUseDampingOverride_DEPRECATED | Use shared config damping rather than per cloth damping. |
![]() ![]() |
bool | bUseGravityOverride_DEPRECATED | Use the config gravity value instead of world gravity. |
![]() ![]() |
float | CollisionThickness_DEPRECATED | The radius of cloth points when considering collisions against collider shapes. |
![]() ![]() |
float | Damping_DEPRECATED | The amount of cloth damping. Override the per cloth damping coefficients. |
![]() ![]() |
FVector | Gravity_DEPRECATED | The gravitational acceleration vector [cm/s^2]. |
![]() ![]() |
float | GravityScale_DEPRECATED | Scale factor applied to the world gravity and also to the clothing simulation interactor gravity. Does not affect the gravity if set using the override below. |
![]() ![]() |
float | SelfCollisionThickness_DEPRECATED | The radius of the spheres used in self collision. |