Navigation
API > API/Plugins > API/Plugins/AudioWidgets
Slate audio sliders that wrap SSlider and provides additional audio specific functionality. This is a nativized version of the previous Audio Fader widget.
| Name | SAudioSliderBase |
| Type | class |
| Header File | /Engine/Plugins/Runtime/AudioWidgets/Source/AudioWidgets/Public/SAudioSlider.h |
| Include Path | #include "SAudioSlider.h" |
Syntax
class SAudioSliderBase : public SAudioInputWidget
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → SWidget → SCompoundWidget → SAudioInputWidget → SAudioSliderBase
- FSlateControlledConstruction → SWidget → SCompoundWidget → SAudioInputWidget → SAudioSliderBase
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
SAudioSliderBase() |
SAudioSlider.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~SAudioSliderBase() |
SAudioSlider.h |
Structs
| Name | Remarks |
|---|---|
| FArguments |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| NormalizedLinearSliderRange | const FVector2D | SAudioSlider.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| OnValueChanged | FOnFloatValueChanged | Holds a delegate that is executed when the slider's value changed. | SAudioSlider.h | |
| OnValueCommitted | FOnFloatValueChanged | Holds a delegate that is executed when the slider's value is committed (mouse capture ends). | SAudioSlider.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| LayoutWidgetSwitcher | TSharedPtr< SWidgetSwitcher > | Switches between the vertical and horizontal views | SAudioSlider.h | |
| SliderBackgroundBrush | FSlateBrush | SAudioSlider.h | ||
| SliderBackgroundSize | FVector2D | SAudioSlider.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Construct
(
const SAudioSliderBase::FArguments& InDeclaration |
Construct the widget. | SAudioSlider.h | |
virtual const float GetOutputValueForText
(
const float InSliderValue |
SAudioSlider.h | ||
virtual const float GetSliderValueForText
(
const float OutputValue |
SAudioSlider.h | ||
void SetOrientation
(
EOrientation InOrientation |
SAudioSlider.h | ||
void SetShowLabelOnlyOnHover
(
const bool bShowLabelOnlyOnHover |
SAudioSlider.h | ||
void SetSliderBackgroundColor
(
FSlateColor InSliderBackgroundColor |
SAudioSlider.h | ||
void SetSliderBarColor
(
FSlateColor InSliderBarColor |
SAudioSlider.h | ||
void SetSliderThumbColor
(
FSlateColor InSliderThumbColor |
SAudioSlider.h | ||
void SetSliderValue
(
TAttribute< float > InSliderValue |
SAudioSlider.h | ||
void SetValueTextReadOnly
(
const bool bIsReadOnly |
SAudioSlider.h | ||
void SetWidgetBackgroundColor
(
FSlateColor InWidgetBackgroundColor |
SAudioSlider.h |
Overridden from SAudioInputWidget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual const float GetOutputValue
(
const float InSliderValue |
SAudioSlider.h | ||
virtual const float GetSliderValue
(
const float OutputValue |
SAudioSlider.h | ||
virtual void SetDesiredSizeOverride
(
const FVector2D DesiredSize |
SAudioSlider.h | ||
virtual void SetLabelBackgroundColor
(
FSlateColor InColor |
Text label functions. | SAudioSlider.h | |
virtual void SetOutputRange
(
const FVector2D Range |
SAudioSlider.h | ||
virtual void SetShowUnitsText
(
const bool bShowUnitsText |
SAudioSlider.h | ||
virtual void SetSliderValue
(
float InSliderValue |
Set the slider's linear (0-1 normalized) value. | SAudioSlider.h | |
virtual void SetUnitsText
(
const FText Units |
SAudioSlider.h | ||
virtual void SetUnitsTextReadOnly
(
const bool bIsReadOnly |
SAudioSlider.h |
Overridden from SWidget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FVector2D ComputeDesiredSize
(
float |
SAudioSlider.h |