UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
TMeshElementArray< ElementType, ElementIDType >::TElementIDs Class Reference

#include <MeshElementArray.h>

Classes

class  TConstIterator
 

Public Member Functions

 TElementIDs (const TSparseArray< ElementType > &InArray)
 
TConstIterator CreateConstIterator () const
 
TConstIterator begin () const
 
TConstIterator end () const
 

Detailed Description

template<typename ElementType, typename ElementIDType>
class TMeshElementArray< ElementType, ElementIDType >::TElementIDs

This is a special type of iterator which returns successive IDs of valid elements, rather than the elements themselves. It is designed to be used with a range-for:

for( const FVertexID VertexID : GetVertices().GetElementIDs() )
{
    DoSomethingWith( VertexID );
}

Constructor & Destructor Documentation

◆ TElementIDs()

template<typename ElementType , typename ElementIDType >
TMeshElementArray< ElementType, ElementIDType >::TElementIDs::TElementIDs ( const TSparseArray< ElementType > &  InArray)
inlineexplicit

Member Function Documentation

◆ begin()

template<typename ElementType , typename ElementIDType >
TConstIterator TMeshElementArray< ElementType, ElementIDType >::TElementIDs::begin ( ) const
inline

◆ CreateConstIterator()

template<typename ElementType , typename ElementIDType >
TConstIterator TMeshElementArray< ElementType, ElementIDType >::TElementIDs::CreateConstIterator ( ) const
inline

◆ end()

template<typename ElementType , typename ElementIDType >
TConstIterator TMeshElementArray< ElementType, ElementIDType >::TElementIDs::end ( ) const
inline

The documentation for this class was generated from the following file: