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

#include <MassEntityTypes.h>

Public Member Functions

 FMassGenericPayloadViewSlice ()=default
 
 FMassGenericPayloadViewSlice (const FMassGenericPayloadView &InSource, const int32 InStartIndex, const int32 InCount)
 
FStructArrayView operator[] (const int32 Index) const
 
int32 Num () const
 
bool IsEmpty () const
 

Detailed Description

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).

Constructor & Destructor Documentation

◆ FMassGenericPayloadViewSlice() [1/2]

FMassGenericPayloadViewSlice::FMassGenericPayloadViewSlice ( )
default

◆ FMassGenericPayloadViewSlice() [2/2]

FMassGenericPayloadViewSlice::FMassGenericPayloadViewSlice ( const FMassGenericPayloadView InSource,
const int32  InStartIndex,
const int32  InCount 
)
inline

Member Function Documentation

◆ IsEmpty()

bool FMassGenericPayloadViewSlice::IsEmpty ( ) const
inline

◆ Num()

int32 FMassGenericPayloadViewSlice::Num ( ) const
inline
Returns
the number of "layers" (i.e. number of original arrays) this payload has been built from

◆ operator[]()

FStructArrayView FMassGenericPayloadViewSlice::operator[] ( const int32  Index) const
inline

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