Navigation
API > API/Plugins > API/Plugins/ChaosClothAssetEngine
Cloth simulation model. Contains the LOD models.
| Name | FChaosClothSimulationModel |
| Type | struct |
| Header File | /Engine/Plugins/ChaosClothAsset/Source/ChaosClothAssetEngine/Public/ChaosClothAsset/ClothSimulationModel.h |
| Include Path | #include "ChaosClothAsset/ClothSimulationModel.h" |
Syntax
USTRUCT ()
struct FChaosClothSimulationModel
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| ChaosClothAsset/ClothSimulationModel.h | |||
FChaosClothSimulationModel
(
const TArray< TSharedRef< const FManagedArrayCollection > >& ClothCollections, |
ChaosClothAsset/ClothSimulationModel.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ClothSimulationLodModels | TArray< FChaosClothSimulationLodModel > | LOD data. | ChaosClothAsset/ClothSimulationModel.h | |
| ReferenceBoneIndex | int32 | Bone to treat as the root of the simulation space. | ChaosClothAsset/ClothSimulationModel.h | |
| UsedBoneIndices | TArray< int32 > | List of the indices for the bones in UsedBoneNames, used for remapping. | ChaosClothAsset/ClothSimulationModel.h | |
| UsedBoneNames | TArray< FName > | List of bones this asset uses from the reference skeleton. | ChaosClothAsset/ClothSimulationModel.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void CalculateLODTransitionUpDownData
(
TArray< FChaosClothAssetLodTransitionDataCache >* InOutTransitionCache |
ChaosClothAsset/ClothSimulationModel.h | ||
TConstArrayView< FClothVertBoneData > GetBoneData
(
int32 LodIndex |
ChaosClothAsset/ClothSimulationModel.h | ||
TConstArrayView< uint32 > GetIndices
(
int32 LodIndex |
ChaosClothAsset/ClothSimulationModel.h | ||
TConstArrayView< FVector3f > GetNormals
(
int32 LodIndex |
ChaosClothAsset/ClothSimulationModel.h | ||
int32 GetNumLods() |
ChaosClothAsset/ClothSimulationModel.h | ||
int32 GetNumTriangles
(
int32 LodIndex |
ChaosClothAsset/ClothSimulationModel.h | ||
int32 GetNumVertices
(
int32 LodIndex |
ChaosClothAsset/ClothSimulationModel.h | ||
TConstArrayView< uint32 > GetPatternIndices
(
int32 LodIndex |
ChaosClothAsset/ClothSimulationModel.h | ||
TConstArrayView< FVector2f > GetPatternPositions
(
int32 LodIndex |
ChaosClothAsset/ClothSimulationModel.h | ||
TConstArrayView< uint32 > GetPatternToWeldedIndices
(
int32 LodIndex |
ChaosClothAsset/ClothSimulationModel.h | ||
TConstArrayView< FVector3f > GetPositions
(
int32 LodIndex |
ChaosClothAsset/ClothSimulationModel.h | ||
void GetResourceSizeEx
(
FResourceSizeEx& CumulativeResourceSize |
ChaosClothAsset/ClothSimulationModel.h | ||
| ChaosClothAsset/ClothSimulationModel.h | |||
bool IsValidLodIndex
(
int32 LodIndex |
ChaosClothAsset/ClothSimulationModel.h | ||
void RemapBoneIndices
(
const TArray< int32 >& BoneMap |
Remap used bones to a new skeleton. | ChaosClothAsset/ClothSimulationModel.h |