Navigation
API > API/Runtime > API/Runtime/ClothingSystemRuntimeInterface > API/Runtime/ClothingSystemRuntimeInterface/IClothingSimulation
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 make care to make sure only the correct context is ever passed through
| Name | Simulate |
| Type | function |
| Header File | /Engine/Source/Runtime/ClothingSystemRuntimeInterface/Public/ClothingSimulationInterface.h |
| Include Path | #include "ClothingSimulationInterface.h" |
void Simulate
(
IClothingSimulationContext * InContext
)
Parameters
| Name | Remarks |
|---|---|
| InContext | The context to use during simulation, will have been filled in FillContext |