SInteractiveCurveEditorView

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

Inheritance Hierarchy

References

   
Module CurveEditor
Header /Engine/Source/Editor/CurveEditor/Public/Views/SInteractiveCurveEditorView.h
Include #include "Views/SInteractiveCurveEditorView.h"

Syntax

class SInteractiveCurveEditorView : public [SCurveEditorView](API\Editor\CurveEditor\SCurveEditorView)  

Variables

Type Name Description
FLinearColor BackgroundTint Background tint for this widget

Functions

Type Name Description
void BuildContextMenu ( FMenuBuilder& MenuBuilder, TOptional< FCurvePointHandle > Clic..., TOptional< FCurveModelID > HoveredC... )  
void Construct ( const FArguments& InArgs, TWeakPtr< FCurveEditor > InCurveEdi... )  
void DrawBackground ( const FGeometry& AllottedGeometry, FSlateWindowElementList& OutDrawEl..., int32 BaseLayerId, ESlateDrawEffect DrawEffects )  
void DrawBufferedCurves ( TSharedRef< FCurveEditor > CurveEdi..., const FGeometry& AllottedGeometry, const FSlateRect& MyCullingRect, FSlateWindowElementList& OutDrawEl..., int32 BaseLayerId, const FWidgetStyle& InWidgetStyle, ESlateDrawEffect DrawEffects )  
void DrawCurves ( TSharedRef< FCurveEditor > CurveEdi..., const FGeometry& AllottedGeometry, const FSlateRect& MyCullingRect, FSlateWindowElementList& OutDrawEl..., int32 BaseLayerId, const FWidgetStyle& InWidgetStyle, ESlateDrawEffect DrawEffects )  
void DrawGridLines ( TSharedRef< FCurveEditor > CurveEdi..., const FGeometry& AllottedGeometry, FSlateWindowElementList& OutDrawEl..., int32 BaseLayerId, ESlateDrawEffect DrawEffects )  
FText FormatToolTipCurveName ( const FCurveModel& CurveModel )  
FText FormatToolTipTime ( const FCurveModel& CurveModel, double EvaluatedTime )  
FText FormatToolTipValue ( const FCurveModel& CurveModel, double EvaluatedValue )  
FText GetCurveCaption ()  
FSlateColor GetCurveCaptionColor ()  
void PaintView ( const FPaintArgs& Args, const FGeometry& AllottedGeometry, const FSlateRect& MyCullingRect, FSlateWindowElementList& OutDrawEl..., int32 BaseLayerId, const FWidgetStyle& InWidgetStyle, bool bParentEnabled )  

Overridden from SCurveEditorView

Type Name Description
bool GetCurveWithinWidgetRange ( const FSlateRect& WidgetRectangle, TArray< FCurvePointHandle >* O... ) Retrieve all the curve points, if any of the interpolating points overlap the specified rectangle in widget space
void GetGridLinesX ( TSharedRef< const FCurveEditor > Cu..., TArray< float >& MajorGridLines, TArray< float >& MinorGridLines, TArray< FText >* MajorGridLabe... )  
void GetGridLinesY ( TSharedRef< const FCurveEditor > Cu..., TArray< float >& MajorGridLines, TArray< float >& MinorGridLines, TArray< FText >* MajorGridLabe... )  
TOptional< F... GetHoveredCurve () Retrieve the id of the hovered curve
bool GetPointsWithinWidgetRange ( const FSlateRect& WidgetRectangle, TArray< FCurvePointHandle >* O... ) Retrieve all the curve points that overlap the specified rectangle in widget space

Overridden from SWidget

Type Name Description
FReply OnMouseButtonDown ( const FGeometry& MyGeometry, const FPointerEvent& MouseEvent ) MOUSE INPUT The system calls this method to notify the widget that a mouse button was pressed within it.
FReply OnMouseButtonUp ( const FGeometry& MyGeometry, const FPointerEvent& MouseEvent ) The system calls this method to notify the widget that a mouse button was release within it.
void OnMouseEnter ( const FGeometry& MyGeometry, const FPointerEvent& MouseEvent ) The system will use this event to notify a widget that the cursor has entered it.
void OnMouseLeave ( const FPointerEvent& MouseEvent ) The system will use this event to notify a widget that the cursor has left it.
FReply OnMouseMove ( const FGeometry& MyGeometry, const FPointerEvent& MouseEvent ) The system calls this method to notify the widget that a mouse moved within it.
FReply OnMouseWheel ( const FGeometry& MyGeometry, const FPointerEvent& MouseEvent ) Called when the mouse wheel is spun. This event is bubbled.
int32 OnPaint ( const FPaintArgs& Args, const FGeometry& AllottedGeometry, const FSlateRect& MyCullingRect, FSlateWindowElementList& OutDrawEl..., int32 LayerId, const FWidgetStyle& InWidgetStyle, bool bParentEnabled ) The widget should respond by populating the OutDrawElements array with FDrawElements that represent it and any of its children.

Classes

Type Name Description
Public struct FArguments  

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library