UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
MeshDescriptionUVsToDynamicMesh.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "GeometryBase.h"
7#include "HAL/Platform.h"
9
10struct FMeshDescription;
11
12namespace UE {
13namespace Geometry {
14
15class FDynamicMesh3;
16
32{
33public:
35
36 // The [0,1] UV range will be scaled to [0, ScaleFactor]
37 double ScaleFactor = 1000;
38
40
41 // TODO: The conversion function forward to a dynamic mesh should be made to produce maps
42 // similar to MeshDescriptionToDynamicMesh, which is why this is not a const function.
44
46};
47
48}}//end namespace UE::Geometry
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Definition SharedPointer.h:692
Definition DynamicMesh3.h:108
Definition MeshDescriptionUVsToDynamicMesh.h:32
double ScaleFactor
Definition MeshDescriptionUVsToDynamicMesh.h:37
MESHCONVERSION_API TSharedPtr< FDynamicMesh3 > GetUVMesh(const FMeshDescription *InputMeshDescription)
Definition MeshDescriptionUVsToDynamicMesh.cpp:105
MESHCONVERSION_API void BakeBackUVsFromUVMesh(const FDynamicMesh3 *DynamicUVMesh, FMeshDescription *OutputMeshDescription) const
Definition MeshDescriptionUVsToDynamicMesh.cpp:258
int32 UVLayerIndex
Definition MeshDescriptionUVsToDynamicMesh.h:34
MESHCONVERSION_API int32 GetNumUVLayers(const FMeshDescription *InputMeshDescription) const
Definition MeshDescriptionUVsToDynamicMesh.cpp:99
Definition AdvancedWidgetsModule.cpp:13
Definition MeshDescription.h:94