Navigation
API > API/Plugins > API/Plugins/CommonUI
A Slate slider control is a linear scale and draggable handle.
| Name | SAnalogSlider |
| Type | class |
| Header File | /Engine/Plugins/Runtime/CommonUI/Source/CommonUI/Public/SAnalogSlider.h |
| Include Path | #include "SAnalogSlider.h" |
Syntax
class SAnalogSlider : public SSlider
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → SWidget → SLeafWidget → SSlider → SAnalogSlider
- FSlateControlledConstruction → SWidget → SLeafWidget → SSlider → SAnalogSlider
Structs
| Name | Remarks |
|---|---|
| FArguments |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIsUsingGamepad | bool | SAnalogSlider.h | ||
| LastAnalogStepTime | double | The last app time we stepped with analog input | SAnalogSlider.h | |
| OnAnalogCapture | FOnFloatValueChanged | Holds a delegate that is executed when the mouse is let up and a capture ends. | SAnalogSlider.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Construct
(
const SAnalogSlider::FArguments& InDeclaration |
Construct the widget. | SAnalogSlider.h | |
void SetUsingGamepad
(
bool InUsingGamepad |
SAnalogSlider.h |
Overridden from SWidget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FReply OnAnalogValueChanged
(
const FGeometry& MyGeometry, |
SAnalogSlider.h | ||
virtual FReply OnMouseButtonDown
(
const FGeometry& MyGeometry, |
Input overrides, for adding controller input to the slider. | SAnalogSlider.h | |
virtual FReply OnMouseButtonUp
(
const FGeometry& MyGeometry, |
SAnalogSlider.h | ||
virtual FNavigationReply OnNavigation
(
const FGeometry& MyGeometry, |
SAnalogSlider.h |