Navigation
API > API/Plugins > API/Plugins/ChaosClothEditor > API/Plugins/ChaosClothEditor/ChaosClothEditor > API/Plugins/ChaosClothEditor/ChaosClothEditor/FSimulationEditorExtender
- ISimulationEditorExtender::DebugDrawSimulation()
- FSimulationEditorExtender::DebugDrawSimulation()
References
| Module | ChaosClothEditor |
| Header | /Engine/Plugins/Experimental/ChaosClothEditor/Source/Chaos/Public/ChaosClothEditor/ChaosSimulationEditorExtender.h |
| Include | #include "ChaosClothEditor/ChaosSimulationEditorExtender.h" |
| Source | /Engine/Plugins/Experimental/ChaosClothEditor/Source/Chaos/Private/ChaosClothEditor/ChaosSimulationEditorExtender.cpp |
virtual void DebugDrawSimulation
&40;
const IClothingSimulation &42; InSimulation,
USkeletalMeshComponent &42; InOwnerComponent,
FPrimitiveDrawInterface &42; PDI
&41;
Remarks
Called from the editor when clothing is active to process any active debug drawing, recommended to use the show menu extension for controlling what data to draw
Parameters
| Name | Description |
|---|---|
| InSimulation | The running clothing simulation |
| InOwnerComponent | The component that owns the running clothing simulation |
| PDI | The drawing interface to use |