Navigation
API > API/Plugins > API/Plugins/ModelingComponents > API/Plugins/ModelingComponents/UDragAlignmentInteraction
Description
Client can call this on setup to connect the interaction to an external Key behavior. This function is hardcoded to register the the Ctrl key as the modifier that drives the snapping toggle
| Name | RegisterAsBehaviorTarget |
| Type | function |
| Header File | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/Mechanics/DragAlignmentMechanic.h |
| Include Path | #include "Mechanics/DragAlignmentMechanic.h" |
| Source | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Private/Mechanics/DragAlignmentMechanic.cpp |
virtual void RegisterAsBehaviorTarget
(
UKeyAsModifierInputBehavior * KeyModifierBehavior
)