SInteractiveCurveEditorView

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

CurveEditor

Header

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

Include

#include "Views/SInteractiveCurveEditorView.h"

Syntax

class SInteractiveCurveEditorView : public SCurveEditorView

Variables

Name Description

Protected variable

FLinearColor

 

BackgroundTint

Background tint for this widget

Functions

Name Description

Public function

void

 

Construct

(
    const FArguments& InArgs,
    TWeakPtr< FCurveEditor > InCurveEdi...
)

Protected function Const

void

 

DrawBackground

(
    const FGeometry& AllottedGeometry,
    FSlateWindowElementList& OutDrawEl...,
    int32 BaseLayerId,
    ESlateDrawEffect DrawEffects
)

Protected function Const

void

 

DrawBufferedCurves

(
    TSharedRef< FCurveEditor > CurveEdi...,
    const FGeometry& AllottedGeometry,
    const FSlateRect& MyCullingRect,
    FSlateWindowElementList& OutDrawEl...,
    int32 BaseLayerId,
    const FWidgetStyle& InWidgetStyle,
    ESlateDrawEffect DrawEffects
)

Protected function Const

void

 

DrawCurves

(
    TSharedRef< FCurveEditor > CurveEdi...,
    const FGeometry& AllottedGeometry,
    const FSlateRect& MyCullingRect,
    FSlateWindowElementList& OutDrawEl...,
    int32 BaseLayerId,
    const FWidgetStyle& InWidgetStyle,
    ESlateDrawEffect DrawEffects
)

Protected function Const

void

 

DrawGridLines

(
    TSharedRef< FCurveEditor > CurveEdi...,
    const FGeometry& AllottedGeometry,
    FSlateWindowElementList& OutDrawEl...,
    int32 BaseLayerId,
    ESlateDrawEffect DrawEffects
)

Protected function Const

FText

 

GetCurveCaption()

Protected function Const

FSlateColor

 

GetCurveCaptionColor()

Protected function Virtual Const

void

 

PaintView

(
    const FPaintArgs& Args,
    const FGeometry& AllottedGeometry,
    const FSlateRect& MyCullingRect,
    FSlateWindowElementList& OutDrawEl...,
    int32 BaseLayerId,
    const FWidgetStyle& InWidgetStyle,
    bool bParentEnabled
)

Overridden from SCurveEditorView

Name Description

Public function Virtual Const

void

 

GetGridLinesX

(
    TSharedRef< const FCurveEditor > Cu...,
    TArray< float >& MajorGridLines,
    TArray< float >& MinorGridLines,
    TArray< FText >* MajorGridLabe...
)

Public function Virtual Const

void

 

GetGridLinesY

(
    TSharedRef< const FCurveEditor > Cu...,
    TArray< float >& MajorGridLines,
    TArray< float >& MinorGridLines,
    TArray< FText >* MajorGridLabe...
)

Protected function Virtual Const

void

 

GetPointsWithinWidgetRange

(
    const FSlateRect& WidgetRectangle,
    TArray< FCurvePointHandle >* O...
)

Retrieve all the curve points that overlap the specified rectangle in widget space

Overridden from SWidget

Name Description

Protected function Virtual

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.

Protected function Virtual

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.

Protected function Virtual

void

 

OnMouseEnter

(
    const FGeometry& MyGeometry,
    const FPointerEvent& MouseEvent
)

The system will use this event to notify a widget that the cursor has entered it.

Protected function Virtual

void

 

OnMouseLeave

(
    const FPointerEvent& MouseEvent
)

The system will use this event to notify a widget that the cursor has left it.

Protected function Virtual

FReply

 

OnMouseMove

(
    const FGeometry& MyGeometry,
    const FPointerEvent& MouseEvent
)

The system calls this method to notify the widget that a mouse moved within it.

Protected function Virtual

FReply

 

OnMouseWheel

(
    const FGeometry& MyGeometry,
    const FPointerEvent& MouseEvent
)

Called when the mouse wheel is spun. This event is bubbled.

Protected function Virtual Const

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.

Protected function Virtual

void

 

Tick

(
    const FGeometry& AllottedGeometry,
    const double InCurrentTime,
    const float InDeltaTime
)

Ticks this widget with Geometry.

Classes

Name

Description

Public struct

FArguments

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