![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <ClothingMeshUtils.h>
Public Member Functions | |
| FVertexParameterMapper (TConstArrayView< FVector3f > InMesh0Positions, TConstArrayView< FVector3f > InMesh0Normals, TConstArrayView< FVector3f > InMesh1Positions, TConstArrayView< FVector3f > InMesh1Normals, TConstArrayView< uint32 > InMesh1Indices) | |
| template<typename T , typename Lambda > | |
| void | Map (TConstArrayView< T > &SourceData, TArray< T > &DestData, const Lambda &Func) |
| CLOTHINGSYSTEMRUNTIMECOMMON_API void | Map (TConstArrayView< float > Source, TArray< float > &Dest) |
Object used to map vertex parameters between two meshes using the same barycentric mesh to mesh mapping data we use for clothing
|
inline |
| void ClothingMeshUtils::FVertexParameterMapper::Map | ( | TConstArrayView< float > | Source, |
| TArray< float > & | Dest | ||
| ) |
Remap float scalar values. This transfers the values from source to dest by matching the mesh topologies using barycentric coordinates of the dest mesh (Mesh0) positions over the source mesh (Mesh1).
|
inline |
Generic mapping function, can be used to map any type with a provided callable