UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
MassEntityManager.cpp File Reference

Classes

struct  UE::Mass::Private::FEntityStorageInitializer
 

Namespaces

namespace  UE
 
namespace  UE::Mass
 
namespace  UE::Mass::Private
 

Macros

#define CHECK_SYNC_API()   testableCheckf(IsProcessing() == false, TEXT("Synchronous API function %hs called during mass processing. Use asynchronous API instead."), __FUNCTION__)
 
#define CHECK_SYNC_API_RETURN(ReturnValue)   testableCheckfReturn(IsProcessing() == false, ReturnValue , TEXT("Synchronous API function %hs called during mass processing. Use asynchronous API instead."), __FUNCTION__)
 
#define CHECK_ELEMENT(ElementType)
 

Functions

void UE::Mass::Private::ConvertArchetypelessSubchunksIntoEntityHandles (FMassArchetypeEntityCollection::FConstEntityRangeArrayView Subchunks, TArray< FMassEntityHandle > &OutEntityHandles)
 
bool UE::Mass::Private::IsElement (TNotNull< const UScriptStruct * > ElementType)
 

Macro Definition Documentation

◆ CHECK_ELEMENT

#define CHECK_ELEMENT (   ElementType)
Value:
checkf(UE::Mass::Private::IsElement(ElementType), TEXT("%hs: Only tags and fragments are considered 'elements', type provided: %s") \
, __FUNCTION__ , *ElementType->GetName())
#define checkf(expr, format,...)
Definition AssertionMacros.h:315
#define TEXT(x)
Definition Platform.h:1272
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
bool IsElement(TNotNull< const UScriptStruct * > ElementType)
Definition MassEntityManager.cpp:52

◆ CHECK_SYNC_API

#define CHECK_SYNC_API ( )    testableCheckf(IsProcessing() == false, TEXT("Synchronous API function %hs called during mass processing. Use asynchronous API instead."), __FUNCTION__)

◆ CHECK_SYNC_API_RETURN

#define CHECK_SYNC_API_RETURN (   ReturnValue)    testableCheckfReturn(IsProcessing() == false, ReturnValue , TEXT("Synchronous API function %hs called during mass processing. Use asynchronous API instead."), __FUNCTION__)