Navigation
API > API/Runtime > API/Runtime/MassEntity
To iterate over continuous lists of sparse elements of specific types
| Name | FSparseElementIterator |
| Type | struct |
| Header File | /Engine/Source/Runtime/MassEntity/Public/MassSparseElementsStorage.h |
| Include Path | #include "MassSparseElementsStorage.h" |
Syntax
struct FSparseElementIterator
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| MassSparseElementsStorage.h | |||
FSparseElementIterator
(
const FSparseElementsStorage::FTypePool& InPool |
Instances to be created only via FSparseElementsStorage | MassSparseElementsStorage.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ChunkIndex | int32 | MassSparseElementsStorage.h | ||
| ElementIndex | uint32 | MassSparseElementsStorage.h | ||
| FSparseElementsStorage | friend | MassSparseElementsStorage.h | ||
| Pool | const FSparseElementsStorage::FTypePool & | MassSparseElementsStorage.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FStructView GetElementView() |
MassSparseElementsStorage.h | ||
FMassEntityHandle GetEntityHandle
(
const FMassEntityManager& EntityManager |
MassSparseElementsStorage.h | ||
int32 GetEntityIndex() |
MassSparseElementsStorage.h | ||
bool IsValid() |
MassSparseElementsStorage.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
operator bool() |
MassSparseElementsStorage.h | ||
FStructView operator*() |
MassSparseElementsStorage.h | ||
void operator++() |
MassSparseElementsStorage.h |