Navigation
API > API/Runtime > API/Runtime/MassEntity
Used to indicate a specific slice of a preexisting FMassGenericPayloadView, it's essentially an access pattern Note: accessing content generates copies of FStructArrayViews stored (still cheap, those are just views).
| Name | FMassGenericPayloadViewSlice |
| Type | struct |
| Header File | /Engine/Source/Runtime/MassEntity/Public/MassEntityTypes.h |
| Include Path | #include "MassEntityTypes.h" |
Syntax
struct FMassGenericPayloadViewSlice
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| MassEntityTypes.h | |||
FMassGenericPayloadViewSlice
(
const FMassGenericPayloadView& InSource, |
MassEntityTypes.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Count | const int32 | MassEntityTypes.h | ||
| Source | FMassGenericPayloadView | MassEntityTypes.h | ||
| StartIndex | const int32 | MassEntityTypes.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool IsEmpty() |
MassEntityTypes.h | ||
int32 Num() |
MassEntityTypes.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FStructArrayView operator[]
(
const int32 Index |
MassEntityTypes.h |