Navigation
API > API/Plugins > API/Plugins/AudioWidgets
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UVisual
- UWidget
- UAudioRadialSlider
- UAudioFrequencyRadialSlider
- UAudioVolumeRadialSlider
References
| Module | AudioWidgets |
| Header | /Engine/Plugins/Runtime/AudioWidgets/Source/AudioWidgets/Public/AudioRadialSlider.h |
| Include | #include "AudioRadialSlider.h" |
Syntax
UCLASS&40;&41;
class UAudioRadialSlider : public UWidget
Remarks
An audio radial slider widget.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FLinearColor | CenterBackgroundColor | The color to draw the widget background. | |
| FVector2D | HandStartEndRatio | 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). | |
| 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. | |
| float | K2_Cache_Value | ||
| TSharedPtr< SAudioRadialSlider > | MyAudioRadialSlider | Native Slate Widget | |
| FOnAudioRadialSliderValueChangedEvent | OnValueChanged | Called when the value is changed by slider or typing. | |
| FVector2D | OutputRange | Output range | |
| 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 | SliderBarColor | The color to draw the slider bar in. | |
| FLinearColor | SliderProgressColor | The color to draw the slider progress bar in. | |
| float | SliderThickness | The slider thickness. | |
| FLinearColor | TextLabelBackgroundColor | The color to draw the text label background. | |
| FText | UnitsText | The text label units | |
| float | Value | The normalized linear (0 - 1) slider value position. | |
| FGetFloat | ValueDelegate | A bindable delegate to allow logic to drive the value of the widget | |
| TEnumAsByte< EAudioRadialSliderLayout > | WidgetLayout | The layout of the widget (position of text label). | |
| FAudioRadialSliderStyle | WidgetStyle |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UAudioRadialSlider
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| 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 |
||
| float | |||
| void | SetCenterBackgroundColor
(
FLinearColor InValue |
Sets the label background color | |
| 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). | |
| void | SetOutputRange
(
const FVector2D InOutputRange |
Sets the output range | |
| 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 | SetSliderBarColor
(
FLinearColor InValue |
Sets the slider bar color | |
| void | SetSliderProgressColor
(
FLinearColor InValue |
Sets the slider progress color | |
| void | SetSliderThickness
(
const float InThickness |
Sets the slider thickness | |
| 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 | SetWidgetLayout
(
EAudioRadialSliderLayout InLayout |
Sets the widget layout |
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 |