Navigation
API > API/Plugins > API/Plugins/Synthesis > API/Plugins/Synthesis/UI
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UVisual
- UWidget
- USynth2DSlider
References
| Module | Synthesis |
| Header | /Engine/Plugins/Runtime/Synthesis/Source/Synthesis/Public/UI/Synth2DSlider.h |
| Include | #include "UI/Synth2DSlider.h" |
Syntax
UCLASS&40;&41;
class USynth2DSlider : public UWidget
Remarks
A simple widget that shows a sliding bar with a handle that allows you to control the value between 0..1.
- No Children
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | IndentHandle | Whether the slidable area should be indented to fit the handle. | |
| bool | IsFocusable | Should the slider be focusable? | |
| float | K2_Cache_ValueX | ||
| float | K2_Cache_ValueY | ||
| bool | Locked | Whether the handle is interactive or fixed. | |
| TSharedPtr< SSynth2DSlider > | MySlider | Native Slate Widget | |
| FOnControllerCaptureBeginEventSynth2D | OnControllerCaptureBegin | Invoked when the controller capture begins. | |
| FOnControllerCaptureEndEventSynth2D | OnControllerCaptureEnd | Invoked when the controller capture ends. | |
| FOnMouseCaptureBeginEventSynth2D | OnMouseCaptureBegin | Invoked when the mouse is pressed and a capture begins. | |
| FOnMouseCaptureEndEventSynth2D | OnMouseCaptureEnd | Invoked when the mouse is released and a capture ends. | |
| FOnFloatValueChangedEventSynth2D | OnValueChangedX | Called when the value is changed by slider or typing. | |
| FOnFloatValueChangedEventSynth2D | OnValueChangedY | Called when the value is changed by slider or typing. | |
| FLinearColor | SliderHandleColor | The color to draw the slider handle in. | |
| float | StepSize | The amount to adjust the value by, when using a controller or keyboard | |
| float | ValueX | ||
| FGetFloat | ValueXDelegate | A bindable delegate to allow logic to drive the value of the widget | |
| float | ValueY | ||
| FGetFloat | ValueYDelegate | A bindable delegate to allow logic to drive the value of the widget | |
| FSynth2DSliderStyle | WidgetStyle | The progress bar style |
Constructors
| Type | Name | Description | |
|---|---|---|---|
USynth2DSlider
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FVector2D | GetValue () |
Gets the current value of the slider. | |
| void | |||
| void | |||
| void | |||
| void | |||
| void | HandleOnValueChangedX
(
float InValue |
||
| void | HandleOnValueChangedY
(
float InValue |
||
| float | |||
| float | |||
| void | SetIndentHandle
(
bool InValue |
Sets if the slidable area should be indented to fit the handle | |
| void | SetLocked
(
bool InValue |
Sets the handle to be interactive or fixed | |
| void | SetSliderHandleColor
(
FLinearColor InValue |
Sets the color of the handle bar | |
| void | SetStepSize
(
float InValue |
Sets the amount to adjust the value by, when using a controller or keyboard | |
| void | SetValue
(
FVector2D InValue |
Sets the current value of the slider. |
Overridden from UWidget
| Type | Name | Description | |
|---|---|---|---|
| const FText | Gets the palette category of the widget | ||
| TSharedRef< SWidget > | Function implemented by all subclasses of UWidget is called when the underlying SWidget needs to be constructed. | ||
| void | Applies all properties to the native widget if possible. |
Overridden from UVisual
| Type | Name | Description | |
|---|---|---|---|
| void | ReleaseSlateResources
(
bool bReleaseChildren |