SAudioVolumeSlider

An Audio Slider widget intended to be used for volume output, with output decibel range but no customizable curves.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

AudioWidgets

Header

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

Include

#include "SAudioSlider.h"

Syntax

class SAudioVolumeSlider : public SAudioSliderBase

Remarks

An Audio Slider widget intended to be used for volume output, with output decibel range but no customizable curves.

Constructors

Name Description

Public function

SAudioVolumeSlider()

Functions

Name Description

Public function

void

 

SetUseLinearOutput

(
    bool InUseLinearOutput
)

Overridden from SAudioSliderBase

Name Description

Public function Virtual

void

 

Construct

(
    const SAudioSlider::FArguments& In...
)

Construct the widget.

Public function Virtual

const float

 

GetLinValueForText

(
    const float OutputValue
)

Public function Virtual

const float

 

GetOutputValueForText

(
    const float LinValue
)

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

 

SetOutputRange

(
    const FVector2D Range
)

Constants

Name

Description

MaxDbValue

MinDbValue

Min/max possible values for output range, derived to avoid Audio::ConvertToLinear/dB functions returning NaN.