Navigation
API > API/Plugins > API/Plugins/ChaosCloth > API/Plugins/ChaosCloth/FClothingSimulationConfig
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Initialize
(
const TArray< TSharedPtr< const FManagedArrayCollection > >& InPropertyCollections |
Initialize config from an array of property collections (one per LOD). | ChaosCloth/ChaosClothingSimulationConfig.h | |
void Initialize
(
const UChaosClothConfig* ClothConfig, |
Initialize configuration from cloth config UObjects. | ChaosCloth/ChaosClothingSimulationConfig.h |
Initialize(const TArray< TSharedPtr< const FManagedArrayCollection > > &)
Description
Initialize config from an array of property collections (one per LOD).
| Name | Initialize |
| Type | function |
| Header File | /Engine/Plugins/ChaosCloth/Source/ChaosCloth/Public/ChaosCloth/ChaosClothingSimulationConfig.h |
| Include Path | #include "ChaosCloth/ChaosClothingSimulationConfig.h" |
| Source | /Engine/Plugins/ChaosCloth/Source/ChaosCloth/Private/ChaosCloth/ChaosClothingSimulationConfig.cpp |
void Initialize
(
const TArray < TSharedPtr < const FManagedArrayCollection > > & InPropertyCollections
)
Initialize(const UChaosClothConfig , const UChaosClothSharedSimConfig , bool)
Description
Initialize configuration from cloth config UObjects.
| Name | Initialize |
| Type | function |
| Header File | /Engine/Plugins/ChaosCloth/Source/ChaosCloth/Public/ChaosCloth/ChaosClothingSimulationConfig.h |
| Include Path | #include "ChaosCloth/ChaosClothingSimulationConfig.h" |
| Source | /Engine/Plugins/ChaosCloth/Source/ChaosCloth/Private/ChaosCloth/ChaosClothingSimulationConfig.cpp |
void Initialize
(
const UChaosClothConfig * ClothConfig,
const UChaosClothSharedSimConfig * ClothSharedConfig,
bool bUseLegacyConfig
)
Parameters
| Name | Remarks |
|---|---|
| ClothConfig | The cloth config UObject. |
| ClothSharedConfig | The cloth solver shared config UObject. |
| bUseLegacyConfig | Whether to make the config a legacy cloth config, so that the constraints disable themselves with missing masks, ...etc. |