Navigation
| Name | NearestNeighborModel |
| Type | Plugin |
| Part of Plugins | ML Deformer Nearest Neighbor Model (DEPRECATED) |
| Location | /Engine/Plugins/Animation/MLDeformer/NearestNeighborModel/Source/NearestNeighborModel/ |
| Module Build Rules | NearestNeighborModel.Build.cs |
Classes
| Name | Remarks |
|---|---|
| FHelpers | Use a helper class to avoid adding to all functions. |
| UNearestNeighborModel | The nearest neighbor model. |
| UNearestNeighborModelInputInfo | |
| UNearestNeighborModelInstance | |
| UNearestNeighborModelSection | The section of the nearest neighbor model. |
| UNearestNeighborModelVizSettings | The vizualization settings specific to the the vertex delta model. |
| UNearestNeighborOptimizedNetworkLoader | Helper class to load the optimized network from disk. |
Enums
Public
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AssetNeighborCoeffs | TArray< float > | PCA coefficients of the nearest neighbors. | NearestNeighborModel.h | |
| AssetNeighborIndexMap | TArray< int32 > | Mapping from NeighborCoeffs to AssetNeighborCoeffs | NearestNeighborModel.h | |
| AssetNeighborOffsets | TArray< float > | The remaining offsets of the nearest neighbor shapes (after reducing PCA offsets). | NearestNeighborModel.h | |
| NeighborCoeffs | TArray< float > | NearestNeighborModel.h | ||
| NumNeighbors | uint32 | Number of neighbors used for this cloth part | NearestNeighborModel.h | |
| NumVertices | uint32 | Number of vertices in this cloth part | NearestNeighborModel.h | |
| PCABasis | TArray< float > | PCA basis for this cloth part. This is a flattened array of size (PCACoeffNum, NumVertices * 3) | NearestNeighborModel.h | |
| PCACoeffStart | uint32 | The start index of PCA coeffcients of this cloth part | NearestNeighborModel.h | |
| VertexMap | TArray< uint32 > | Vertex indices for this cloth part | NearestNeighborModel.h | |
| VertexMean | TArray< float > | Vertex mean for PCA computation. This has the size of NumVertices * 3 | NearestNeighborModel.h |