FCurveEditor::GetGridLinesX

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

Unreal Engine C++ API Reference > Editor > CurveEditor > FCurveEditor

References

   
Module CurveEditor
Header /Engine/Source/Editor/CurveEditor/Public/CurveEditor.h
Include #include "CurveEditor.h"
virtual void GetGridLinesX
(
    [TArray](API\Runtime\Core\Containers\TArray)< float > & MajorGridLines,
    [TArray](API\Runtime\Core\Containers\TArray)< float > & MinorGridLines,
    [TArray](API\Runtime\Core\Containers\TArray)< [FText](API\Runtime\Core\Internationalization\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.


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library