FCurveSnapMetrics

Choose your operating system:

Windows

macOS

Linux

References

Module

CurveEditor

Header

/Engine/Source/Editor/CurveEditor/Public/CurveEditorSnapMetrics.h

Include

#include "CurveEditorSnapMetrics.h"

Syntax

struct FCurveSnapMetrics

Variables

Name Description

Public variable

TArray< double ...

 

AllGridLines

Grid lines to snap to

Public variable

uint8: 1

 

bSnapInputValues

Whether we are snapping to the input snap rate

Public variable

uint8: 1

 

bSnapOutputValues

Whether we are snapping to the output snap interval

Public variable

FFrameRate

 

InputSnapRate

The input snap rate

Constructors

Name Description

Public function

FCurveSnapMetrics()

Functions

Name Description

Public function

double

 

SnapInputSeconds

(
    double InputTime
)

Snap the specified input time to the input snap rate if necessary

Public function

double

 

SnapOutput

(
    double OutputValue
)

Snap the specified output value to the output snap interval if necessary