FDynamicMeshEditor::RescaleAttributeUVs

Rescale UVs for the whole mesh, for the given UV attribute layer

Windows
MacOS
Linux

References

Module

DynamicMesh

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Public/DynamicMeshEditor.h

Include

#include "DynamicMeshEditor.h"

Source

/Engine/Plugins/Experimental/GeometryProcessing/Source/DynamicMesh/Private/DynamicMeshEditor.cpp

Syntax

void RescaleAttributeUVs
(
    float UVScale,
    bool bWorldSpace,
    int UVLayerIndex,
    TOptional< FTransform3d > ToWorld
)

Remarks

Rescale UVs for the whole mesh, for the given UV attribute layer

Parameters

Parameter

Description

UVScale

Scale factor to multiply into UVs. If in world space, this is in centimeters relative to the average UV scale

bWorldSpace

If true, UVs are rescaled relative to an absolute world scale.

UVLayerIndex

which UV layer to operate on (must exist)

ToWorld

Optionally transform vertices for world space scaling

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