FVertexParameterMapper

Object used to map vertex parameters between two meshes using the same barycentric mesh to mesh mapping data we use for clothing

Windows
MacOS
Linux

References

Module

ClothingSystemRuntimeCommon

Header

/Engine/Source/Runtime/ClothingSystemRuntimeCommon/Public/Utils/ClothingMeshUtils.h

Include

#include "Utils/ClothingMeshUtils.h"

Syntax

class FVertexParameterMapper

Remarks

Object used to map vertex parameters between two meshes using the same barycentric mesh to mesh mapping data we use for clothing

Constructors

Name Description

Public function

FVertexParameterMapper()

Public function

FVertexParameterMapper

(
    const FVertexParameterMapper& Othe...
)

Public function

FVertexParameterMapper

(
    TArrayView< const FVector > InMesh0...,
    TArrayView< const FVector > InMesh0...,
    TArrayView< const FVector > InMesh1...,
    TArrayView< const FVector > InMesh1...,
    TArrayView< const uint32 > InMesh1I...
)

Functions

Name Description

Public function

void

 

Map

(
    TArrayView< const float > Source,
    TArray< float >& Dest
)

Defined type mappings for brevity.

Public function

void

 

Map

(
    TArrayView< const T >& SourceData,
    TArray< T >& DestData,
    const Lambda& Func
)

Generic mapping function, can be used to map any type with a provided callable

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss