Navigation
API > API/Plugins > API/Plugins/DynamicMesh > API/Plugins/DynamicMesh/FDynamicMeshUVEditor
Description
Set UVs by cylinder projection. Triangles will be grouped to cylinder endcaps or side based on CylinderSplitAngle. PointTransform is applied to points before projectiong onto ProjectionFrame X/Y axes Projected U/V coordinates are divided by Dimensions.X/Y
| Name | SetTriangleUVsFromCylinderProjection |
| 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 SetTriangleUVsFromCylinderProjection
(
const TArray < int32 > & Triangles,
TFunctionRef < FVector3d> PointTransform,
const FFrame3d & CylFrame,
const FVector3d & CylDimensions,
float CylinderSplitAngle,
FUVEditResult * Result
)