Navigation
API > API/Runtime > API/Runtime/ClothingSystemRuntimeInterface > API/Runtime/ClothingSystemRuntimeInterface/IClothingSimulation
- IClothingSimulation::CreateActor()
- FClothingSimulation::CreateActor()
References
| Module | ClothingSystemRuntimeInterface |
| Header | /Engine/Source/Runtime/ClothingSystemRuntimeInterface/Public/ClothingSimulationInterface.h |
| Include | #include "ClothingSimulationInterface.h" |
void CreateActor
&40;
USkeletalMeshComponent &42; InOwnerComponent,
UClothingAssetBase &42; InAsset,
int32 SimDataIndex
&41;
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 |