Navigation
API > API/Runtime > API/Runtime/Engine
Rules for detaching components
| Name | FDetachmentTransformRules |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/EngineTypes.h |
| Include Path | #include "Engine/EngineTypes.h" |
Syntax
struct FDetachmentTransformRules
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FDetachmentTransformRules
(
EDetachmentRule InRule, |
Engine/EngineTypes.h | ||
FDetachmentTransformRules
(
const FAttachmentTransformRules& AttachmentRules, |
Engine/EngineTypes.h | ||
FDetachmentTransformRules
(
EDetachmentRule InLocationRule, |
Engine/EngineTypes.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| KeepRelativeTransform | FDetachmentTransformRules | Various preset detachment rules | Engine/EngineTypes.h |
| KeepWorldTransform | FDetachmentTransformRules | Engine/EngineTypes.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bCallModify | bool | Whether to call Modify() on the components concerned when detaching | Engine/EngineTypes.h | |
| LocationRule | EDetachmentRule | The rule to apply to location when detaching | Engine/EngineTypes.h | |
| RotationRule | EDetachmentRule | The rule to apply to rotation when detaching | Engine/EngineTypes.h | |
| ScaleRule | EDetachmentRule | The rule to apply to scale when detaching | Engine/EngineTypes.h |