UChaosClothSharedSimConfig

Chaos config settings shared between all instances of a skeletal mesh.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

ChaosCloth

Header

/Engine/Plugins/Experimental/ChaosCloth/Source/Chaos/Public/ChaosCloth/ChaosClothConfig.h

Include

#include "ChaosCloth/ChaosClothConfig.h"

Syntax

UCLASS()
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

Name Description

Public variable UProperty

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.

Public variable UProperty

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

Public variable UProperty Category, EditAnywhere, Meta

int32

 

IterationCount

The number of solver iterations.

Public variable UProperty Category, EditAnywhere, Meta

int32

 

SubdivisionCount

The number of solver substeps.

Constructors

Name Description

Public function

UChaosClothSharedSimConfig()

Destructors

Overridden from UClothConfigCommon

Name Description

Public function Virtual

void

 

MigrateFrom

(
    const FClothConfig_Legacy& ClothCo...
)

Migrate from the legacy FClothConfig structure.

Overridden from UObject

Name Description

Public function Virtual

void

 

PostEditChangeChainProperty

(
    FPropertyChangedChainEvent& ChainE...
)

Called after changes in any of the asset properties.

Public function Virtual

void

 

PostLoad()

PostLoad override used to deal with updates/changes in properties.

Public function Virtual

void

 

Serialize

(
    FArchive& Ar
)

Serialize override used to set the current custom version.

Deprecated Variables

Name Description

Public variable UProperty

bool

 

bUseDampingOverride_DEPRECATED

Use shared config damping rather than per cloth damping.

Public variable UProperty

bool

 

bUseGravityOverride_DEPRECATED

Use the config gravity value instead of world gravity.

Public variable UProperty

float

 

CollisionThickness_DEPRECATED

The radius of cloth points when considering collisions against collider shapes.

Public variable UProperty

float

 

Damping_DEPRECATED

The amount of cloth damping. Override the per cloth damping coefficients.

Public variable UProperty

FVector

 

Gravity_DEPRECATED

The gravitational acceleration vector [cm/s^2].

Public variable UProperty

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.

Public variable UProperty

float

 

SelfCollisionThickness_DEPRECATED

The radius of the spheres used in self collision.