Navigation
API > API/Runtime > API/Runtime/GeometryCore
Faster adapter specifically for the common index mesh case
| Name | TIndexMeshArrayAdapter |
| Type | struct |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/MeshAdapter.h |
| Include Path | #include "MeshAdapter.h" |
Syntax
template<typename IndexType, typename OutRealType, typename InVectorType>
struct TIndexMeshArrayAdapter
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| MeshAdapter.h | |||
TIndexMeshArrayAdapter
(
const TArray< InVectorType >* SourceVerticesIn, |
MeshAdapter.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| SourceTriangles | const TArray< IndexType > * | MeshAdapter.h | ||
| SourceVertices | const TArray< InVectorType > * | MeshAdapter.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
uint64 GetChangeStamp() |
MeshAdapter.h | ||
FIndex3i GetTriangle
(
int32 Index |
MeshAdapter.h | ||
void GetTriVertices
(
int32 TriIndex, |
MeshAdapter.h | ||
TVector< OutRealType > GetVertex
(
int32 Index |
MeshAdapter.h | ||
bool IsTriangle
(
int32 Index |
MeshAdapter.h | ||
bool IsVertex
(
int32 Index |
MeshAdapter.h | ||
int32 MaxTriangleID() |
MeshAdapter.h | ||
int32 MaxVertexID() |
MeshAdapter.h | ||
| MeshAdapter.h | |||
int32 TriangleCount() |
Counts are same as MaxIDs, because these are compact meshes. | MeshAdapter.h | |
int32 VertexCount() |
MeshAdapter.h |