Navigation
API > API/Editor > API/Editor/CurveEditor
| Name | FCurveSnapMetrics |
| Type | struct |
| Header File | /Engine/Source/Editor/CurveEditor/Public/CurveEditorSnapMetrics.h |
| Include Path | #include "CurveEditorSnapMetrics.h" |
Syntax
struct FCurveSnapMetrics
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FCurveSnapMetrics() |
CurveEditorSnapMetrics.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AllGridLines | TArray< double > | Grid lines to snap to | CurveEditorSnapMetrics.h | |
| bSnapInputValues | uint8 | Whether we are snapping to the input snap rate | CurveEditorSnapMetrics.h | |
| bSnapOutputValues | uint8 | Whether we are snapping to the output snap interval | CurveEditorSnapMetrics.h | |
| InputSnapRate | FFrameRate | The input snap rate | CurveEditorSnapMetrics.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
double SnapInputSeconds
(
double InputTime |
Snap the specified input time to the input snap rate if necessary | CurveEditorSnapMetrics.h | |
double SnapOutput
(
double OutputValue |
Snap the specified output value to the output snap interval if necessary | CurveEditorSnapMetrics.h |