UChaosClothConfig

Copyright Epic Games, Inc. All Rights Reserved.

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](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(HideCategories=(Collision))
class UChaosClothConfig : public UClothConfigCommon

Remarks

Holds initial, asset level config for clothing actors. Hiding categories that will be used in the future

Variables

Name Description

Public variable UProperty Category, EditAnywhere, Meta

float

 

AngularVelocityScale

The amount of angular velocities sent to the local cloth space from the reference bone (the closest bone to the root on which the cloth section has been skinned, or the root itself if the cloth isn't skinned).

Public variable UProperty Category, EditAnywhere, Meta

float

 

AnimDriveSpringStiffness

Default spring stiffness for anim drive if an anim drive is in use.

Public variable UProperty Category, EditAnywhere, Meta

float

 

AreaStiffness

The stiffness of the area preservation constraints. Increase the iteration count for stiffer materials.

Public variable UProperty Category, EditAnywhere, Meta

float

 

BendingStiffness

The Stiffness of the bending constraints. Increase the iteration count for stiffer materials.

Public variable UProperty Category, EditAnywhere

bool

 

bUseBendingElements

Enable the more accurate bending element constraints instead of the faster cross-edge spring constraints used for controlling bending stiffness.

Public variable UProperty

bool

 

bUseContinuousCollisionDetection

Enable continuous collision detection.

Public variable UProperty Category, EditAnywhere

bool

 

bUseGeodesicDistance

Use geodesic instead of euclidean distance calculations in the long range attachment constraint, which is slower at setup but less prone to artifacts during simulation.

Public variable UProperty Category, EditAnywhere

bool

 

bUseSelfCollisions

Enable self collision.

Public variable UProperty

bool

 

bUseTetrahedralConstraints

Enable tetrahedral constraints.

Public variable UProperty

bool

 

bUseThinShellVolumeConstraints

Enable thin shell volume constraints.

Public variable UProperty Category, EditAnywhere, Meta

float

 

CollisionThickness

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

Public variable UProperty Category, EditAnywhere, Meta

float

 

DampingCoefficient

The amount of damping applied to the cloth velocities.

Public variable UProperty Category, EditAnywhere, Meta

float

 

Density

The value used when Mass Mode is set to Density.

Public variable UProperty Category, EditAnywhere, Meta

float

 

DragCoefficient

The drag coefficient applying on each particle.

Public variable UProperty Category, EditAnywhere, Meta

float

 

EdgeStiffness

The Stiffness of the Edge constraints, only use lower than 1 values for very stretchy materials. Increase the iteration count for stiffer materials.

Public variable UProperty Category, EditAnywhere, Meta

float

 

FrictionCoefficient

Friction coefficient for cloth - collider interaction.

Public variable UProperty Category, EditAnywhere, Meta

float

 

LimitScale

The limit scale of the long range attachment constraints (aka tether limit).

Public variable UProperty Category, EditAnywhere, Meta

FVector

 

LinearVelocityScale

The amount of linear velocities sent to the local cloth space from the reference bone (the closest bone to the root on which the cloth section has been skinned, or the root itself if the cloth isn't skinned).

Public variable UProperty Category, EditAnywhere

EClothMassMode

 

MassMode

How cloth particle mass is determined

Public variable UProperty Category, EditAnywhere

float

 

MinPerParticleMass

This is a lower bound to cloth particle masses.

Public variable UProperty

float

 

ShapeTargetStiffness

The stiffness of the shape target constraints.

Public variable UProperty Category, EditAnywhere, Meta

float

 

StrainLimitingStiffness

The strain limiting stiffness of the long range attachment constraints (aka tether stiffness).

Public variable UProperty Category, EditAnywhere, Meta

float

 

TotalMass

The value used when Mass Mode is set to TotalMass.

Public variable UProperty Category, EditAnywhere, Meta

float

 

UniformMass

The value used when the Mass Mode is set to Uniform Mass.

Public variable UProperty

float

 

VolumeStiffness

The stiffness of the volume preservation constraints.

Constructors

Name Description

Public function

UChaosClothConfig()

Destructors

Name Description

Public function Virtual

~UChaosClothConfig()

Functions

Name Description

Public function Virtual

void

 

MigrateFrom

(
    const UClothSharedConfigCommon*...
)

Migrate from shared config.

Overridden from UClothConfigCommon

Name Description

Public function Virtual

void

 

MigrateFrom

(
    const FClothConfig_Legacy&
)

Migrate from the legacy FClothConfig structure.

Overridden from UObject

Name Description

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.

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