UClothConfigCommon

Common configuration base class.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

ClothingSystemRuntimeCommon

Header

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

Include

#include "ClothConfig.h"

Syntax

class UClothConfigCommon : public UClothConfigBase

Remarks

Common configuration base class.

Constructors

Name Description

Public function

UClothConfigCommon()

Destructors

Name Description

Public function Virtual

~UClothConfigCommon()

Functions

Name Description

Public function Virtual

void

 

MigrateFrom

(
    const FClothConfig_Legacy&
)

Migrate from the legacy FClothConfig structure.

Public function Virtual

void

 

MigrateFrom

(
    const UClothSharedConfigCommon*...
)

Migrate from shared configs.

Public function Virtual Const

bool

 

MigrateTo

(
    FClothConfig_Legacy&
)

Migrate to the legacy FClothConfig structure.

Overridden from UClothConfigBase

Name Description

Public function Virtual Const

float

 

GetSelfCollisionRadius()

Return the self collision radius to precomute self collision data.

Public function Virtual Const

bool

 

NeedsInverseMasses()

Return whether to pre-compute inverse masses.

Public function Virtual Const

bool

 

NeedsNumInfluences()

Return whether to pre-compute the influences.

Public function Virtual Const

bool

 

NeedsSelfCollisionData()

Return whether to pre-compute self collision data.

Public function Virtual Const

bool

 

NeedsTethers()

Return whether to pre-compute the long range attachment tethers.

Public function Virtual Const

bool

 

TethersUseGeodesicDistance()

Return whether tethers need to be calculated using geodesic distances instead of eclidean.