SScrubWidget

Unreal Engine C++ API Reference > Editor > KismetWidgets

Inheritance Hierarchy

References

   
Module KismetWidgets
Header /Engine/Source/Editor/KismetWidgets/Public/SScrubWidget.h
Include #include "SScrubWidget.h"

Syntax

class SScrubWidget : public [SCompoundWidget](API\Runtime\SlateCore\Widgets\SCompoundWidget)  

Functions

Type Name Description
void CommitValue ( float NewValue, bool bSliderClamp, bool bCommittedFromText ) Call this method when the user's interaction has changed the value
void Construct ( const FArguments& InArgs ) Construct the widget
int32 GetDivider ( float InputMinX, float InputMaxX, FVector2D WidgetSize, float SequenceLength, int32 NumFrames ) This function is used by a few random widgets and is mostly arbitrary. It could be moved anywhere.

Overridden from SWidget

Type Name Description
FVector2D ComputeDesiredSize ( float LayoutScaleMultiplier ) Compute the ideal size necessary to display this widget.
FCursorReply OnCursorQuery ( const FGeometry& MyGeometry, const FPointerEvent& CursorEvent ) The system asks each widget under the mouse to provide a cursor. This event is bubbled.
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.
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