Module |
|
Header |
/Engine/Source/Editor/UnrealEd/Public/SnappingUtils.h |
Include |
#include "SnappingUtils.h" |
Source |
/Engine/Source/Editor/UnrealEd/Private/SnappingUtils.cpp |
Snaps a location to the nearest vertex
true if anything was snapped
Parameter |
Description |
---|---|
Location |
The location to snap |
MouseLocation |
The current 2d mouse location. Vertices closer to the mouse are favored |
ViewportClient |
The viewport client being used |
OutVertexNormal |
The normal at the closest vertex |