Navigation
API > API/Runtime > API/Runtime/ClothingSystemRuntimeInterface > API/Runtime/ClothingSystemRuntimeInterface/UClothingSimulationInteractor
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
(
IClothingSimulation * Simulation,
IClothingSimulationContext * Context
)
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.