Navigation
API > API/Runtime > API/Runtime/Engine
Rules for attaching components
| Name | FAttachmentTransformRules |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/EngineTypes.h |
| Include Path | #include "Engine/EngineTypes.h" |
Syntax
struct FAttachmentTransformRules
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FAttachmentTransformRules
(
EAttachmentRule InRule, |
Engine/EngineTypes.h | ||
FAttachmentTransformRules
(
EAttachmentRule InLocationRule, |
Engine/EngineTypes.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| KeepRelativeTransform | FAttachmentTransformRules | Various preset attachment rules. | Engine/EngineTypes.h |
| KeepWorldTransform | FAttachmentTransformRules | Engine/EngineTypes.h | |
| SnapToTargetIncludingScale | FAttachmentTransformRules | Engine/EngineTypes.h | |
| SnapToTargetNotIncludingScale | FAttachmentTransformRules | Engine/EngineTypes.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bWeldSimulatedBodies | bool | Whether to weld simulated bodies together when attaching | Engine/EngineTypes.h | |
| LocationRule | EAttachmentRule | The rule to apply to location when attaching | Engine/EngineTypes.h | |
| RotationRule | EAttachmentRule | The rule to apply to rotation when attaching | Engine/EngineTypes.h | |
| ScaleRule | EAttachmentRule | The rule to apply to scale when attaching | Engine/EngineTypes.h |