Navigation
API > API/Plugins > API/Plugins/Synthesis > API/Plugins/Synthesis/UI
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UVisual
- UWidget
- USynthKnob
References
| Module | Synthesis |
| Header | /Engine/Plugins/Runtime/Synthesis/Source/Synthesis/Public/UI/SynthKnob.h |
| Include | #include "UI/SynthKnob.h" |
Syntax
UCLASS&40;&41;
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? | |
| float | K2_Cache_Value | ||
| 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 | |
|---|---|---|---|
| float | GetValue () |
Gets the current value of the slider. | |
| void | |||
| void | |||
| void | |||
| void | |||
| void | HandleOnValueChanged
(
float InValue |
||
| float | |||
| 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. |
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 |