Navigation
Unreal Engine C++ API Reference > Plugins > Synthesis > UI
Inheritance Hierarchy
- FSlateControlledConstruction
- TSharedFromThis
- SWidget
- SLeafWidget
- SSynth2DSlider
References
Module | Synthesis |
Header | /Engine/Plugins/Runtime/Synthesis/Source/Synthesis/Public/UI/SSynth2DSlider.h |
Include | #include "UI/SSynth2DSlider.h" |
Syntax
class SSynth2DSlider : public SLeafWidget
Remarks
A Slate slider control is a linear scale and draggable handle.
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | CommitValue
(
float NewValueX, |
Commits the specified slider value. |
![]() |
void | Construct
(
const SSynth2DSlider::FArguments& InDeclaration |
Construct the widget. |
![]() ![]() |
float | GetValueX () |
See the Value attribute |
![]() ![]() |
float | GetValueY () |
|
![]() ![]() |
bool | IsLocked () |
|
![]() |
FVector2D | PositionToValue
(
const FGeometry& MyGeometry, |
Calculates the new value based on the given absolute coordinates. |
![]() |
void | SetIndentHandle
(
const TAttribute< bool >& InIndentHandle |
See the IndentHandle attribute |
![]() |
void | SetLocked
(
const TAttribute< bool >& InLocked |
See the Locked attribute |
![]() |
void | SetOrientation
(
EOrientation InOrientation |
See the Orientation attribute |
![]() |
void | SetSliderBarColor
(
FSlateColor InSliderBarColor |
See the SliderBarColor attribute |
![]() |
void | SetSliderHandleColor
(
FSlateColor InSliderHandleColor |
See the SliderHandleColor attribute |
![]() |
void | SetStepSize
(
const TAttribute< float >& InStepSize |
See the StepSize attribute |
![]() |
void | SetValueX
(
const TAttribute< float >& InValueAttribute |
See the Value attribute |
![]() |
void | SetValueY
(
const TAttribute< float >& InValueAttribute |
Overridden from SWidget
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
FVector2D | ComputeDesiredSize
(
float |
Overwritten from SWidget. |
![]() ![]() ![]() |
bool | ||
![]() ![]() |
void | OnFocusLost
(
const FFocusEvent& InFocusEvent |
Called when this widget loses focus. This event does not bubble. |
![]() ![]() |
FReply | Called after a key is pressed when this widget has focus (this event bubbles if not handled) | |
![]() ![]() |
FReply | Called after a key is released when this widget has focus | |
![]() ![]() |
FReply | OnMouseButtonDown
(
const FGeometry& MyGeometry, |
MOUSE INPUT The system calls this method to notify the widget that a mouse button was pressed within it. |
![]() ![]() |
FReply | OnMouseButtonUp
(
const FGeometry& MyGeometry, |
The system calls this method to notify the widget that a mouse button was release within it. |
![]() ![]() |
FReply | OnMouseMove
(
const FGeometry& MyGeometry, |
The system calls this method to notify the widget that a mouse moved within it. |
![]() ![]() ![]() |
int32 | OnPaint
(
const FPaintArgs& Args, |
Overwritten from SWidget. |
![]() ![]() ![]() |
bool | Checks to see if this widget supports keyboard focus. Override this in derived classes. |
Classes
Type | Name | Description | |
---|---|---|---|
![]() |
FArguments |