Navigation
API > API/Runtime > API/Runtime/MassEntity > API/Runtime/MassEntity/FMassExecutionContext
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.
| Name | FEntityIterator |
| Type | struct |
| Header File | /Engine/Source/Runtime/MassEntity/Public/MassExecutionContext.h |
| Include Path | #include "MassExecutionContext.h" |
Syntax
struct FEntityIterator
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| MassExecutionContext.h | |||
| MassExecutionContext.h | |||
FEntityIterator
(
const FEntityIterator& |
Iterator copying is disabled to avoid additional checks to detect if entity chunk being iterated on changed. | MassExecutionContext.h | |
FEntityIterator
(
FMassExecutionContext& InExecutionContext |
MassExecutionContext.h | ||
FEntityIterator
(
FMassExecutionContext& InExecutionContext, |
MassExecutionContext.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| EntityIndex | int32 | MassExecutionContext.h | ||
| ExecutionContext | const FMassExecutionContext & | WITH_MASSENTITY_DEBUG. | MassExecutionContext.h | |
| FMassExecutionContext | friend | MassExecutionContext.h | ||
| NumEntities | const int32 | MassExecutionContext.h | ||
| QueryRuntime | const FQueryTransientRuntime & | MassExecutionContext.h | ||
| SerialNumber | const uint32 | MassExecutionContext.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FEntityIterator && begin() |
MassExecutionContext.h | ||
FEntityIterator end() |
MassExecutionContext.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
operator bool() |
MassExecutionContext.h | ||
operator int32() |
MassExecutionContext.h | ||
bool operator!=
(
const int& Other |
MassExecutionContext.h | ||
int32 operator*() |
MassExecutionContext.h | ||
FEntityIterator & operator++() |
MassExecutionContext.h | ||
void operator++
(
int |
MassExecutionContext.h | ||
FEntityIterator & operator=
(
const FEntityIterator& |
MassExecutionContext.h | ||
FEntityIterator & operator=
(
FEntityIterator&& |
MassExecutionContext.h |