Navigation
API > API/Plugins > API/Plugins/AudioWidgets
Inheritance Hierarchy
- FSlateControlledConstruction
- TSharedFromThis
- SWidget
- SCompoundWidget
- SAudioInputWidget
- SAudioRadialSlider
- SAudioFrequencyRadialSlider
- SAudioVolumeRadialSlider
References
| Module | AudioWidgets |
| Header | /Engine/Plugins/Runtime/AudioWidgets/Source/AudioWidgets/Public/SAudioRadialSlider.h |
| Include | #include "SAudioRadialSlider.h" |
Syntax
class SAudioRadialSlider : public SAudioInputWidget
Remarks
Slate audio radial sliders that wrap SRadialSlider and provides additional audio specific functionality. This is a nativized version of the previous Audio Knob Small/Large widgets.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TAttribute< FSlateColor > | CenterBackgroundColor | ||
| TSharedPtr< SImage > | CenterBackgroundImage | ||
| TAttribute< TOptional< FVector2D > > | DesiredSizeOverride | ||
| TAttribute< FVector2D > | HandStartEndRatio | ||
| TSharedPtr< SAudioTextBox > | Label | ||
| TAttribute< FSlateColor > | LabelBackgroundColor | ||
| TSharedPtr< SWidgetSwitcher > | LayoutWidgetSwitcher | Overall widget layout. | |
| FSimpleDelegate | OnMouseCaptureBegin | Holds a delegate that is executed when the mouse is pressed and a capture begins. | |
| FSimpleDelegate | OnMouseCaptureEnd | Holds a delegate that is executed when the mouse is let up and a capture ends. | |
| FOnFloatValueChanged | OnValueChanged | Holds a delegate that is executed when the slider's value changed. | |
| TSharedPtr< SImage > | OuterBackgroundImage | ||
| FVector2D | OutputRange | Range for output. | |
| TSharedPtr< SRadialSlider > | RadialSlider | ||
| TAttribute< FSlateColor > | SliderBarColor | ||
| FRuntimeFloatCurve | SliderCurve | ||
| TAttribute< FSlateColor > | SliderProgressColor | ||
| TAttribute< float > | SliderValue | ||
| const FAudioRadialSliderStyle * | Style | ||
| TAttribute< EAudioRadialSliderLayout > | WidgetLayout |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Construct
(
const SAudioRadialSlider::FArguments& InArgs |
||
| TSharedRef< SWidgetSwitcher > | |||
| const float | GetOutputValueForText
(
const float InSliderValue |
||
| const float | GetSliderValueForText
(
const float OutputValue |
||
| void | SetCenterBackgroundColor
(
FSlateColor InColor |
||
| void | SetHandStartEndRatio
(
const FVector2D InHandStartEndRatio |
||
| void | SetShowLabelOnlyOnHover
(
const bool bShowLabelOnlyOnHover |
||
| void | SetSliderBarColor
(
FSlateColor InColor |
||
| void | SetSliderProgressColor
(
FSlateColor InColor |
||
| void | SetSliderThickness
(
const float Thickness |
||
| void | SetValueTextReadOnly
(
const bool bIsReadOnly |
||
| void | SetWidgetLayout
(
EAudioRadialSliderLayout InLayout |
Overridden from SAudioInputWidget
| Type | Name | Description | |
|---|---|---|---|
| const float | GetOutputValue
(
const float InSliderValue |
||
| const float | GetSliderValue
(
const float OutputValue |
||
| void | SetDesiredSizeOverride
(
const FVector2D DesiredSize |
||
| void | SetLabelBackgroundColor
(
FSlateColor InColor |
Text label functions. | |
| void | SetOutputRange
(
const FVector2D Range |
||
| void | SetShowUnitsText
(
const bool bShowUnitsText |
||
| void | SetSliderValue
(
float InSliderValue |
Set the slider's linear (0-1 normalized) value. | |
| void | SetUnitsText
(
const FText Units |
||
| void | SetUnitsTextReadOnly
(
const bool bIsReadOnly |
Overridden from SWidget
| Type | Name | Description | |
|---|---|---|---|
| FVector2D | ComputeDesiredSize
(
float LayoutScaleMultiplier |
Compute the ideal size necessary to display this widget. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FArguments |
Constants
| Name | Description |
|---|---|
| NormalizedLinearSliderRange |