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