Navigation
API > API/Plugins > API/Plugins/DynamicMesh > API/Plugins/DynamicMesh/FDynamicMeshUVEditor
Description
Compute an oriented UV-space bounding box for the given Triangles, and then rotate the UVs such that the box is aligned with the X axis. The UV-space box is found by computing the 2D Convex Hull and then finding the hull edge that results in the minimal box.
| Name | AutoOrientUVArea |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/Parameterization/DynamicMeshUVEditor.h |
| Include Path | #include "Parameterization/DynamicMeshUVEditor.h" |
| Source | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Private/Parameterization/DynamicMeshUVEditor.cpp |
bool AutoOrientUVArea
(
const TArray < int32 > & Triangles
)