Navigation
API > API/Plugins > API/Plugins/AudioWidgets
An audio radial slider widget.
| Name | UAudioRadialSlider |
| Type | class |
| Header File | /Engine/Plugins/Runtime/AudioWidgets/Source/AudioWidgets/Public/AudioRadialSlider.h |
| Include Path | #include "AudioRadialSlider.h" |
Syntax
UCLASS (MinimalAPI)
class UAudioRadialSlider : public UWidget
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UVisual → UWidget → UAudioRadialSlider
Implements Interfaces
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UAudioRadialSlider
(
const FObjectInitializer& ObjectInitializer |
AudioRadialSlider.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CenterBackgroundColor | FLinearColor | The color to draw the widget background. | AudioRadialSlider.h |
|
| HandStartEndRatio | FVector2D | Start and end of the hand as a ratio to the slider radius (so 0.0 to 1.0 is from the slider center to the handle). | AudioRadialSlider.h |
|
| IsUnitsTextReadOnly | bool | Whether to set the units part of the text label read only. | AudioRadialSlider.h |
|
| IsValueTextReadOnly | bool | Whether to set the value part of the text label read only. | AudioRadialSlider.h |
|
| OnValueChanged | FOnAudioRadialSliderValueChangedEvent | Called when the value is changed by slider or typing. | AudioRadialSlider.h |
|
| OutputRange | FVector2D | Output range | AudioRadialSlider.h |
|
| ShowLabelOnlyOnHover | bool | If true, show text label only on hover; if false always show label. | AudioRadialSlider.h |
|
| ShowUnitsText | bool | Whether to show the units part of the text label. | AudioRadialSlider.h |
|
| SliderBarColor | FLinearColor | The color to draw the slider bar in. | AudioRadialSlider.h |
|
| SliderProgressColor | FLinearColor | The color to draw the slider progress bar in. | AudioRadialSlider.h |
|
| SliderThickness | float | The slider thickness. | AudioRadialSlider.h |
|
| TextLabelBackgroundColor | FLinearColor | The color to draw the text label background. | AudioRadialSlider.h |
|
| UnitsText | FText | The text label units | AudioRadialSlider.h |
|
| Value | float | The normalized linear (0 - 1) slider value position. | AudioRadialSlider.h |
|
| ValueDelegate | FGetFloat | A bindable delegate to allow logic to drive the value of the widget | AudioRadialSlider.h | |
| WidgetLayout | TEnumAsByte< EAudioRadialSliderLayout > | The layout of the widget (position of text label). | AudioRadialSlider.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
float GetOutputValue
(
const float InSliderValue |
Get output value from normalized linear (0 - 1) based on internal lin to output mapping. | AudioRadialSlider.h |
|
float GetSliderValue
(
const float OutputValue |
Get normalized linear (0 - 1) slider value from output based on internal lin to output mapping. | AudioRadialSlider.h |
|
void SetCenterBackgroundColor
(
FLinearColor InValue |
Sets the label background color | AudioRadialSlider.h |
|
void SetHandStartEndRatio
(
const FVector2D InHandStartEndRatio |
Sets the start and end of the hand as a ratio to the slider radius (so 0.0 to 1.0 is from the slider center to the handle). | AudioRadialSlider.h |
|
void SetOutputRange
(
const FVector2D InOutputRange |
Sets the output range | AudioRadialSlider.h |
|
void SetShowLabelOnlyOnHover
(
const bool bShowLabelOnlyOnHover |
If true, show text label only on hover; if false always show label. | AudioRadialSlider.h |
|
void SetShowUnitsText
(
const bool bShowUnitsText |
Sets whether to show the units text | AudioRadialSlider.h |
|
void SetSliderBarColor
(
FLinearColor InValue |
Sets the slider bar color | AudioRadialSlider.h |
|
void SetSliderProgressColor
(
FLinearColor InValue |
Sets the slider progress color | AudioRadialSlider.h |
|
void SetSliderThickness
(
const float InThickness |
Sets the slider thickness | AudioRadialSlider.h |
|
void SetTextLabelBackgroundColor
(
FSlateColor InColor |
Sets the label background color | AudioRadialSlider.h |
|
void SetUnitsText
(
const FText Units |
Sets the units text | AudioRadialSlider.h |
|
void SetUnitsTextReadOnly
(
const bool bIsReadOnly |
Sets whether the units text is read only | AudioRadialSlider.h |
|
void SetValueTextReadOnly
(
const bool bIsReadOnly |
Sets whether the value text is read only | AudioRadialSlider.h |
|
void SetWidgetLayout
(
EAudioRadialSliderLayout InLayout |
Sets the widget layout | AudioRadialSlider.h |
|
Overridden from UWidget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual const FText GetPaletteCategory() |
AudioRadialSlider.h | ||
virtual void SynchronizeProperties() |
AudioRadialSlider.h |
Overridden from UVisual
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ReleaseSlateResources
(
bool bReleaseChildren |
AudioRadialSlider.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void HandleOnValueChanged
(
float InValue |
AudioRadialSlider.h | ||
float K2_Gate_Value() |
AudioRadialSlider.h |
Overridden from UWidget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TSharedRef< SWidget > RebuildWidget() |
AudioRadialSlider.h |