FCurveEditor::GetGridLinesX

Called by [SCurveEditorPanel](API\Editor\CurveEditor\SCurveEditorPanel) to determine where to draw grid lines along the X-axis.

Windows
MacOS
Linux

References

Module

CurveEditor

Header

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

Include

#include "CurveEditor.h"

Syntax

virtual void GetGridLinesX
(
    TArray< float > & MajorGridLines,
    TArray< float > & MinorGridLines,
    TArray< FText > * MajorGridLabels
) const

Remarks

Called by SCurveEditorPanel to determine where to draw grid lines along the X-axis. This allows synchronization with an external data source (such as Sequencer's Timeline ticker). A similar function for the Y grid lines is not provided due to the Curve Editor's ability to have multiple views with repeated gridlines and values.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss