Navigation
API > API/Runtime > API/Runtime/ClothingSystemRuntimeInterface
Any clothing simulation factory should derive from this interface object to interact with the engine.
| Name | UClothingSimulationFactory |
| Type | class |
| Header File | /Engine/Source/Runtime/ClothingSystemRuntimeInterface/Public/ClothingSimulationFactory.h |
| Include Path | #include "ClothingSimulationFactory.h" |
Syntax
UCLASS (Abstract, MinimalAPI)
class UClothingSimulationFactory : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UClothingSimulationFactory
Derived Classes
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual UClothingSimulationInteractor * CreateInteractor () |
Creates the runtime interactor object for a clothing simulation. | ClothingSimulationFactory.h | |
virtual IClothingSimulation * CreateSimulation() |
Create a simulation object for a skeletal mesh to use (see IClothingSimulation) | ClothingSimulationFactory.h | |
virtual void DestroySimulation
(
IClothingSimulation* InSimulation |
Destroy a simulation object, guaranteed to be a pointer returned from CreateSimulation for this factory. | ClothingSimulationFactory.h | |
virtual TArrayView< const TSubclassOf< UClothConfigBase > > GetClothConfigClasses() |
Return the cloth config type for this cloth factory. | ClothingSimulationFactory.h | |
virtual const UEnum * GetWeightMapTargetEnum() |
Return an enum of the weight map targets that can be used with this simulation. | ClothingSimulationFactory.h | |
virtual bool SupportsAsset
(
UClothingAssetBase* InAsset |
Given an asset, decide whether this factory can create a simulation to use the data inside (return false if data is invalid or missing in the case of custom data) | ClothingSimulationFactory.h | |
virtual bool SupportsRuntimeInteraction () |
Whether or not we provide an interactor object to manipulate the simulation at runtime. | ClothingSimulationFactory.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static TSubclassOf< class UClothingSimulationFactory > GetDefaultClothingSimulationFactoryClass () |
Return the default clothing simulation factory class as set by the build or by the p.Cloth.DefaultClothingSimulationFactoryClass console variable if any available. | ClothingSimulationFactory.h |