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

#include <MeshElementContainer.h>

Classes

class  TConstIterator
 

Public Member Functions

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

Detailed Description

template<typename ElementIDType>
class TMeshElementContainer< 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 int32 VertexIndex : GetVertices().GetElementIDs())
{
    DoSomethingWith(VertexIndex);
}

Constructor & Destructor Documentation

◆ TElementIDs()

template<typename ElementIDType >
TMeshElementContainer< ElementIDType >::TElementIDs::TElementIDs ( const TBitArray<> &  InArray)
inlineexplicit

Member Function Documentation

◆ begin()

template<typename ElementIDType >
TConstIterator TMeshElementContainer< ElementIDType >::TElementIDs::begin ( ) const
inline

◆ CreateConstIterator()

template<typename ElementIDType >
TConstIterator TMeshElementContainer< ElementIDType >::TElementIDs::CreateConstIterator ( ) const
inline

◆ end()

template<typename ElementIDType >
TConstIterator TMeshElementContainer< ElementIDType >::TElementIDs::end ( ) const
inline

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