Navigation
API > API/Editor > API/Editor/CurveEditor
| Name | SInteractiveCurveEditorView |
| Type | class |
| Header File | /Engine/Source/Editor/CurveEditor/Public/Views/SInteractiveCurveEditorView.h |
| Include Path | #include "Views/SInteractiveCurveEditorView.h" |
Syntax
class SInteractiveCurveEditorView : public SCurveEditorView
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → SWidget → SCompoundWidget → SCurveEditorView → SInteractiveCurveEditorView
- FSlateControlledConstruction → SWidget → SCompoundWidget → SCurveEditorView → SInteractiveCurveEditorView
Derived Classes
SInteractiveCurveEditorView derived class hierarchy
Structs
| Name | Remarks |
|---|---|
| FArguments | |
| FCachedToolTipData | |
| FValueIndicatorLineData |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ActiveContextMenu | TWeakPtr< IMenu > | Track if we have a context menu active. | Views/SInteractiveCurveEditorView.h | |
| bHadMouseMovesThisTick | bool | Whether DragOperation needs to have OnFinishedPointerInput called this tick. | Views/SInteractiveCurveEditorView.h | |
| bNeedsRefresh | bool | Views/SInteractiveCurveEditorView.h | ||
| CachedCurveCaption | FText | Cached curve caption, used to determine when to refresh the retainer | Views/SInteractiveCurveEditorView.h | |
| CachedCurveCaptionColor | FSlateColor | Cached curve caption color, used to determine when to refresh the retainer | Views/SInteractiveCurveEditorView.h | |
| CachedMousePosition | FVector2D | Cached location of the mouse relative to this widget each tick. | Views/SInteractiveCurveEditorView.h | |
| CachedToolTipData | TOptional< FCachedToolTipData > | Views/SInteractiveCurveEditorView.h | ||
| CurveProximities | TArray< TTuple< FCurveModelID, float > > | Array of curve proximities in slate units that's updated on mouse move. | Views/SInteractiveCurveEditorView.h | |
| DragOperation | TOptional< FCurveEditorDelayedDrag > | (Optional) the current drag operation | Views/SInteractiveCurveEditorView.h | |
| ValueIndicatorLineDrawData | TOptional< FValueIndicatorLineData > | We draw up to 2 horizontal value indicator line on the keys that a user selects. | Views/SInteractiveCurveEditorView.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void BuildContextMenu
(
FMenuBuilder& MenuBuilder, |
Views/SInteractiveCurveEditorView.h | ||
void Construct
(
const FArguments& InArgs, |
Views/SInteractiveCurveEditorView.h |
Overridden from SCurveEditorView
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void GetGridLinesX
(
TSharedRef< const FCurveEditor > CurveEditor, |
Views/SInteractiveCurveEditorView.h | ||
virtual void GetGridLinesY
(
TSharedRef< const FCurveEditor > CurveEditor, |
Views/SInteractiveCurveEditorView.h |
Overridden from SWidget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void OnMouseCaptureLost
(
const FCaptureLostEvent& CaptureLostEvent |
Views/SInteractiveCurveEditorView.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void DrawBackground
(
const FGeometry& AllottedGeometry, |
Views/SInteractiveCurveEditorView.h | ||
void DrawBufferedCurves
(
TSharedRef< FCurveEditor > CurveEditor, |
Views/SInteractiveCurveEditorView.h | ||
void DrawCurves
(
TSharedRef< FCurveEditor > CurveEditor, |
Views/SInteractiveCurveEditorView.h | ||
void DrawGridLines
(
TSharedRef< FCurveEditor > CurveEditor, |
Views/SInteractiveCurveEditorView.h | ||
void DrawValueIndicatorLines
(
TSharedRef< FCurveEditor > InCurveEditor, |
Views/SInteractiveCurveEditorView.h | ||
virtual FText FormatToolTipCurveName
(
const FCurveModel& CurveModel |
Views/SInteractiveCurveEditorView.h | ||
virtual FText FormatToolTipTime
(
const FCurveModel& CurveModel, |
Views/SInteractiveCurveEditorView.h | ||
virtual FText FormatToolTipValue
(
const FCurveModel& CurveModel, |
Views/SInteractiveCurveEditorView.h | ||
FText GetCurveCaption() |
Views/SInteractiveCurveEditorView.h | ||
FSlateColor GetCurveCaptionColor() |
Views/SInteractiveCurveEditorView.h | ||
virtual void PaintView
(
const FPaintArgs& Args, |
Views/SInteractiveCurveEditorView.h | ||
bool PickPointsToPlaceValueIndicatorLinesOn
(
const FCurveModel& InCurveModel, |
Picks which keys will have value indicator lines drawn for them. Returns true if the selection. | Views/SInteractiveCurveEditorView.h | |
void UpdatedKeysWithValueIndicatorLines
(
const FCurveEditor& InCurveEditor |
Updates the keys that will be drawn with value indicator lines. | Views/SInteractiveCurveEditorView.h |
Overridden from SCurveEditorView
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool GetCurveWithinWidgetRange
(
const FSlateRect& WidgetRectangle, |
Retrieve all the curve points, if any of the interpolating points overlap the specified rectangle in widget space | Views/SInteractiveCurveEditorView.h | |
virtual TOptional< FCurveModelID > GetHoveredCurve() |
Retrieve the id of the hovered curve | Views/SInteractiveCurveEditorView.h | |
virtual bool GetPointsWithinWidgetRange
(
const FSlateRect& WidgetRectangle, |
Retrieve all the curve points that overlap the specified rectangle in widget space | Views/SInteractiveCurveEditorView.h |
Overridden from SWidget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void OnFinishedPointerInput() |
Views/SInteractiveCurveEditorView.h | ||
virtual FReply OnMouseButtonDown
(
const FGeometry& MyGeometry, |
Views/SInteractiveCurveEditorView.h | ||
virtual FReply OnMouseButtonUp
(
const FGeometry& MyGeometry, |
Views/SInteractiveCurveEditorView.h | ||
virtual void OnMouseEnter
(
const FGeometry& MyGeometry, |
Views/SInteractiveCurveEditorView.h | ||
virtual void OnMouseLeave
(
const FPointerEvent& MouseEvent |
Views/SInteractiveCurveEditorView.h | ||
virtual FReply OnMouseMove
(
const FGeometry& MyGeometry, |
Views/SInteractiveCurveEditorView.h | ||
virtual FReply OnMouseWheel
(
const FGeometry& MyGeometry, |
Views/SInteractiveCurveEditorView.h | ||
virtual int32 OnPaint
(
const FPaintArgs& Args, |
Views/SInteractiveCurveEditorView.h | ||
virtual void Tick
(
const FGeometry& AllottedGeometry, |
Views/SInteractiveCurveEditorView.h |