Navigation
API > API/Runtime > API/Runtime/MassEntity
| Name | FRoleTraits |
| Type | struct |
| Header File | /Engine/Source/Runtime/MassEntity/Public/MassEntityRelations.h |
| Include Path | #include "MassEntityRelations.h" |
Syntax
struct FRoleTraits
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bExclusive | bool | "Exclusive" means there can be only one participant like this in a relation. | MassEntityRelations.h | |
| DestructionPolicy | ERemovalPolicy | What to do when entities serving this role are destroyed. | MassEntityRelations.h | |
| Element | const UScriptStruct * | The element type that will be added to the participating entity. | MassEntityRelations.h | |
| RequiresExternalMapping | EExternalMappingRequired | Declares whether this relation-specific implementation details provide dedicated mechanism for mapping other roles for entities serving as this role, the role these traits affect. | MassEntityRelations.h |
Functions
Public
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator==
(
const FRoleTraits& Other |
MassEntityRelations.h |