SAudioRadialSlider

Slate audio radial sliders that wrap [SRadialSlider](API\Runtime\AdvancedWidgets\Slate\SRadialSlider) and provides additional audio specific functionality.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

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

Constructors

Name Description

Public function

SAudioRadialSlider()

Destructors

Name Description

Public function Virtual

~SAudioRadialSlider()

Functions

Name Description

Public function Virtual

void

 

Construct

(
    const SAudioRadialSlider::FArgument...
)

Protected function

TSharedRef< ...

 

CreateLayoutWidgetSwitcher()

Public function Virtual

const float

 

GetLinValueForText

(
    const float OutputValue
)

Public function Virtual

const float

 

GetOutputValueForText

(
    const float LinValue
)

Public function

void

 

SetCenterBackgroundColor

(
    FSlateColor InColor
)

Public function

void

 

SetHandStartEndRatio

(
    const FVector2D InHandStartEndRatio
)

Public function

void

 

SetShowLabelOnlyOnHover

(
    const bool bShowLabelOnlyOnHover
)

Public function

void

 

SetSliderBarColor

(
    FSlateColor InColor
)

Public function

void

 

SetSliderProgressColor

(
    FSlateColor InColor
)

Public function

void

 

SetSliderThickness

(
    const float Thickness
)

Public function

void

 

SetValueTextReadOnly

(
    const bool bIsReadOnly
)

Public function

void

 

SetWidgetLayout

(
    EAudioRadialSliderLayout InLayout
)

Overridden from SAudioInputWidget

Name Description

Public function Virtual

const float

 

GetLinValue

(
    const float OutputValue
)

Public function Virtual

const float

 

GetOutputValue

(
    const float LinValue
)

Public function Virtual

void

 

SetDesiredSizeOverride

(
    const FVector2D DesiredSize
)

Public function Virtual

void

 

SetLabelBackgroundColor

(
    FSlateColor InColor
)

Text label functions.

Public function Virtual

void

 

SetOutputRange

(
    const FVector2D Range
)

Public function Virtual

void

 

SetShowUnitsText

(
    const bool bShowUnitsText
)

Public function Virtual

void

 

SetUnitsText

(
    const FText Units
)

Public function Virtual

void

 

SetUnitsTextReadOnly

(
    const bool bIsReadOnly
)

Public function Virtual

void

 

SetValue

(
    float LinValue
)

Set the slider's linear (0-1 normalized) value.

Overridden from SWidget

Name Description

Public function Virtual Const

FVector2D

 

ComputeDesiredSize

(
    float LayoutScaleMultiplier
)

Compute the ideal size necessary to display this widget.

Classes

Name

Description

Public struct

FArguments

Constants

Name

Description

LinearRange