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 ScaleUVAreaTo3DArea
(
const TArray < int32 > & Triangles,
bool bRecenterAtOrigin
)
Remarks
Compute the UV-space and 3D area of the given Triangles, and then scale the UV area to be equvalent to the 3D area. Scaling is around the center of the UV bounding box.
Parameters
| Name | Description |
|---|---|
| bRecenterAtOrigin | if true, UVs are translated after scaling such that the UV bounding box center is at (0,0) |