Navigation
API > API/Runtime > API/Runtime/ClothingSystemRuntimeInterface > API/Runtime/ClothingSystemRuntimeInterface/IClothingSimulationInterface
Description
Run a single tick of the simulation. The pointer InContext is guaranteed (when called by the engine) to be the context allocated in CreateContext and can be assumed to be safely castable to any derived type allocated there. New callers should take care to make sure only the correct context is ever passed through.
Can be called asynchronously outside of the game thread.
Derived Overrides
| Name | Simulate_AnyThread |
| Type | function |
| Header File | /Engine/Source/Runtime/ClothingSystemRuntimeInterface/Public/ClothingSimulationInterface.h |
| Include Path | #include "ClothingSimulationInterface.h" |
void Simulate_AnyThread
(
const IClothingSimulationContext * InContext
)
Parameters
| Name | Remarks |
|---|---|
| InContext | The context to use during simulation, will have been filled in FillContextAndPrepareTick |