Navigation
API > API/Plugins > API/Plugins/AudioWidgets
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UVisual
- UWidget
- UAudioSliderBase
- UAudioFrequencySlider
- UAudioSlider
- UAudioVolumeSlider
References
| Module | AudioWidgets |
| Header | /Engine/Plugins/Runtime/AudioWidgets/Source/AudioWidgets/Public/AudioSlider.h |
| Include | #include "AudioSlider.h" |
Syntax
UCLASS&40;Abstract&41;
class UAudioSliderBase : public UWidget
Remarks
An audio slider widget.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | IsUnitsTextReadOnly | Whether to set the units part of the text label read only. | |
| bool | IsValueTextReadOnly | Whether to set the value part of the text label read only. | |
| FLinearColor | K2_Cache_SliderBackgroundColor | ||
| FLinearColor | K2_Cache_SliderBarColor | ||
| FLinearColor | K2_Cache_SliderThumbColor | ||
| FLinearColor | K2_Cache_TextLabelBackgroundColor | ||
| float | K2_Cache_Value | ||
| FLinearColor | K2_Cache_WidgetBackgroundColor | ||
| TSharedPtr< SAudioSliderBase > | MyAudioSlider | Native Slate Widget | |
| FOnFloatValueChangedEvent | OnValueChanged | Called when the value is changed by slider or typing. | |
| TEnumAsByte< EOrientation > | Orientation | The slider's orientation. | |
| bool | ShowLabelOnlyOnHover | If true, show text label only on hover; if false always show label. | |
| bool | ShowUnitsText | Whether to show the units part of the text label. | |
| FLinearColor | SliderBackgroundColor | The color to draw the slider background. | |
| FGetLinearColor | SliderBackgroundColorDelegate | A bindable delegate for the SliderBackgroundColor. | |
| FLinearColor | SliderBarColor | The color to draw the slider bar. | |
| FGetLinearColor | SliderBarColorDelegate | A bindable delegate for the SliderBarColor. | |
| FLinearColor | SliderThumbColor | The color to draw the slider thumb. | |
| FGetLinearColor | SliderThumbColorDelegate | A bindable delegate for the SliderThumbColor. | |
| FLinearColor | TextLabelBackgroundColor | The color to draw the text label background. | |
| FGetLinearColor | TextLabelBackgroundColorDelegate | A bindable delegate for the TextLabelBackgroundColor. | |
| FText | UnitsText | The text label units | |
| float | Value | The normalized linear (0 - 1) slider value. | |
| FGetFloat | ValueDelegate | A bindable delegate to allow logic to drive the value of the widget | |
| FLinearColor | WidgetBackgroundColor | The color to draw the widget background. | |
| FGetLinearColor | WidgetBackgroundColorDelegate | A bindable delegate for the WidgetBackgroundColor. | |
| FAudioSliderStyle | WidgetStyle |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UAudioSliderBase
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| float | GetLinValue
(
const float OutputValue |
Get normalized linear (0 - 1) value from output based on internal lin to output mapping. | |
| float | GetOutputValue
(
const float InSliderValue |
Get output value from normalized linear (0 - 1) based on internal lin to output mapping. | |
| float | GetSliderValue
(
const float OutputValue |
Get normalized linear (0 - 1) slider value from output based on internal lin to output mapping. | |
| void | HandleOnValueChanged
(
float InValue |
||
| FLinearColor | |||
| FLinearColor | |||
| FLinearColor | |||
| FLinearColor | |||
| float | |||
| FLinearColor | |||
| void | SetShowLabelOnlyOnHover
(
const bool bShowLabelOnlyOnHover |
If true, show text label only on hover; if false always show label. | |
| void | SetShowUnitsText
(
const bool bShowUnitsText |
Sets whether to show the units text | |
| void | SetSliderBackgroundColor
(
FLinearColor InValue |
Sets the slider background color | |
| void | SetSliderBarColor
(
FLinearColor InValue |
Sets the slider bar color | |
| void | SetSliderThumbColor
(
FLinearColor InValue |
Sets the slider thumb color | |
| void | SetTextLabelBackgroundColor
(
FSlateColor InColor |
Sets the label background color | |
| void | SetUnitsText
(
const FText Units |
Sets the units text | |
| void | SetUnitsTextReadOnly
(
const bool bIsReadOnly |
Sets whether the units text is read only | |
| void | SetValueTextReadOnly
(
const bool bIsReadOnly |
Sets whether the value text is read only | |
| void | SetWidgetBackgroundColor
(
FLinearColor InValue |
Sets the widget background color |
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 |