UAudioRadialSlider

An audio radial slider widget.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

AudioWidgets

Header

/Engine/Plugins/Runtime/AudioWidgets/Source/AudioWidgets/Public/AudioRadialSlider.h

Include

#include "AudioRadialSlider.h"

Syntax

UCLASS()
class UAudioRadialSlider : public UWidget

Remarks

An audio radial slider widget.

Variables

Name Description

Public variable UProperty Category, EditAnywhere

FLinearColor

 

CenterBackgroundColor

The color to draw the widget background.

Public variable UProperty Category, EditAnywhere

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).

Public variable UProperty Category, EditAnywhere

bool

 

IsUnitsTextReadOnly

Whether to set the units part of the text label read only.

Public variable UProperty Category, EditAnywhere

bool

 

IsValueTextReadOnly

Whether to set the value part of the text label read only.

Protected variable

float

 

K2_Cache_Value

Protected variable

TSharedPtr< SAu...

 

MyAudioRadialSlider

Native Slate Widget

Public variable UProperty Category BlueprintAssignable

FOnAudioRadialS...

 

OnValueChanged

Called when the value is changed by slider or typing.

Public variable UProperty Category, EditAnywhere

FVector2D

 

OutputRange

Output range

Public variable UProperty Category, EditAnywhere

bool

 

ShowLabelOnlyOnHover

If true, show text label only on hover; if false always show label.

Public variable UProperty Category, EditAnywhere

bool

 

ShowUnitsText

Whether to show the units part of the text label.

Public variable UProperty Category, EditAnywhere

FLinearColor

 

SliderBarColor

The color to draw the slider bar in.

Public variable UProperty Category, EditAnywhere

FLinearColor

 

SliderProgressColor

The color to draw the slider progress bar in.

Public variable UProperty Category, EditAnywhere, Meta

float

 

SliderThickness

The slider thickness.

Public variable UProperty Category, EditAnywhere

FLinearColor

 

TextLabelBackgroundColor

The color to draw the text label background.

Public variable UProperty Category, EditAnywhere

FText

 

UnitsText

The text label units

Public variable UProperty Category, EditAnywhere, Meta

float

 

Value

The linear value.

Public variable UProperty

FGetFloat

 

ValueDelegate

A bindable delegate to allow logic to drive the value of the widget

Public variable UProperty Category, EditAnywhere

TEnumAsByte< EA...

 

WidgetLayout

The layout of the widget (position of text label).

Protected variable

FAudioRadialSli...

 

WidgetStyle

Constructors

Name Description

Public function

UAudioRadialSlider

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Protected function

void

 

HandleOnValueChanged

(
    float InValue
)

Protected function

float

 

K2_Gate_Value()

Public function UFunction BlueprintCallable, Category

void

 

SetCenterBackgroundColor

(
    FLinearColor InValue
)

Sets the label background color

Public function UFunction BlueprintCallable, Category

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).

Public function UFunction BlueprintCallable, Category

void

 

SetOutputRange

(
    const FVector2D InOutputRange
)

Sets the output range

Public function UFunction BlueprintCallable, Category

void

 

SetShowLabelOnlyOnHover

(
    const bool bShowLabelOnlyOnHover
)

If true, show text label only on hover; if false always show label.

Public function UFunction BlueprintCallable, Category

void

 

SetShowUnitsText

(
    const bool bShowUnitsText
)

Sets whether to show the units text

Public function UFunction BlueprintCallable, Category

void

 

SetSliderBarColor

(
    FLinearColor InValue
)

Sets the slider bar color

Public function UFunction BlueprintCallable, Category

void

 

SetSliderProgressColor

(
    FLinearColor InValue
)

Sets the slider progress color

Public function UFunction BlueprintCallable, Category

void

 

SetSliderThickness

(
    const float InThickness
)

Sets the slider thickness

Public function UFunction BlueprintCallable, Category

void

 

SetTextLabelBackgroundColor

(
    FSlateColor InColor
)

Sets the label background color

Public function UFunction BlueprintCallable, Category

void

 

SetUnitsText

(
    const FText Units
)

Sets the units text

Public function UFunction BlueprintCallable, Category

void

 

SetUnitsTextReadOnly

(
    const bool bIsReadOnly
)

Sets whether the units text is read only

Public function UFunction BlueprintCallable, Category

void

 

SetValueTextReadOnly

(
    const bool bIsReadOnly
)

Sets whether the value text is read only

Public function UFunction BlueprintCallable, Category

void

 

SetWidgetLayout

(
    EAudioRadialSliderLayout InLayout
)

Sets the widget layout

Overridden from UWidget

Name Description

Public function Virtual

const FText

 

GetPaletteCategory()

Gets the palette category of the widget

Protected function Virtual

TSharedRef< ...

 

RebuildWidget()

Function implemented by all subclasses of UWidget is called when the underlying SWidget needs to be constructed.

Public function Virtual

void

 

SynchronizeProperties()

Applies all properties to the native widget if possible.

Overridden from UVisual

Name Description

Public function Virtual

void

 

ReleaseSlateResources

(
    bool bReleaseChildren
)