Navigation
API > API/Plugins > API/Plugins/ChaosClothAssetEngine
Clothing Data implementation for the Cloth/Outfit Asset.
| Name | UChaosClothAssetSKMClothingAsset |
| Type | class |
| Header File | /Engine/Plugins/ChaosClothAsset/Source/ChaosClothAssetEngine/Public/ChaosClothAsset/ClothAssetSKMClothingAsset.h |
| Include Path | #include "ChaosClothAsset/ClothAssetSKMClothingAsset.h" |
Syntax
UCLASS (BlueprintType, MinimalAPI)
class UChaosClothAssetSKMClothingAsset : public UClothingAssetBase
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UClothingAssetBase → UChaosClothAssetSKMClothingAsset
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UChaosClothAssetSKMClothingAsset
(
const FObjectInitializer& ObjectInitializer |
ChaosClothAsset/ClothAssetSKMClothingAsset.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Asset | TObjectPtr< const UChaosClothAssetBase > | Cloth or Outfit Asset to use with this Skeletal Mesh. | ChaosClothAsset/ClothAssetSKMClothingAsset.h |
|
| ClothSimulationModelId | FString | The Simulation Model to use for this Clothing Data. | ChaosClothAsset/ClothAssetSKMClothingAsset.h |
|
| ClothSimulationModelIndex | int32 | ChaosClothAsset/ClothAssetSKMClothingAsset.h | ||
| LODHasAnySimulationMeshData | TBitArray | Calculated from Asset during PostLoad or OnAssetChanged. | ChaosClothAsset/ClothAssetSKMClothingAsset.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const UChaosClothAssetBase * GetAsset() |
Return the underlaying Cloth or Outfit Asset used in this clothing data. | ChaosClothAsset/ClothAssetSKMClothingAsset.h | |
int32 GetClothSimulationModelIndex() |
Return the index of the simulation model used from the Cloth or Outfit Asset. | ChaosClothAsset/ClothAssetSKMClothingAsset.h | |
bool HasAnySimulationMeshData
(
const int32 LODIndex |
ChaosClothAsset/ClothAssetSKMClothingAsset.h | ||
void OnAssetChanged
(
const bool bReregisterComponents |
Call this function whenever the Cloth or Outfit Asset has changed (e.g. once rebuilt in Dataflow). | ChaosClothAsset/ClothAssetSKMClothingAsset.h | |
void SetAsset
(
const UChaosClothAssetBase* InAsset |
Assign a Cloth or an Outfit Asset to this clothing data. | ChaosClothAsset/ClothAssetSKMClothingAsset.h |