Navigation
API > API/Editor > API/Editor/CurveEditor
References
| |
|
| Module |
CurveEditor |
| Header |
/Engine/Source/Editor/CurveEditor/Public/CurveEditorSnapMetrics.h |
| Include |
#include "CurveEditorSnapMetrics.h" |
Syntax
struct FCurveEditorAxisSnap
Utility struct that acts as a way to control snapping to a specific axis based on UI settings, or shift key.
Variables
Constructors
| |
Type |
Name |
Description |
 |
|
|
|
Functions
| |
Type |
Name |
Description |
 |
FVector2D |
GetSnappedPosition
(
FVector2D InitialPosition,
FVector2D LastPosition,
FVector2D CurrentPosition,
const FPointerEvent& MouseEvent,
FSnapState& InOutSnapState,
const bool bIgnoreAxisLock
)
|
|
Classes
| |
Type |
Name |
Description |
 |
FSnapState |
Snapping is not stateless but we want to manage it through the central area. |
|