FDynamicMeshToMeshDescription::UpdateAttributes

Update only attributes, assuming the mesh topology has not changed.

Windows
MacOS
Linux

References

Module

MeshConversion

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/MeshConversion/Public/DynamicMeshToMeshDescription.h

Include

#include "DynamicMeshToMeshDescription.h"

Source

/Engine/Plugins/Experimental/GeometryProcessing/Source/MeshConversion/Private/DynamicMeshToMeshDescription.cpp

Syntax

void UpdateAttributes
(
    const FDynamicMesh3 * MeshIn,
    FMeshDescription & MeshOut,
    bool bUpdateNormals,
    bool bUpdateUVs
)

Remarks

Update only attributes, assuming the mesh topology has not changed. Does not touch positions. NOTE: assumes the order of triangles in the MeshIn correspond to the ordering you'd get by iterating over polygons, then tris-in-polygons, on MeshOut This matches conversion currently used in MeshDescriptionToDynamicMesh.cpp, but if that changes we will need to change this function to match!

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