Navigation
API > API/Runtime > API/Runtime/ClothingSystemRuntimeInterface > API/Runtime/ClothingSystemRuntimeInterface/IClothingSimulationInterface
Description
Called by the engine to request data on all active collisions in a simulation. if bIncludeExternal is true, derived implementations should add the asset collisions and any collisions added at runtime, if false only the collisions from the asset should be considered
| Name | GetCollisions |
| Type | function |
| Header File | /Engine/Source/Runtime/ClothingSystemRuntimeInterface/Public/ClothingSimulationInterface.h |
| Include Path | #include "ClothingSimulationInterface.h" |
void GetCollisions
(
FClothCollisionData & OutCollisions,
bool bIncludeExternal
) const
Parameters
| Name | Remarks |
|---|---|
| OutCollisions | Array to write collisions to |
| bIncludeExternal | Whether or not external collisions should be retrieved, or just asset collisions |