Navigation
API > API/Plugins > API/Plugins/ChaosClothAssetEngine
Skeletal Mesh simulation class that interfaces between the Skeletal Mesh Component and the Cloth Simulation Proxy.
| Name | FSKMClothingSimulation |
| Type | class |
| Header File | /Engine/Plugins/ChaosClothAsset/Source/ChaosClothAssetEngine/Public/ChaosClothAsset/ClothAssetSKMClothingSimulation.h |
| Include Path | #include "ChaosClothAsset/ClothAssetSKMClothingSimulation.h" |
Syntax
class FSKMClothingSimulation :
public IClothingSimulationInterface ,
public UE::Chaos::ClothAsset::IClothComponentAdapter ,
public FGCObject
Inheritance Hierarchy
- FGCObject → FSKMClothingSimulation
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSKMClothingSimulation() |
ChaosClothAsset/ClothAssetSKMClothingSimulation.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FSKMClothingSimulation() |
ChaosClothAsset/ClothAssetSKMClothingSimulation.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FAssetClothSimulationProperties | TPair< const UChaosClothAssetSKMClothingAsset *, FChaosClothSimulationProperties > | ChaosClothAsset/ClothAssetSKMClothingSimulation.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AssetClothSimulationProperties | TArray< FAssetClothSimulationProperties > | ChaosClothAsset/ClothAssetSKMClothingSimulation.h | ||
| bNeedsResetRestLengths | bool | ChaosClothAsset/ClothAssetSKMClothingSimulation.h | ||
| ClothSimulationProxy | TSharedPtr< FClothSimulationProxy > | ChaosClothAsset/ClothAssetSKMClothingSimulation.h | ||
| CollisionSources | TUniquePtr< FCollisionSources > | ChaosClothAsset/ClothAssetSKMClothingSimulation.h | ||
| LODHasAnyRenderClothMappingData | TBitArray | ChaosClothAsset/ClothAssetSKMClothingSimulation.h | ||
| OwnerComponent | USkeletalMeshComponent * | ChaosClothAsset/ClothAssetSKMClothingSimulation.h | ||
| RestLengthsMorphTargetName | FString | ChaosClothAsset/ClothAssetSKMClothingSimulation.h | ||
| UChaosClothAssetSKMClothingSimulationInteractor | friend | ChaosClothAsset/ClothAssetSKMClothingSimulation.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const ::Chaos::FClothVisualizationNoGC * GetClothVisualization() |
Return the visualization object for this simulation. | ChaosClothAsset/ClothAssetSKMClothingSimulation.h | |
UChaosClothAssetInteractor * GetPropertyInteractor
(
const UChaosClothAssetBase* Asset, |
Return a property interactor for the specified asset and model. | ChaosClothAsset/ClothAssetSKMClothingSimulation.h | |
void RecreateClothSimulationProxy() |
Hard reset the cloth simulation by recreating the proxy. | ChaosClothAsset/ClothAssetSKMClothingSimulation.h | |
void ResetConfigProperties () |
Reset all cloth simulation config properties to the values stored in the original cloth asset. | ChaosClothAsset/ClothAssetSKMClothingSimulation.h |