Navigation
API > API/Plugins > API/Plugins/GameplayInsights
Inheritance Hierarchy
- SCompoundWidget
- SCompoundWidget
- SCurveTimelineView
References
| Module | GameplayInsights |
| Header | /Engine/Plugins/Animation/GameplayInsights/Source/GameplayInsights/Public/SCurveTimelineView.h |
| Include | #include "SCurveTimelineView.h" |
Syntax
class SCurveTimelineView :
public SCompoundWidget,
public SCompoundWidget
Remarks
IMPORTANT: This code is duplicated and slighlty modified from Plugins/Animation/GameplayInsights. The original widget code is supposed to make its way into ToolWidgets at which point this duplicate code should be removed.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bUseFixedRange | ||
| TAttribute< FLinearColor > | CurveColor | ||
| TAttribute< TSharedPtr< FTimelineCurveData > > | CurveData | ||
| TSharedPtr< SToolTip > | CurveToolTip | ||
| FText | CurveToolTipInputText | The tooltip control for the curve. | |
| FText | CurveToolTipOutputText | ||
| TAttribute< FVector2D > | DesiredSize | ||
| const FSlateBrush * | FillBrush | ||
| TAttribute< FLinearColor > | FillColor | ||
| float | FixedRangeMax | ||
| float | FixedRangeMin | ||
| TAttribute< bool > | RenderFill | ||
| TAttribute< TRange< double > > | ViewRange | ||
| const FSlateBrush * | WhiteBrush |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Construct
(
const FArguments& InArgs |
Construct the widget | |
| void | Construct
(
const FArguments& InArgs |
Construct the widget | |
| FText | |||
| FText | |||
| int32 | PaintCurve
(
const FGeometry& AllottedGeometry, |
||
| int32 | PaintCurve
(
const FGeometry& AllottedGeometry, |
||
| void | SetFixedRange
(
float Min, |
Render the curve with a fixed min/max range, rather than using the min/max from data | |
| void | SetFixedRange
(
float Min, |
Render the curve with a fixed min/max range, rather than using the min/max from data | |
| void | UpdateCurveToolTip
(
const FGeometry& MyGeometry, |
Overridden from SWidget
| Type | Name | Description | |
|---|---|---|---|
| FVector2D | ComputeDesiredSize
(
float LayoutScaleMultiplier |
Compute the ideal size necessary to display this widget. | |
| FVector2D | ComputeDesiredSize
(
float LayoutScaleMultiplier |
Compute the ideal size necessary to display this widget. | |
| FReply | OnMouseMove
(
const FGeometry& MyGeometry, |
The system calls this method to notify the widget that a mouse moved within it. | |
| int32 | OnPaint
(
const FPaintArgs& Args, |
The widget should respond by populating the OutDrawElements array with FDrawElements that represent it and any of its children. | |
| int32 | OnPaint
(
const FPaintArgs& Args, |
The widget should respond by populating the OutDrawElements array with FDrawElements that represent it and any of its children. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FArguments | |||
| FTimelineCurveData |