Navigation
API > API/Runtime > API/Runtime/ClothingSystemRuntimeInterface > API/Runtime/ClothingSystemRuntimeInterface/UClothingSimulationFactory
Description
Return the clothing simulation factory for the specified asset. Calls SupportsAsset() internally. If multiple simulation support the specified asset type then this returns the first one registered through IClothingSimulationFactoryClassProvider.
| Name | GetClothingSimulationFactory |
| Type | function |
| Header File | /Engine/Source/Runtime/ClothingSystemRuntimeInterface/Public/ClothingSimulationFactory.h |
| Include Path | #include "ClothingSimulationFactory.h" |
| Source | /Engine/Source/Runtime/ClothingSystemRuntimeInterface/Private/ClothingSimulationFactory.cpp |
static UClothingSimulationFactory * GetClothingSimulationFactory
(
const UClothingAssetBase * InAsset
)