Navigation
API > API/Plugins > API/Plugins/ChaosClothAssetEngine
| Name | IClothComponentAdapter |
| Type | class |
| Header File | /Engine/Plugins/ChaosClothAsset/Source/ChaosClothAssetEngine/Public/ChaosClothAsset/ClothComponentAdapter.h |
| Include Path | #include "ChaosClothAsset/ClothComponentAdapter.h" |
Syntax
class IClothComponentAdapter
Derived Classes
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IClothComponentAdapter() |
ChaosClothAsset/ClothComponentAdapter.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TArray< const UChaosClothAssetBase * > GetAssets() |
Return the list of cloth/outfit assets in use by this adapter. | ChaosClothAsset/ClothComponentAdapter.h | |
float GetClothGeometryScale() |
Return the scale applied to all cloth geometries (cloth meshes and collisions) in order to simulate in a different scale space. | ChaosClothAsset/ClothComponentAdapter.h | |
EClothingTeleportMode GetClothTeleportMode() |
Return the current teleport mode. | ChaosClothAsset/ClothComponentAdapter.h | |
FCollisionSources & GetCollisionSources() |
Return the collision sources to use in cloth simulation proxy. | ChaosClothAsset/ClothComponentAdapter.h | |
const USkinnedMeshComponent & GetOwnerComponent () |
Return the SkinnedMeshComponent owning this adapter. | ChaosClothAsset/ClothComponentAdapter.h | |
const TArray< TSharedPtr< const FManagedArrayCollection > > & GetPropertyCollections
(
const UChaosClothAssetBase* Asset, |
Return the runtime property collections used for modifications of the specified cloth/outfit asset simulation model. | ChaosClothAsset/ClothComponentAdapter.h | |
const FReferenceSkeleton * GetReferenceSkeleton() |
Return the reference skeleton as passed to the component renderer. | ChaosClothAsset/ClothComponentAdapter.h | |
const FString & GetRestLengthsMorphTargetName() |
Return the name of the current morph target. | ChaosClothAsset/ClothComponentAdapter.h | |
int32 GetSimulationGroupId
(
const UChaosClothAssetBase* Asset, |
Return the index of the model assigned to the render section, or INDEX_NONE when the model shouldn't be simulated. | ChaosClothAsset/ClothComponentAdapter.h | |
const TArray< TSharedPtr< const FManagedArrayCollection > > & GetSolverPropertyCollections() |
Return the runtime solver property collections. | ChaosClothAsset/ClothComponentAdapter.h | |
bool HasAnySimulationMeshData
(
int32 LodIndex |
Return true when any of the simulated assets LOD models have valid simulation data, or false otherwise. | ChaosClothAsset/ClothComponentAdapter.h | |
bool IsSimulationEnabled() |
Return whether the simulation is currently running. | ChaosClothAsset/ClothComponentAdapter.h | |
bool IsSimulationSuspended() |
Return whether the simulation is currently suspended. | ChaosClothAsset/ClothComponentAdapter.h | |
bool NeedsResetRestLengths() |
Return whether the cloth mesh rest lengths needs to be reset. | ChaosClothAsset/ClothComponentAdapter.h |