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 ScaleUVAreaToBoundingBox
&40;
const TArray< int32 > & Triangles,
const FAxisAlignedBox2f & BoundingBox,
bool bPreserveAspectRatio,
bool bRecenterAtBoundingBox
&41;
Remarks
Scale UVs of the given triangles to fit within the provided provided bounding box.
Parameters
| Name | Description |
|---|---|
| BoundingBox | the 2D bounding box to constraint the requested UVs within. |
| bPreserveAspectRatio | if true, when scaling UVs, maintain original aspect ratio instead of fitting to box bounds |
| bRecenterAtBoundingBox | if true, UVs are translated such that their centroid is at the bounding box center |