Navigation
API > API/Runtime > API/Runtime/Engine
Rules for detaching components - needs to be kept synced to EAttachmentRule
| Name | EDetachmentRule |
| Type | enum |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/EngineTypes.h |
| Include Path | #include "Engine/EngineTypes.h" |
Syntax
enum EDetachmentRule
{
KeepRelative,
KeepWorld,
}
Values
| Name | Remarks |
|---|---|
| KeepRelative | Keeps current relative transform. |
| KeepWorld | Automatically calculates the relative transform such that the detached component maintains the same world transform. |