unreal.AttachLocation¶
- class unreal.AttachLocation¶
Bases:
EnumBaseDeprecated rules for setting transform on attachment, new functions should use FAttachmentTransformRules isntead
C++ Source:
Module: Engine
File: EngineTypes.h
- KEEP_RELATIVE_OFFSET: AttachLocation = Ellipsis¶
Keeps current relative transform as the relative transform to the new parent.
- Type:
0
- KEEP_WORLD_POSITION: AttachLocation = Ellipsis¶
Automatically calculates the relative transform such that the attached component maintains the same world transform.
- Type:
1
- SNAP_TO_TARGET: AttachLocation = Ellipsis¶
Snaps location and rotation to the attach point. Calculates the relative scale so that the final world scale of the component remains the same.
- Type:
2
- SNAP_TO_TARGET_INCLUDING_SCALE: AttachLocation = Ellipsis¶
Snaps entire transform to target, including scale.
- Type:
3