Navigation
API > API/Runtime > API/Runtime/MassEntity > API/Runtime/MassEntity/FMassExecutionContext
A flavor of FEntityIterator that skips all the entities that don't match current query's sparse element requirements. This means that if there are no sparse requirements then FSparseEntityIterator will behave like a regular FEntityIterator but less efficiently so.
| Name | FSparseEntityIterator |
| Type | struct |
| Header File | /Engine/Source/Runtime/MassEntity/Public/MassExecutionContext.h |
| Include Path | #include "MassExecutionContext.h" |
Syntax
struct FSparseEntityIterator : public FMassExecutionContext::FEntityIterator
Inheritance Hierarchy
- FMassExecutionContext::FEntityIterator → FMassExecutionContext::FSparseEntityIterator
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Note that the default constructor results in an "invalid" (i.e. useless) iterator. | MassExecutionContext.h | ||
FSparseEntityIterator
(
FEntityIterator&& Source |
MassExecutionContext.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSparseEntityIterator && begin() |
MassExecutionContext.h | ||
FSparseEntityIterator end() |
MassExecutionContext.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSparseEntityIterator & operator++() |
MassExecutionContext.h | ||
void operator++
(
int |
MassExecutionContext.h |