UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
MeshAttributeUtil.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "Containers/Array.h"
8#include "HAL/Platform.h"
9#include "IntBoxTypes.h"
10
11
15namespace UE
16{
17namespace Geometry
18{
19 struct FInterval1i;
20 template <typename RealType> class TDynamicMeshScalarTriangleAttribute;
21
36 const FDynamicMesh3& Mesh,
38 FInterval1i& OldMaxAttributeRangeOut,
42 bool& bWasCompactOut);
43
51 const FDynamicMesh3& Mesh,
53 bool bCompactElements = false);
54
62 const FDynamicMesh3& Mesh,
64 bool bCompactElements = false);
65}
66}
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Definition Array.h:670
GEOMETRYCORE_API bool CopyVertexUVsToOverlay(const FDynamicMesh3 &Mesh, FDynamicMeshUVOverlay &UVOverlayOut, bool bCompactElements=false)
Definition MeshAttributeUtil.cpp:67
TDynamicMeshVectorOverlay< float, 3, FVector3f > FDynamicMeshNormalOverlay
Definition DynamicMeshAttributeSet.h:43
GEOMETRYCORE_API bool CompactAttributeValues(const FDynamicMesh3 &Mesh, TDynamicMeshScalarTriangleAttribute< int32 > &TriangleAttrib, FInterval1i &OldMaxAttributeRangeOut, int &NewMaxAttributeValueOut, TArray< int32 > &OldToNewMapOut, TArray< int32 > &NewToOldMapOut, bool &bWasCompactOut)
Definition MeshAttributeUtil.cpp:8
GEOMETRYCORE_API bool CopyVertexNormalsToOverlay(const FDynamicMesh3 &Mesh, FDynamicMeshNormalOverlay &NormalOverlayOut, bool bCompactElements=false)
Definition MeshAttributeUtil.cpp:104
TDynamicMeshVectorOverlay< float, 2, FVector2f > FDynamicMeshUVOverlay
Definition DynamicMeshAttributeSet.h:41
Definition AdvancedWidgetsModule.cpp:13