Navigation
API > API/Plugins > API/Plugins/NearestNeighborModel
References
| Module | NearestNeighborModel |
| Header | /Engine/Plugins/Animation/MLDeformer/NearestNeighborModel/Source/NearestNeighborModel/Public/NearestNeighborModel.h |
| Include | #include "NearestNeighborModel.h" |
Syntax
USTRUCT&40;BlueprintType, Blueprintable&41;
struct FClothPartData
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< float > | NeighborCoeffs | PCA coefficients of the nearest neighbors. | |
| TArray< float > | NeighborOffsets | The remaining offsets of the nearest neighbor shapes (after reducing PCA offsets). | |
| uint32 | NumNeighbors | Number of neighbors used for this cloth part | |
| uint32 | NumVertices | Number of vertices in this cloth part | |
| TArray< float > | PCABasis | PCA basis for this cloth part. This is a flattened array of size (PCACoeffNum, NumVertices * 3) | |
| int32 | PCACoeffNum | Number of PCA coefficients for this cloth part. | |
| uint32 | PCACoeffStart | The start index of PCA coeffcients of this cloth part | |
| TArray< uint32 > | VertexMap | Vertex indices for this cloth part | |
| TArray< float > | VertexMean | Vertex mean for PCA computation. This has the size of NumVertices * 3 |