TIndexMeshArrayAdapter

Faster adapter specifically for the common index mesh case

Windows
MacOS
Linux

References

Module

GeometricObjects

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/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

Name Description

Public variable

const TArray< I...

 

SourceTriangles

Public variable

const TArray< I...

 

SourceVertices

Constructors

Name Description

Public function

TIndexMeshArrayAdapter()

Public function

TIndexMeshArrayAdapter

(
    const TArray< InVectorType >* ...,
    const TArray< IndexType >* Sou...
)

Functions

Name Description

Public function Const

int32

 

GetShapeTimestamp()

Public function Const

FIndex3i

 

GetTriangle

(
    int32 Index
)

Public function Const

void

 

GetTriVertices

(
    int32 TriIndex,
    FVector3< OutRealType >& V0,
    FVector3< OutRealType >& V1,
    FVector3< OutRealType >& V2
)

Public function Const

FVector3< Ou...

 

GetVertex

(
    int32 Index
)

Public function Const

bool

 

IsTriangle

(
    int32 Index
)

Public function Const

bool

 

IsVertex

(
    int32 Index
)

Public function Const

int32

 

MaxTriangleID()

Public function Const

int32

 

MaxVertexID()

Public function

void

 

SetSources

(
    const TArray< InVectorType >* ...,
    const TArray< IndexType >* Sou...
)

Public function Const

int32

 

TriangleCount()

Counts are same as MaxIDs, because these are compact meshes.

Public function Const

int32

 

VertexCount()

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss