Module |
|
Header |
/Engine/Source/Runtime/Slate/Public/Widgets/Input/SSlider.h |
Include |
#include "Widgets/Input/SSlider.h" |
class SSlider : public SLeafWidget
A Slate slider control is a linear scale and draggable handle.
Name | Description | ||
---|---|---|---|
|
bControllerInputCaptured |
Holds a flag indicating whether a controller/keyboard is manipulating the slider's value. |
|
|
bIsFocusable |
When true, this slider will be keyboard focusable. Defaults to false. |
|
|
bMouseUsesStep |
Sets new value if mouse position is greater/less than half the step size. |
|
|
bRequiresControllerLock |
Sets whether we have to lock input to change the slider value. |
|
|
CachedCursor |
Holds the initial cursor in case a custom cursor has been specified, so we can restore it after dragging the slider. |
|
|
TAttribute< boo... |
IndentHandle |
Holds a flag indicating whether the slideable area should be indented to fit the handle. |
|
TAttribute< boo... |
LockedAttribute |
Holds a flag indicating whether the slider is locked. |
|
float |
MaxValue |
|
|
float |
MinValue |
|
|
Orientation |
Holds the slider's orientation. |
|
|
PressedScreenSpaceTouchDownPosition |
The location in screenspace the slider was pressed by a touch |
|
|
TAttribute< FSl... |
SliderBarColor |
Holds the color of the slider bar. |
|
TAttribute< FSl... |
SliderHandleColor |
Holds the color of the slider handle. |
|
TAttribute< flo... |
StepSize |
Holds the amount to adjust the value by when using a controller or keyboard |
|
const FSliderSt... |
Style |
Holds the style passed to the widget upon construction. |
|
TAttribute< flo... |
ValueAttribute |
Holds the slider's current value. |
Name | Description | |
---|---|---|
|
SSlider() |
Name | Description | ||
---|---|---|---|
|
CommitValue ( |
Commits the specified slider value. |
|
|
Construct ( |
Construct the widget. |
|
|
const FSlate... |
GetBarImage() |
|
|
float |
GetMaxValue() |
Get the MaxValue attribute |
|
float |
GetMinValue() |
Get the MinValue attribute |
|
float |
GetNormalizedValue() |
Get the Value attribute scaled from 0 to 1 |
|
float |
GetStepSize() |
Get the StepSize attribute |
|
const FSlate... |
GetThumbImage() |
|
|
float |
GetValue() |
Get the Value attribute |
|
IsLocked() |
||
|
float |
PositionToValue |
Calculates the new value based on the given absolute coordinates. |
|
SetIndentHandle ( |
Set the IndentHandle attribute |
|
|
SetLocked ( |
Set the Locked attribute |
|
|
SetMinAndMaxValues ( |
Set the MinValue and MaxValue attributes. |
|
|
SetMouseUsesStep ( |
Set the MouseUsesStep attribute |
|
|
SetOrientation ( |
Set the Orientation attribute |
|
|
SetRequiresControllerLock ( |
Set the RequiresControllerLock attribute |
|
|
SetSliderBarColor ( |
Set the SliderBarColor attribute |
|
|
SetSliderHandleColor ( |
Set the SliderHandleColor attribute |
|
|
SetStepSize ( |
Set the StepSize attribute |
|
|
SetValue ( |
Set the Value attribute |
Name | Description | ||
---|---|---|---|
|
ComputeDesiredSize ( |
Overwritten from SWidget. |
|
|
TSharedRef< ... |
CreateAccessibleWidget() |
|
|
IsInteractable() |
||
|
OnFocusLost ( |
Called when this widget loses focus. This event does not bubble. |
|
|
OnKeyDown |
Called after a key is pressed when this widget has focus (this event bubbles if not handled) |
|
|
OnKeyUp |
Called after a key is released when this widget has focus |
|
|
OnMouseButtonDown ( |
MOUSE INPUT The system calls this method to notify the widget that a mouse button was pressed within it. |
|
|
OnMouseButtonUp ( |
The system calls this method to notify the widget that a mouse button was release within it. |
|
|
OnMouseMove ( |
The system calls this method to notify the widget that a mouse moved within it. |
|
|
FNavigationR... |
OnNavigation ( |
Called when navigation is requested e.g. Left Joystick, Direction Pad, Arrow Keys can generate navigation events. |
|
OnPaint ( |
Overwritten from SWidget. |
|
|
OnTouchEnded ( |
Called when a touchpad touch is ended (finger lifted) |
|
|
OnTouchMoved ( |
Called when a touchpad touch is moved (finger moved) |
|
|
OnTouchStarted ( |
Called when a touchpad touch is started (finger down) |
|
|
SupportsKeyboardFocus() |
Checks to see if this widget supports keyboard focus. Override this in derived classes. |
Name |
Description |
|
---|---|---|
|
FArguments |