FSnappingUtils::SnapDraggedActorsToNearestVertex

Snaps actors to the nearest vertex on another actor

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/SnappingUtils.h

Include

#include "SnappingUtils.h"

Source

/Engine/Source/Editor/UnrealEd/Private/SnappingUtils.cpp

Syntax

static bool SnapDraggedActorsToNearestVertex
(
    FVector & DragDelta,
    FLevelEditorViewportClient * ViewportClient
)

Remarks

Snaps actors to the nearest vertex on another actor

Returns

true if anything was snapped

Parameters

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss