| IClothingSimulation::CreateActor()
|
Module |
|
Header |
/Engine/Plugins/Experimental/ChaosCloth/Source/Chaos/Public/ChaosCloth/ChaosClothingSimulation.h |
Include |
#include "ChaosCloth/ChaosClothingSimulation.h" |
Source |
/Engine/Plugins/Experimental/ChaosCloth/Source/Chaos/Private/ChaosCloth/ChaosClothingSimulation.cpp |
virtual void CreateActor
(
USkeletalMeshComponent * InOwnerComponent,
UClothingAssetBase * InAsset,
int32 SimDataIndex
)
Create an actor for this simulation from the data in InAsset Simulation data for this actor should be written back to SimDataIndex in GetSimulationData
Parameter |
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 |