UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FMassExecutionContext::FEntityIterator Struct Reference

#include <MassExecutionContext.h>

Public Member Functions

int32 operator* () const
 
bool operator!= (const int &Other) const
 
 operator int32 () const
 
 operator bool () const
 
bool operator< (const int32 Other) const
 
FEntityIteratoroperator++ ()
 
void operator++ (int)
 
FEntityIterator && begin ()
 
FEntityIterator end () const
 
MASSENTITY_API FEntityIterator ()
 
 FEntityIterator (FEntityIterator &&)=default
 
FEntityIteratoroperator= (const FEntityIterator &)=delete
 
FEntityIteratoroperator= (FEntityIterator &&)=delete
 
 FEntityIterator (const FEntityIterator &)=delete
 

Detailed Description

Iterator to easily loop through entities in the current chunk. Supports ranged for and can be used directly as an entity index for the current chunk.

Constructor & Destructor Documentation

◆ FEntityIterator() [1/3]

FMassExecutionContext::FEntityIterator::FEntityIterator ( )

◆ FEntityIterator() [2/3]

FMassExecutionContext::FEntityIterator::FEntityIterator ( FEntityIterator &&  )
default

◆ FEntityIterator() [3/3]

FMassExecutionContext::FEntityIterator::FEntityIterator ( const FEntityIterator )
delete

Iterator copying is disabled to avoid additional checks to detect if entity chunk being iterated on changed. This decision is to be reconsidered when valid iterator-copying scenarios emerge.

Member Function Documentation

◆ begin()

FEntityIterator && FMassExecutionContext::FEntityIterator::begin ( )
inline

◆ end()

FEntityIterator FMassExecutionContext::FEntityIterator::end ( ) const
inline

◆ operator bool()

FMassExecutionContext::FEntityIterator::operator bool ( ) const
inline

◆ operator int32()

FMassExecutionContext::FEntityIterator::operator int32 ( ) const
inline

◆ operator!=()

bool FMassExecutionContext::FEntityIterator::operator!= ( const int &  Other) const
inline

◆ operator*()

int32 FMassExecutionContext::FEntityIterator::operator* ( ) const
inline

◆ operator++() [1/2]

FEntityIterator & FMassExecutionContext::FEntityIterator::operator++ ( )
inline

◆ operator++() [2/2]

void FMassExecutionContext::FEntityIterator::operator++ ( int  )
inline

◆ operator<()

bool FMassExecutionContext::FEntityIterator::operator< ( const int32  Other) const
inline

◆ operator=() [1/2]

FEntityIterator & FMassExecutionContext::FEntityIterator::operator= ( const FEntityIterator )
delete

◆ operator=() [2/2]

FEntityIterator & FMassExecutionContext::FEntityIterator::operator= ( FEntityIterator &&  )
delete

The documentation for this struct was generated from the following files: