Navigation
API > API/Plugins > API/Plugins/ChaosClothAsset
Cloth Asset collection sim pattern facade class to access cloth sim pattern data. Constructed from FCollectionClothConstFacade. Const access (read only) version.
| Name | FCollectionClothSimPatternConstFacade |
| Type | class |
| Header File | /Engine/Plugins/ChaosClothAsset/Source/ChaosClothAsset/Public/ChaosClothAsset/CollectionClothSimPatternFacade.h |
| Include Path | #include "ChaosClothAsset/CollectionClothSimPatternFacade.h" |
Syntax
class FCollectionClothSimPatternConstFacade
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FCollectionClothSimPatternConstFacade
(
const TSharedRef< const class FConstClothCollection >& InClothCollection, |
ChaosClothAsset/CollectionClothSimPatternFacade.h | ||
| ChaosClothAsset/CollectionClothSimPatternFacade.h | |||
| ChaosClothAsset/CollectionClothSimPatternFacade.h | |||
| ChaosClothAsset/CollectionClothSimPatternFacade.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FCollectionClothSimPatternConstFacade() |
ChaosClothAsset/CollectionClothSimPatternFacade.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int32 GetFabricIndex() |
Return the Pattern index this facade has been created with. | ChaosClothAsset/CollectionClothSimPatternFacade.h | |
int32 GetNumSimFaces() |
Note: SimIndices points to the collection arrays, not the pattern arrays. | ChaosClothAsset/CollectionClothSimPatternFacade.h | |
int32 GetNumSimVertices2D() |
Note: Use the FCollectionClothConstFacade accessors instead of these for the array indices to match the SimIndices2D values. | ChaosClothAsset/CollectionClothSimPatternFacade.h | |
int32 GetPatternIndex() |
Return the Pattern index this facade has been created with. | ChaosClothAsset/CollectionClothSimPatternFacade.h | |
int32 GetSimFacesOffset() |
Return the simulation faces offset for this pattern in the simulation faces. | ChaosClothAsset/CollectionClothSimPatternFacade.h | |
TConstArrayView< int32 > GetSimImportVertexID() |
ChaosClothAsset/CollectionClothSimPatternFacade.h | ||
TConstArrayView< FIntVector3 > GetSimIndices2D() |
ChaosClothAsset/CollectionClothSimPatternFacade.h | ||
TConstArrayView< FIntVector3 > GetSimIndices3D() |
ChaosClothAsset/CollectionClothSimPatternFacade.h | ||
TConstArrayView< FVector2f > GetSimPosition2D() |
ChaosClothAsset/CollectionClothSimPatternFacade.h | ||
TConstArrayView< int32 > GetSimVertex3DLookup() |
ChaosClothAsset/CollectionClothSimPatternFacade.h | ||
int32 GetSimVertices2DOffset() |
Return the simulation vertices offset for this pattern in the simulation vertices for the collection. | ChaosClothAsset/CollectionClothSimPatternFacade.h | |
bool IsEmpty() |
Whether or not this pattern is empty. | ChaosClothAsset/CollectionClothSimPatternFacade.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int32 GetElementIndex() |
ChaosClothAsset/CollectionClothSimPatternFacade.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static int32 GetBaseElementIndex() |
ChaosClothAsset/CollectionClothSimPatternFacade.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| ChaosClothAsset/CollectionClothSimPatternFacade.h | |||
| ChaosClothAsset/CollectionClothSimPatternFacade.h |