Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/FSnappingUtils
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Public/SnappingUtils.h |
| Include | #include "SnappingUtils.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/SnappingUtils.cpp |
static bool SnapActorsToNearestActor
&40;
FVector & DragDelta,
FLevelEditorViewportClient &42; ViewportClient
&41;
Remarks
Attempts to snap the selected actors to the nearest other actor
Parameters
| Name | Description |
|---|---|
| DragDelta | The current world space drag amount |
| ViewportClient | The viewport client the user is dragging in |