Navigation
API > API/Editor > API/Editor/UnrealEd
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Public/SnappingUtils.h |
| Include | #include "SnappingUtils.h" |
Syntax
class FSnappingUtils
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | ClearSnappingHelpers
(
bool bClearImmediately |
Clears all vertices being drawn to help a user snap | |
| void | DrawSnappingHelpers
(
const FSceneView* View, |
Draws snapping helpers | |
| void | EnableActorSnap
(
bool bEnable |
Set user setting for actor snap. | |
| float | GetActorSnapDistance
(
bool bScalar |
Access user setting for distance. Fractional 0.0->100.0 | |
| void | Initialize the snapping system | ||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| void | SetActorSnapDistance
(
float Distance |
Set user setting for distance. Fractional 0.0->100.0 | |
| bool | SnapActorsToNearestActor
(
FVector& DragDelta, |
Attempts to snap the selected actors to the nearest other actor | |
| bool | SnapDraggedActorsToNearestVertex
(
FVector& DragDelta, |
Snaps actors to the nearest vertex on another actor | |
| bool | SnapDragLocationToNearestVertex
(
const FVector& BaseLocation, |
Snaps a delta drag movement to the nearest vertex | |
| bool | SnapLocationToNearestVertex
(
FVector& Location, |
Snaps a location to the nearest vertex | |
| void | SnapPointToGrid
(
FVector& Point, |
Snaps a point value to the positional grid | |
| void | SnapRotatorToGrid
(
FRotator& Rotation |
Snaps a rotator to the rotational grid | |
| void | SnapScale
(
FVector& Point, |
Snaps a scale value to the scale grid | |
| bool | SnapToBSPVertex
(
FVector& Location, |
Constants
| Name | Description |
|---|---|
| EditorViewportSnapper | Built-in editor snap implementation |