UE::MeshUVTransforms::FitToBox

Fit all UV element IDs of the UV Overlay inside the specified Box.

Windows
MacOS
Linux

References

Module

DynamicMesh

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Public/Parameterization/MeshUVTransforms.h

Include

#include "Parameterization/MeshUVTransforms.h"

Source

/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Private/Parameterization/MeshUVTransforms.cpp

Syntax

namespace UE
{
    namespace MeshUVTransforms
    {
        void UE::MeshUVTransforms::FitToBox
        (
            FDynamicMeshUVOverlay * UVOverlay,
            const FAxisAlignedBox2d & Box,
            bool bUniformScale
        )
    }
}

Remarks

Fit all UV element IDs of the UV Overlay inside the specified Box.

Parameters

Parameter

Description

bUniformScale

if false, UVs will be non-uniformly scaled to maximally fill the box

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss