Navigation
API > API/Plugins > API/Plugins/AudioWidgets
An audio slider widget.
| Name | UAudioSliderBase |
| Type | class |
| Header File | /Engine/Plugins/Runtime/AudioWidgets/Source/AudioWidgets/Public/AudioSlider.h |
| Include Path | #include "AudioSlider.h" |
Syntax
UCLASS (MinimalAPI, Abstract)
class UAudioSliderBase : public UWidget
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UVisual → UWidget → UAudioSliderBase
Implements Interfaces
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UAudioSliderBase
(
const FObjectInitializer& ObjectInitializer |
AudioSlider.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| IsUnitsTextReadOnly | bool | Whether to set the units part of the text label read only. | AudioSlider.h |
|
| IsValueTextReadOnly | bool | Whether to set the value part of the text label read only. | AudioSlider.h |
|
| OnValueChanged | FOnFloatValueChangedEvent | Called when the value is changed by slider or typing. | AudioSlider.h |
|
| Orientation | TEnumAsByte< EOrientation > | The slider's orientation. | AudioSlider.h |
|
| ShowLabelOnlyOnHover | bool | If true, show text label only on hover; if false always show label. | AudioSlider.h |
|
| ShowUnitsText | bool | Whether to show the units part of the text label. | AudioSlider.h |
|
| SliderBackgroundColor | FLinearColor | The color to draw the slider background. | AudioSlider.h |
|
| SliderBackgroundColorDelegate | FGetLinearColor | A bindable delegate for the SliderBackgroundColor. | AudioSlider.h | |
| SliderBarColor | FLinearColor | The color to draw the slider bar. | AudioSlider.h |
|
| SliderBarColorDelegate | FGetLinearColor | A bindable delegate for the SliderBarColor. | AudioSlider.h | |
| SliderThumbColor | FLinearColor | The color to draw the slider thumb. | AudioSlider.h |
|
| SliderThumbColorDelegate | FGetLinearColor | A bindable delegate for the SliderThumbColor. | AudioSlider.h | |
| TextLabelBackgroundColor | FLinearColor | The color to draw the text label background. | AudioSlider.h |
|
| TextLabelBackgroundColorDelegate | FGetLinearColor | A bindable delegate for the TextLabelBackgroundColor. | AudioSlider.h | |
| UnitsText | FText | The text label units | AudioSlider.h |
|
| Value | float | The normalized linear (0 - 1) slider value. | AudioSlider.h |
|
| ValueDelegate | FGetFloat | A bindable delegate to allow logic to drive the value of the widget | AudioSlider.h | |
| WidgetBackgroundColor | FLinearColor | The color to draw the widget background. | AudioSlider.h |
|
| WidgetBackgroundColorDelegate | FGetLinearColor | A bindable delegate for the WidgetBackgroundColor. | AudioSlider.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
float GetLinValue
(
const float OutputValue |
Get normalized linear (0 - 1) value from output based on internal lin to output mapping. | AudioSlider.h |
|
float GetOutputValue
(
const float InSliderValue |
Get output value from normalized linear (0 - 1) based on internal lin to output mapping. | AudioSlider.h |
|
float GetSliderValue
(
const float OutputValue |
Get normalized linear (0 - 1) slider value from output based on internal lin to output mapping. | AudioSlider.h |
|
void SetShowLabelOnlyOnHover
(
const bool bShowLabelOnlyOnHover |
If true, show text label only on hover; if false always show label. | AudioSlider.h |
|
void SetShowUnitsText
(
const bool bShowUnitsText |
Sets whether to show the units text | AudioSlider.h |
|
void SetSliderBackgroundColor
(
FLinearColor InValue |
Sets the slider background color | AudioSlider.h |
|
void SetSliderBarColor
(
FLinearColor InValue |
Sets the slider bar color | AudioSlider.h |
|
void SetSliderThumbColor
(
FLinearColor InValue |
Sets the slider thumb color | AudioSlider.h |
|
void SetTextLabelBackgroundColor
(
FSlateColor InColor |
Sets the label background color | AudioSlider.h |
|
void SetUnitsText
(
const FText Units |
Sets the units text | AudioSlider.h |
|
void SetUnitsTextReadOnly
(
const bool bIsReadOnly |
Sets whether the units text is read only | AudioSlider.h |
|
void SetValueTextReadOnly
(
const bool bIsReadOnly |
Sets whether the value text is read only | AudioSlider.h |
|
void SetWidgetBackgroundColor
(
FLinearColor InValue |
Sets the widget background color | AudioSlider.h |
|
Overridden from UWidget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual const FText GetPaletteCategory() |
AudioSlider.h | ||
virtual void SynchronizeProperties() |
AudioSlider.h |
Overridden from UVisual
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ReleaseSlateResources
(
bool bReleaseChildren |
AudioSlider.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void HandleOnValueChanged
(
float InValue |
AudioSlider.h | ||
FLinearColor K2_Gate_SliderBackgroundColor() |
AudioSlider.h | ||
FLinearColor K2_Gate_SliderBarColor() |
AudioSlider.h | ||
FLinearColor K2_Gate_SliderThumbColor() |
AudioSlider.h | ||
FLinearColor K2_Gate_TextLabelBackgroundColor() |
AudioSlider.h | ||
float K2_Gate_Value() |
AudioSlider.h | ||
FLinearColor K2_Gate_WidgetBackgroundColor() |
AudioSlider.h |
Overridden from UWidget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TSharedRef< SWidget > RebuildWidget() |
AudioSlider.h |