Navigation
API > API/Plugins > API/Plugins/ModelingComponents
Mechanic that can be added to (potentially multiple) UCombinedTransformGizmo object to allow them to snap to scene geometry in rotation and translation when the Ctrl key is pressed.
| Name | UDragAlignmentMechanic |
| Type | class |
| Header File | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/Mechanics/DragAlignmentMechanic.h |
| Include Path | #include "Mechanics/DragAlignmentMechanic.h" |
Syntax
UCLASS (MinimalAPI)
class UDragAlignmentMechanic :
public UInteractionMechanic ,
public FDragAlignmentBase ,
public IModifierToggleBehaviorTarget
Inheritance Hierarchy
- FDragAlignmentBase → UDragAlignmentMechanic
- UObjectBase → UObjectBaseUtility → UObject → UInteractionMechanic → UDragAlignmentMechanic