Navigation
API > API/Runtime > API/Runtime/TypedElementFramework > API/Runtime/TypedElementFramework/FTedsRelationRoleTraits
Policy for what happens when the entity in this role is destroyed.
| Name | EDestructionPolicy |
| Type | enum |
| Header File | /Engine/Source/Runtime/TypedElementFramework/Public/Elements/Interfaces/TypedElementDataStorageInterface.h |
| Include Path | #include "Elements/Interfaces/TypedElementDataStorageInterface.h" |
Syntax
enum EDestructionPolicy
{
CleanUp,
Cascade,
Orphan,
}
Values
| Name | Remarks |
|---|---|
| CleanUp | Just remove the relation row, leave other participant unchanged |
| Cascade | Destroy the entity in the other role (e.g., destroy child when parent is deleted) |
| Orphan | Leave the other participant without relation (orphan it) |