Module |
|
Header |
/Engine/Source/Editor/UnrealEd/Public/SnappingUtils.h |
Include |
#include "SnappingUtils.h" |
Source |
/Engine/Source/Editor/UnrealEd/Private/SnappingUtils.cpp |
static bool SnapDraggedActorsToNearestVertex
(
FVector & DragDelta,
FLevelEditorViewportClient * ViewportClient
)
Snaps actors to the nearest vertex on another actor
true if anything was snapped
Parameter |
Description |
---|---|
DragDelta |
The current world space drag amount that will be modified to account for snapping to a vertex |
ViewportClient |
The viewport client the user is dragging in |