Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/Widgets > API/Runtime/Slate/Widgets/Input > API/Runtime/Slate/Widgets/Input/SSlider
Inheritance Hierarchy
- FSlateBaseNamedArgs
- TSlateBaseNamedArgs
- SSlider::FArguments
References
| Module | Slate |
| Header | /Engine/Source/Runtime/Slate/Public/Widgets/Input/SSlider.h |
| Include | #include "Widgets/Input/SSlider.h" |
Syntax
struct FArguments : public TSlateBaseNamedArgs< SSlider >
Constructors
| Type | Name | Description | |
|---|---|---|---|
FArguments () |
Functions
| Type | Name | Description | |
|---|---|---|---|
| WidgetArgsType & | IndentHandle
(
const TAttribute< bool >& InAttribute |
Whether the slidable area should be indented to fit the handle. | |
| WidgetArgsType & | IsFocusable
(
bool InArg |
Sometimes a slider should only be mouse-clickable and never keyboard focusable. | |
| WidgetArgsType & | Locked
(
const TAttribute< bool >& InAttribute |
Whether the handle is interactive or fixed. | |
| WidgetArgsType & | MaxValue
(
float InArg |
The maximum value that can be specified by using the slider. | |
| WidgetArgsType & | MinValue
(
float InArg |
The minimum value that can be specified by using the slider. | |
| WidgetArgsType & | MouseUsesStep
(
bool InArg |
Sets new value if mouse position is greater/less than half the step size. | |
| WidgetArgsType & | OnControllerCaptureBegin
(
const FSimpleDelegate& InDelegate |
Invoked when the Controller is pressed and capture begins. | |
| WidgetArgsType & | OnControllerCaptureEnd
(
const FSimpleDelegate& InDelegate |
Invoked when the controller capture is released. | |
| WidgetArgsType & | OnMouseCaptureBegin
(
const FSimpleDelegate& InDelegate |
Invoked when the mouse is pressed and a capture begins. | |
| WidgetArgsType & | OnMouseCaptureEnd
(
const FSimpleDelegate& InDelegate |
Invoked when the mouse is released and a capture ends. | |
| WidgetArgsType & | OnValueChanged
(
const FOnFloatValueChanged& InDelegate |
Called when the value is changed by the slider. | |
| WidgetArgsType & | Orientation
(
EOrientation InArg |
The slider's orientation. | |
| WidgetArgsType & | RequiresControllerLock
(
bool InArg |
Sets whether we have to lock input to change the slider value. | |
| WidgetArgsType & | SliderBarColor
(
const TAttribute< FSlateColor >& InAttribute |
The color to draw the slider bar in. | |
| WidgetArgsType & | SliderHandleColor
(
const TAttribute< FSlateColor >& InAttribute |
The color to draw the slider handle in. | |
| WidgetArgsType & | StepSize
(
const TAttribute< float >& InAttribute |
The input mode while using the controller. | |
| WidgetArgsType & | Style
(
const FSliderStyle* InArg |
The style used to draw the slider. | |
| WidgetArgsType & | Value
(
const TAttribute< float >& InAttribute |
A value that drives where the slider handle appears. Value is normalized between 0 and 1. |
Typedefs
| Name | Description |
|---|---|
| WidgetArgsType |