Navigation
API > API/Runtime > API/Runtime/ClothingSystemRuntimeInterface > API/Runtime/ClothingSystemRuntimeInterface/UClothingSimulationInteractor
- UClothingSimulationInteractor::Sync()
- UClothingSimulationInteractorNv::Sync()
- UChaosClothingSimulationInteractor::Sync()
References
| Module | ClothingSystemRuntimeInterface |
| Header | /Engine/Source/Runtime/ClothingSystemRuntimeInterface/Public/ClothingSimulationInteractor.h |
| Include | #include "ClothingSimulationInteractor.h" |
| Source | /Engine/Source/Runtime/ClothingSystemRuntimeInterface/Private/ClothingSimulationInteractor.cpp |
virtual void Sync
&40;
IClothingSimulation &42; Simulation,
IClothingSimulationContext &42; Context
&41;
Remarks
Sync the interactor to the provided context for the clothing simulation to use on its next update. This will be called at a time that is guaranteed to never overlap with the running simulation. The simulation will have to be written in a way to pick up these changes on the next update. Any inherited class must call this function to also Sync the ClothingInteractors.