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