Navigation
API > API/Runtime > API/Runtime/MassEntity
Add this to an entity to link it to another entity. Groups entities that access the same LinkedEntityHandle indirectly for better cache behavior. Use this to minimize random access when many entities access the same shared data.
| Name | FMassEntityLinkFragment |
| Type | struct |
| Header File | /Engine/Source/Runtime/MassEntity/Public/MassEntityLinkFragments.h |
| Include Path | #include "MassEntityLinkFragments.h" |
Syntax
USTRUCT ()
struct FMassEntityLinkFragment : public FMassConstSharedFragment
Inheritance Hierarchy
- FMassElement → FMassConstSharedFragment → FMassEntityLinkFragment
Derived Classes
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| LinkedEntityHandle | FMassEntityHandle | MassEntityLinkFragments.h |