Navigation
API > API/Plugins > API/Plugins/Synthesis > API/Plugins/Synthesis/UI
Inheritance Hierarchy
- UWidget
- USynthKnob
References
| Module | Synthesis |
| Header | /Engine/Plugins/Runtime/Synthesis/Source/Synthesis/Public/UI/SynthKnob.h |
| Include | #include "UI/SynthKnob.h" |
Syntax
UCLASS ()
class USynthKnob : 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 | IsFocusable | Should the slider be focusable? | |
| bool | Locked | Whether the handle is interactive or fixed. | |
| float | MouseFineTuneSpeed | The speed of the mouse knob control when fine-tuning the knob | |
| float | MouseSpeed | The speed of the mouse knob control | |
| TSharedPtr< SSynthKnob > | MySynthKnob | Native Slate Widget | |
| FOnControllerCaptureBeginEvent | OnControllerCaptureBegin | Invoked when the controller capture begins. | |
| FOnControllerCaptureEndEvent | OnControllerCaptureEnd | Invoked when the controller capture ends. | |
| FOnMouseCaptureBeginEvent | OnMouseCaptureBegin | Invoked when the mouse is pressed and a capture begins. | |
| FOnMouseCaptureEndEvent | OnMouseCaptureEnd | Invoked when the mouse is released and a capture ends. | |
| FOnFloatValueChangedEvent | OnValueChanged | Called when the value is changed by slider or typing. | |
| FText | ParameterName | The name of the pararameter. Will show when knob turns. | |
| FText | ParameterUnits | The parameter units (e.g. hz). Will append to synth tooltip info. | |
| uint32: 1 | ShowTooltipInfo | Enable tool tip window to show parameter information while knob turns | |
| float | StepSize | The amount to adjust the value by, when using a controller or keyboard | |
| float | Value | The volume value to display. | |
| FGetFloat | ValueDelegate | A bindable delegate to allow logic to drive the value of the widget | |
| FSynthKnobStyle | WidgetStyle | The synth knob style |
Constructors
| Type | Name | Description | |
|---|---|---|---|
USynthKnob
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| const FText | |||
| float | GetValue () |
Gets the current value of the slider. | |
| void | |||
| void | |||
| void | |||
| void | |||
| void | HandleOnValueChanged
(
float InValue |
||
PROPERTY_BINDING_IMPLEMENTATION
(
float, |
|||
| TSharedRef< SWidget > | |||
| void | ReleaseSlateResources
(
bool bReleaseChildren |
||
| void | SetLocked
(
bool InValue |
Sets the handle to be interactive or fixed | |
| void | SetStepSize
(
float InValue |
Sets the amount to adjust the value by, when using a controller or keyboard | |
| void | SetValue
(
float InValue |
Sets the current value of the slider. | |
| void |