Navigation
API > API/Plugins > API/Plugins/DynamicMesh > API/Plugins/DynamicMesh/FDynamicMeshUVEditor
Description
Set UVs by box projection. Triangles will be grouped to "best" box face PointTransform is applied to points before projectiong onto ProjectionFrame X/Y axes Projected U/V coordinates are divided by Dimensions.X/Y
| Name | SetTriangleUVsFromBoxProjection |
| 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 |
void SetTriangleUVsFromBoxProjection
(
const TArray < int32 > & Triangles,
TFunctionRef < FVector3d> PointTransform,
const FFrame3d & BoxFrame,
const FVector3d & BoxDimensions,
int32 MinIslandTriCount,
FUVEditResult * Result
)
Parameters
| Name | Remarks |
|---|---|
| MinIslandTriCount | Any UV island with fewer triangles than this count will be merged into a neighbouring island |