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 SnapDraggedActorsToNearestVertex
&40;
FVector & DragDelta,
FLevelEditorViewportClient &42; ViewportClient
&41;
Remarks
Snaps actors to the nearest vertex on another actor true if anything was snapped
Parameters
Name | 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 |