UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
MassEntityElementTypes.h File Reference
#include "MassEntityElementTypes.generated.h"

Go to the source code of this file.

Classes

struct  FMassFragment
 
struct  FMassTag
 
struct  FMassChunkFragment
 
struct  FMassSharedFragment
 
struct  FMassConstSharedFragment
 

Namespaces

namespace  UE
 
namespace  UE::Mass
 

Macros

#define _MASS_INVALID_FRAGMENT_CORE_MESSAGE   "Make sure to inherit from FMassFragment or one of its child-types and ensure that the struct is trivially copyable, or opt out by specializing TMassFragmentTraits for this type and setting AuthorAcceptsItsNotTriviallyCopyable = true"
 
#define MASS_INVALID_FRAGMENT_MSG   "Given struct doesn't represent a valid fragment type." _MASS_INVALID_FRAGMENT_CORE_MESSAGE
 
#define MASS_INVALID_FRAGMENT_MSG_F   "Type %s is not a valid fragment type." _MASS_INVALID_FRAGMENT_CORE_MESSAGE
 

Functions

template<typename T >
bool UE::Mass::IsA (const UStruct *)
 
template<>
bool UE::Mass::IsA< FMassFragment > (const UStruct *Struct)
 
template<>
bool UE::Mass::IsA< FMassTag > (const UStruct *Struct)
 
template<>
bool UE::Mass::IsA< FMassChunkFragment > (const UStruct *Struct)
 
template<>
bool UE::Mass::IsA< FMassSharedFragment > (const UStruct *Struct)
 
template<>
bool UE::Mass::IsA< FMassConstSharedFragment > (const UStruct *Struct)
 

Macro Definition Documentation

◆ _MASS_INVALID_FRAGMENT_CORE_MESSAGE

#define _MASS_INVALID_FRAGMENT_CORE_MESSAGE   "Make sure to inherit from FMassFragment or one of its child-types and ensure that the struct is trivially copyable, or opt out by specializing TMassFragmentTraits for this type and setting AuthorAcceptsItsNotTriviallyCopyable = true"

◆ MASS_INVALID_FRAGMENT_MSG

#define MASS_INVALID_FRAGMENT_MSG   "Given struct doesn't represent a valid fragment type." _MASS_INVALID_FRAGMENT_CORE_MESSAGE

◆ MASS_INVALID_FRAGMENT_MSG_F

#define MASS_INVALID_FRAGMENT_MSG_F   "Type %s is not a valid fragment type." _MASS_INVALID_FRAGMENT_CORE_MESSAGE