Navigation
API > API/Plugins > API/Plugins/DynamicMesh > API/Plugins/DynamicMesh/Parameterization > API/Plugins/DynamicMesh/Parameterization/FDynamicMeshUVEditor
References
| Module | DynamicMesh |
| Header | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Public/Parameterization/DynamicMeshUVEditor.h |
| Include | #include "Parameterization/DynamicMeshUVEditor.h" |
| Source | /Engine/Plugins/Runtime/GeometryProcessing/Source/DynamicMesh/Private/Parameterization/DynamicMeshUVEditor.cpp |
bool AutoOrientUVArea
(
const TArray < int32 > & Triangles
)
Remarks
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.