Navigation
API > API/Plugins > API/Plugins/AudioWidgets > API/Plugins/AudioWidgets/AudioMaterialSlate
Inheritance Hierarchy
References
| Module | AudioWidgets |
| Header | /Engine/Plugins/Runtime/AudioWidgets/Source/AudioWidgets/Public/AudioMaterialSlate/AudioMaterialKnob.h |
| Include | #include "AudioMaterialSlate/AudioMaterialKnob.h" |
Syntax
UCLASS ()
class UAudioMaterialKnob : public UWidget
Remarks
A simple widget that shows a turning Knob that allows you to control the value between 0..1. Knob is rendered by using material instead of texture.
- No Children
Variables
| Type | Name | Description | |
|---|---|---|---|
| FOnKnobValueChangedEvent | OnKnobValueChanged | Called when the value is changed by knob. | |
| FAudioMaterialKnobStyle | WidgetStyle | The button's style |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UAudioMaterialKnob
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| float | Get the Knobs fine-tune speed | ||
| bool | GetIsLocked () |
Get whether the knob is interactive or fixed. | |
| bool | Get whether the knob uses steps when tuning On Mouse move | ||
| float | GetStepSize () |
Get Step Size | |
| float | GetTuneSpeed () |
Get the Knobs tune speed | |
| float | GetValue () |
Get the current value of the knob. | |
| void | HandleOnKnobValueChanged
(
float InValue |
||
| void | SetFineTuneSpeed
(
float InValue |
Set the knobs fine-tune speed. InValue is Clamped between 0.f - 1.f | |
| void | SetLocked
(
bool InLocked |
Set the knob to be interactive or fixed | |
| void | SetMouseUsesStep
(
bool InUsesStep |
Set the knob to use steps when turning On Mouse move | |
| void | SetStepSize
(
float InValue |
Set the amount to adjust the value when using steps | |
| void | SetTuneSpeed
(
float InValue |
Set the knobs tune speed. InValue is Clamped between 0.f - 1.f | |
| void | SetValue
(
float InValue |
Set the current value of the knob. InValue is Clamped between 0.f - 1.f |
Overridden from UWidget
| Type | Name | Description | |
|---|---|---|---|
| const FText | Gets the palette category of the widget | ||
| TSharedRef< SWidget > | UWidget. | ||
| void | UWidget. |
Overridden from UVisual
| Type | Name | Description | |
|---|---|---|---|
| void | ReleaseSlateResources
(
bool bReleaseChildren |
UVisual. |