Navigation
API > API/Plugins > API/Plugins/TweeningUtilsEditor
Binds together a STweenView and FTweenModel in the context of adding the controls to a toolbar widget. Acts as controller in a Model-View-Controller architecture.
Makes a toolbar as follows |Combo|Slider|Overshot|
- Combo: Selects the blend function
- Slider: Adjusts the blend value and updates the FTweenModel
- Overshoot: Toggle button for changing the overshoot property on FTweenModel
| Name | FTweenToolbarController |
| Type | class |
| Header File | /Engine/Plugins/Animation/TweeningUtils/Source/TweeningUtilsEditor/Public/Widgets/MVC/TweenToolbarController.h |
| Include Path | #include "Widgets/MVC/TweenToolbarController.h" |
Syntax
class FTweenToolbarController : public FNoncopyable
Inheritance Hierarchy
- FNoncopyable → FTweenToolbarController
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FTweenToolbarController
(
const TSharedRef< FUICommandList >& InCommandList, |
Widgets/MVC/TweenToolbarController.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FTweenToolbarController() |
Widgets/MVC/TweenToolbarController.h |
Structs
| Name | Remarks |
|---|---|
| FAddToToolbarResult | |
| FMakeWidgetArgs |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FOnOvershootModeToggled | TMulticastDelegate_NoParams< void > | Invoked when the overshoot mode is changed by this controller. | Widgets/MVC/TweenToolbarController.h |
| FOnTweenFunctionChanged | TMulticastDelegate_OneParam< void, const FTweenModel & > | Widgets/MVC/TweenToolbarController.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CommandList | const TSharedRef< FUICommandList > | Used when the combo button is opened. | Widgets/MVC/TweenToolbarController.h | |
| OnOvershootModeCommandInvokedDelegate | FOnOvershootModeToggled | Invoked when the overshoot mode is changed by this controller. | Widgets/MVC/TweenToolbarController.h | |
| OnTweenFunctionChangedDelegate | FOnTweenFunctionChanged | Invoked when the tween function is changed by this controller. | Widgets/MVC/TweenToolbarController.h | |
| OverrideStyle | const TPimplPtr< class FOvershootButtonStyleHack > | Used to override the color of the overshoot button to match the color of the tween model. | Widgets/MVC/TweenToolbarController.h | |
| SelectedTweenModel | TNotNull< FTweenModel * > | The selected tween model. Points into TweenModels. | Widgets/MVC/TweenToolbarController.h | |
| TweenModels | const TSharedRef< ITweenModelContainer > | Holds the functions that can be selected and gives us information about how to display them. | Widgets/MVC/TweenToolbarController.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FAddToToolbarResult AddToToolbar
(
FToolBarBuilder& ToolbarBuilder, |
Extends the toolbar. | Widgets/MVC/TweenToolbarController.h | |
FTweenModel & GetSelectedTweenModel() |
Widgets/MVC/TweenToolbarController.h | ||
TAttribute< const FTweenModel * > MakeSelectedConstTweenModelAttr() |
Widgets/MVC/TweenToolbarController.h | ||
TAttribute< FTweenModel * > MakeSelectedTweenModelAttr() |
Widgets/MVC/TweenToolbarController.h | ||
FOnOvershootModeToggled & OnOvershootModeCommandInvoked() |
Widgets/MVC/TweenToolbarController.h | ||
FOnTweenFunctionChanged & OnTweenFunctionChanged() |
Invoked when the tween function is changed by this controller. | Widgets/MVC/TweenToolbarController.h | |
void SetSelectedTweenModel
(
FTweenModel& InTweenModel |
Sets the currently selected tween model. Asserts that the tween model is contained in TweenModels. | Widgets/MVC/TweenToolbarController.h |