Module |
|
Header |
/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Public/Operations/SimpleHoleFiller.h |
Include |
#include "Operations/SimpleHoleFiller.h" |
Source |
/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Private/Operations/SimpleHoleFiller.cpp |
bool UpdateAttributes
(
TArray< FMeshRegionBoundaryLoops::VidOverlayMap< FVector2f >> & VidUVMaps
)
Updates the normals and UV's of NewTriangles. UV's are taken from VidUVMaps, which is an array of maps (1:1 with UV layers) that map vid's of vertices on the boundary to their UV elements and values. If the UV element for a vertex does not yet exist in the overlay, the corresponding element ID should be InvalidID. The function will update it to point to the new element once it inserts it.
Normals are shared among NewTriangles but not with the surrounding portions of the mesh.
false if there is an error, usually if VidsToUVsMap did not have an entry for a needed vertex ID.
Parameter |
Description |
---|---|
VidsToUVsMap |
A map from vertex ID's of the boundary vertices to UV element ID's and/or their values. When the element ID is invalid, a new element is generated using the value, and the map is updated accordingly. |