Navigation
Unreal Engine C++ API Reference > Editor > ViewportSnapping
References
Module | ViewportSnapping |
Header | /Engine/Source/Editor/ViewportSnapping/Public/ISnappingPolicy.h |
Include | #include "ISnappingPolicy.h" |
Syntax
class ISnappingPolicy
Destructors
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
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 | 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 |