Navigation
API > API/Plugins > API/Plugins/ChaosClothAssetEngine > API/Plugins/ChaosClothAssetEngine/FClothSimulationProxy
Description
Prepare the proxy before the simulation is setup. For specialized usage when not calling Tick_GameThread.
| Name | PreProcess_GameThread |
| Type | function |
| Header File | /Engine/Plugins/ChaosClothAsset/Source/ChaosClothAssetEngine/Public/ChaosClothAsset/ClothSimulationProxy.h |
| Include Path | #include "ChaosClothAsset/ClothSimulationProxy.h" |
| Source | /Engine/Plugins/ChaosClothAsset/Source/ChaosClothAssetEngine/Private/ChaosClothAsset/ClothSimulationProxy.cpp |
void PreProcess_GameThread
(
float DeltaTime,
bool bForceWaitForInitialization
)
Parameters
| Name | Remarks |
|---|---|
| bForceWaitForInitialization | will ignore the value of p.ChaosClothAsset.WaitForAsyncClothInitialization and force waiting for any in flight initialization, guaranteeing successful preprocessing.. |