Navigation
API > API/Runtime > API/Runtime/ClothingSystemRuntimeInterface
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UClothingSimulationFactory
References
| Module | ClothingSystemRuntimeInterface |
| Header | /Engine/Source/Runtime/ClothingSystemRuntimeInterface/Public/ClothingSimulationFactory.h |
| Include | #include "ClothingSimulationFactory.h" |
Syntax
UCLASS (Abstract, MinimalAPI)
class UClothingSimulationFactory : public UObject
Remarks
Any clothing simulation factory should derive from this interface object to interact with the engine.
Functions
| Type | Name | Description | |
|---|---|---|---|
| UClothingSimulationInteractor * | Creates the runtime interactor object for a clothing simulation. | ||
| IClothingSimulation * | Create a simulation object for a skeletal mesh to use (see IClothingSimulation) | ||
| void | DestroySimulation
(
IClothingSimulation* InSimulation |
Destroy a simulation object, guaranteed to be a pointer returned from CreateSimulation for this factory. | |
| TArrayView< const TSubclassOf< UClothConfigBase > > | Return the cloth config type for this cloth factory. | ||
| TSubclassOf< class UClothingSimulationFactory > | Return the default clothing simulation factory class as set by the build or by the p.Cloth.DefaultClothingSimulationFactoryClass console variable if any available. | ||
| const UEnum * | Return an enum of the weight map targets that can be used with this simulation. | ||
| 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) | |
| bool | Whether or not we provide an interactor object to manipulate the simulation at runtime. |