UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
MeshElementRemappings.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 "MeshTypes.h"
7
12{
20
22 {
24 return FVertexID( NewVertexIndexLookup[ VertexID.GetValue() ] );
25 }
26
32
34 {
36 return FEdgeID( NewEdgeIndexLookup[ EdgeID.GetValue() ] );
37 }
38
40 {
42 return FUVID( NewUVIndexLookup[ UVID.GetValue() ] );
43 }
44
46 {
48 return FTriangleID( NewTriangleIndexLookup[ TriangleID.GetValue() ] );
49 }
50
52 {
54 return FPolygonID( NewPolygonIndexLookup[ PolygonID.GetValue() ] );
55 }
56
62};
63
#define checkSlow(expr)
Definition AssertionMacros.h:332
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
bool IsAllocated(int32 Index) const
Definition SparseArray.h:486
Definition SparseArray.h:524
Definition MeshTypes.h:150
Definition MeshElementRemappings.h:12
TSparseArray< int32 > NewTriangleIndexLookup
Definition MeshElementRemappings.h:16
TSparseArray< int32 > NewEdgeIndexLookup
Definition MeshElementRemappings.h:15
FVertexInstanceID GetRemappedVertexInstanceID(FVertexInstanceID VertexInstanceID) const
Definition MeshElementRemappings.h:27
TSparseArray< int32 > NewVertexInstanceIndexLookup
Definition MeshElementRemappings.h:14
TSparseArray< int32 > NewVertexIndexLookup
Definition MeshElementRemappings.h:13
FTriangleID GetRemappedTriangleID(FTriangleID TriangleID) const
Definition MeshElementRemappings.h:45
FPolygonID GetRemappedPolygonID(FPolygonID PolygonID) const
Definition MeshElementRemappings.h:51
FEdgeID GetRemappedEdgeID(FEdgeID EdgeID) const
Definition MeshElementRemappings.h:33
FUVID GetRemappedUVID(FUVID UVID) const
Definition MeshElementRemappings.h:39
TSparseArray< int32 > NewPolygonGroupIndexLookup
Definition MeshElementRemappings.h:19
TSparseArray< int32 > NewUVIndexLookup
Definition MeshElementRemappings.h:17
FVertexID GetRemappedVertexID(FVertexID VertexID) const
Definition MeshElementRemappings.h:21
FPolygonGroupID GetRemappedPolygonGroupID(FPolygonGroupID PolygonGroupID) const
Definition MeshElementRemappings.h:57
TSparseArray< int32 > NewPolygonIndexLookup
Definition MeshElementRemappings.h:18
int32 GetValue() const
Definition MeshTypes.h:35
Definition MeshTypes.h:236
Definition MeshTypes.h:266
Definition MeshTypes.h:206
Definition MeshTypes.h:180
Definition MeshTypes.h:90
Definition MeshTypes.h:120