unreal.AttachmentRule¶
- class unreal.AttachmentRule¶
Bases:
EnumBaseRules for attaching components - needs to be kept synced to EDetachmentRule
C++ Source:
Module: Engine
File: EngineTypes.h
- KEEP_RELATIVE: AttachmentRule = Ellipsis¶
Keeps current relative transform as the relative transform to the new parent.
- Type:
0
- KEEP_WORLD: AttachmentRule = Ellipsis¶
Automatically calculates the relative transform such that the attached component maintains the same world transform.
- Type:
1
- SNAP_TO_TARGET: AttachmentRule = Ellipsis¶
Snaps transform to the attach point
- Type:
2