Navigation
Unreal Engine C++ API Reference > 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 |