Navigation
API > API/Editor > API/Editor/CurveEditor > API/Editor/CurveEditor/FCurveEditorAxisSnap
Snapping is not stateless but we want to manage it through the central area. This allows state to be passed into from the calling area but still centralize the logic of handling it.
| Name | FSnapState |
| Type | struct |
| Header File | /Engine/Source/Editor/CurveEditor/Public/CurveEditorSnapMetrics.h |
| Include Path | #include "CurveEditorSnapMetrics.h" |
Syntax
struct FSnapState
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSnapState() |
CurveEditorSnapMetrics.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bHasPassedThreshold | bool | CurveEditorSnapMetrics.h | ||
| bHasStartPosition | bool | CurveEditorSnapMetrics.h | ||
| MouseLockVector | FVector2D | CurveEditorSnapMetrics.h | ||
| MousePosOnShiftStart | FVector2D | CurveEditorSnapMetrics.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Reset() |
CurveEditorSnapMetrics.h |