Navigation
API > API/Plugins > API/Plugins/TweeningUtilsEditor
The slider ranges from -1 to 1. It drives the blend while pressed down. When released, it jumps to 0: letting the user reapply the blend again.
The slider looks like this:
- ETweenScaleMode::Normalized: [ + + + [I] + + + ]
- ETweenScaleMode::Overshoot: [ + + + | + + + [I] + + + | + + + ] Here:
- I is the Icon and the bit behind it is the SliderIconBackground. Together, they form a button.
-
- is a point on the scale.
| Name | STweenSlider |
| Type | class |
| Header File | /Engine/Plugins/Animation/TweeningUtils/Source/TweeningUtilsEditor/Public/Widgets/STweenSlider.h |
| Include Path | #include "Widgets/STweenSlider.h" |
Syntax
class STweenSlider : public SLeafWidget
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → SWidget → SLeafWidget → STweenSlider
- FSlateControlledConstruction → SWidget → SLeafWidget → STweenSlider
Structs
| Name | Remarks |
|---|---|
| FArguments |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FMapSliderValueToBlendValue | TBaseDelegate_OneParam< float, float > | Widgets/STweenSlider.h | |
| FSliderChangedDelegate | TBaseDelegate_OneParam< void, float > | Widgets/STweenSlider.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| MapSliderValueToBlendValueDelegate | FMapSliderValueToBlendValue | Invoked to display the correct blend value tooltips. | Widgets/STweenSlider.h | |
| OnPointValuePickedDelegate | FSliderChangedDelegate | Invoked when the user presses a point to select a blend value. | Widgets/STweenSlider.h | |
| OnSliderChangedDelegate | FSliderChangedDelegate | Invoked during drag when the slider value changes. | Widgets/STweenSlider.h | |
| OnSliderDragStartedDelegate | FSimpleDelegate | Invoked when the slider begins being dragged. | Widgets/STweenSlider.h | |
| OnSliderDragStoppedDelegate | FSimpleDelegate | Invoked when the slider stops being dragged | Widgets/STweenSlider.h | |
| Pimpl | TPimplPtr< FSliderWidgetData > | Abstracts the implementation. | Widgets/STweenSlider.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Construct
(
const FArguments& InArgs |
Widgets/STweenSlider.h |