Navigation
API > API/Editor > API/Editor/KismetWidgets
| Name | SScrubWidget |
| Type | class |
| Header File | /Engine/Source/Editor/KismetWidgets/Public/SScrubWidget.h |
| Include Path | #include "SScrubWidget.h" |
Syntax
class SScrubWidget : public SCompoundWidget
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → SWidget → SCompoundWidget → SScrubWidget
- FSlateControlledConstruction → SWidget → SCompoundWidget → SScrubWidget
Structs
| Name | Remarks |
|---|---|
| FArguments |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bAllowZoom | bool | SScrubWidget.h | ||
| bDisplayAnimScrubBarEditing | bool | SScrubWidget.h | ||
| bDisplayDrag | TAttribute< bool > | SScrubWidget.h | ||
| bDragging | bool | The number of decimal places to display | SScrubWidget.h | |
| bMouseMovedDuringPanning | bool | Has the mouse moved during panning - used to determine if we should open the context menu or not | SScrubWidget.h | |
| bPanning | bool | If we are currently panning the panel | SScrubWidget.h | |
| DistanceDragged | float | Distance Dragged | SScrubWidget.h | |
| DraggableBarIndex | int32 | Bar Dragging | SScrubWidget.h | |
| DraggableBars | TAttribute< TArray< float > > | Dragagble bars are generic lines drawn on the scrub widget that can be dragged with the mouse. | SScrubWidget.h | |
| DraggingBar | bool | SScrubWidget.h | ||
| NumOfKeys | TAttribute< uint32 > | Number of Keys | SScrubWidget.h | |
| OnAddAnimSequence | FOnAddAnimSequence | SScrubWidget.h | ||
| OnAppendAnimSequence | FOnAppendAnimSequence | SScrubWidget.h | ||
| OnBarCommit | FOnScrubBarCommit | SScrubWidget.h | ||
| OnBarDrag | FOnScrubBarDrag | SScrubWidget.h | ||
| OnBeginSliderMovement | FSimpleDelegate | SScrubWidget.h | ||
| OnCropAnimSequence | FOnCropAnimSequence | SScrubWidget.h | ||
| OnEndSliderMovement | FOnFloatValueChanged | SScrubWidget.h | ||
| OnReZeroAnimSequence | FOnReZeroAnimSequence | SScrubWidget.h | ||
| OnSetInputViewRange | FOnSetInputViewRange | SScrubWidget.h | ||
| OnValueChanged | FOnFloatValueChanged | SScrubWidget.h | ||
| SequenceLength | TAttribute< float > | SScrubWidget.h | ||
| ValueAttribute | TAttribute< float > | SScrubWidget.h | ||
| ViewInputMax | TAttribute< float > | SScrubWidget.h | ||
| ViewInputMin | TAttribute< float > | SScrubWidget.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FVector2D ComputeDesiredSize
(
float |
SScrubWidget.h | ||
void Construct
(
const FArguments& InArgs |
Construct the widget | SScrubWidget.h | |
virtual FCursorReply OnCursorQuery
(
const FGeometry& MyGeometry, |
SScrubWidget.h | ||
virtual FReply OnMouseButtonDown
(
const FGeometry& MyGeometry, |
SScrubWidget.h | ||
virtual FReply OnMouseButtonUp
(
const FGeometry& MyGeometry, |
SScrubWidget.h | ||
virtual FReply OnMouseMove
(
const FGeometry& MyGeometry, |
SScrubWidget.h | ||
virtual FReply OnMouseWheel
(
const FGeometry& MyGeometry, |
SScrubWidget.h | ||
virtual int32 OnPaint
(
const FPaintArgs& Args, |
SScrubWidget.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void CommitValue
(
float NewValue, |
Call this method when the user's interaction has changed the value | SScrubWidget.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static int32 GetDivider
(
float InputMinX, |
SScrubWidget.h | ||
static int32 GetDivider
(
float InputMinX, |
This function is used by a few random widgets and is mostly arbitrary. It could be moved anywhere. | SScrubWidget.h |