Navigation
API > API/Plugins > API/Plugins/ChaosClothAsset
Cloth Asset collection sim pattern facade class to access cloth sim pattern data. Constructed from FCollectionClothFacade. Non-const access (read/write) version.
| Name | FCollectionClothSimPatternFacade |
| Type | class |
| Header File | /Engine/Plugins/ChaosClothAsset/Source/ChaosClothAsset/Public/ChaosClothAsset/CollectionClothSimPatternFacade.h |
| Include Path | #include "ChaosClothAsset/CollectionClothSimPatternFacade.h" |
Syntax
class FCollectionClothSimPatternFacade : public UE::Chaos::ClothAsset::FCollectionClothSimPatternConstFacade
Inheritance Hierarchy
- FCollectionClothSimPatternConstFacade → FCollectionClothSimPatternFacade
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| ChaosClothAsset/CollectionClothSimPatternFacade.h | |||
| ChaosClothAsset/CollectionClothSimPatternFacade.h | |||
| ChaosClothAsset/CollectionClothSimPatternFacade.h | |||
FCollectionClothSimPatternFacade
(
const TSharedRef< class FClothCollection >& InClothCollection, |
ChaosClothAsset/CollectionClothSimPatternFacade.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FCollectionClothSimPatternFacade() |
ChaosClothAsset/CollectionClothSimPatternFacade.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TArrayView< int32 > GetSimImportVertexID() |
ChaosClothAsset/CollectionClothSimPatternFacade.h | ||
TArrayView< FIntVector3 > GetSimIndices2D() |
ChaosClothAsset/CollectionClothSimPatternFacade.h | ||
TArrayView< FIntVector3 > GetSimIndices3D() |
ChaosClothAsset/CollectionClothSimPatternFacade.h | ||
TArrayView< FVector2f > GetSimPosition2D() |
Note: Use the FCollectionClothConstFacade accessors instead of these for the array indices to match the SimIndices2D values. | ChaosClothAsset/CollectionClothSimPatternFacade.h | |
void Initialize
(
const TArray< FVector2f >& Positions2D, |
|||
void Initialize
(
const TArray< FVector2f >& Positions2D, |
Initialize the cloth pattern using the specified 3D and 2D positions, and topology. | ChaosClothAsset/CollectionClothSimPatternFacade.h | |
void Initialize
(
const FCollectionClothSimPatternConstFacade& Other, |
Initialize this pattern using another pattern collection. | ChaosClothAsset/CollectionClothSimPatternFacade.h | |
void RemoveAllSimVertices2D() |
ChaosClothAsset/CollectionClothSimPatternFacade.h | ||
void RemoveSimFaces
(
const TArray< int32 >& SortedDeletionList |
ChaosClothAsset/CollectionClothSimPatternFacade.h | ||
void RemoveSimVertices2D
(
const TArray< int32 >& SortedDeletionList |
ChaosClothAsset/CollectionClothSimPatternFacade.h | ||
void RemoveSimVertices2D
(
int32 NumSimVertices |
This will remove the 2D vertices, but the associated seams and 3D vertices will still exist, and point to INDEX_NONE | ChaosClothAsset/CollectionClothSimPatternFacade.h | |
void Reset() |
Remove all geometry from this cloth pattern. | ChaosClothAsset/CollectionClothSimPatternFacade.h | |
void SetFabricIndex
(
const int32 InFabricIndex |
Set the fabric index used by this pattern | ChaosClothAsset/CollectionClothSimPatternFacade.h | |
void SetNumSimFaces
(
int32 NumSimFaces |
Note: SimIndices points to the collection arrays, not the pattern arrays. | ChaosClothAsset/CollectionClothSimPatternFacade.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| ChaosClothAsset/CollectionClothSimPatternFacade.h | |||
| ChaosClothAsset/CollectionClothSimPatternFacade.h |