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
Remarks
Utility struct that acts as a way to control snapping to a specific axis based on UI settings, or shift key.
Variables
| Type | Name | Description | |
|---|---|---|---|
| EAxisList::Type | RestrictedAxisList | Can be set to either X, Y, or None to control which axis GetSnappedPosition snaps to. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| FVector2D | GetSnappedPosition
(
FVector2D InitialPosition, |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FSnapState | Snapping is not stateless but we want to manage it through the central area. |