Navigation
API > API/Runtime > API/Runtime/ClothingSystemRuntimeInterface > API/Runtime/ClothingSystemRuntimeInterface/IClothingSimulation
References
| Module | ClothingSystemRuntimeInterface |
| Header | /Engine/Source/Runtime/ClothingSystemRuntimeInterface/Public/ClothingSimulationInterface.h |
| Include | #include "ClothingSimulationInterface.h" |
void CreateActor
(
USkeletalMeshComponent * InOwnerComponent,
UClothingAssetBase * InAsset,
int32 SimDataIndex
)
Remarks
Create an actor for this simulation from the data in InAsset Simulation data for this actor should be written back to SimDataIndex in GetSimulationData
Parameters
| Name | Description |
|---|---|
| InOwnerComponent | The component requesting this actor |
| InAsset | The asset to create an actor from |
| SimDataIndex | the sim data index to use when doing the writeback in GetSimulationData |