SAudioInputWidget

Abstract class for use by audio sliders and knobs that consists of a visual representation of a float value and a text label.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

AudioWidgets

Header

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

Include

#include "SAudioInputWidget.h"

Syntax

class SAudioInputWidget : public SCompoundWidget

Remarks

Abstract class for use by audio sliders and knobs that consists of a visual representation of a float value and a text label.

Functions

Name Description

Public function

const float

 

GetLinValue

(
    const float OutputValue
)

Public function

const float

 

GetOutputValue

(
    const float LinValue
)

Public function

void

 

SetDesiredSizeOverride

(
    const FVector2D DesiredSize
)

Public function

void

 

SetLabelBackgroundColor

(
    FSlateColor InColor
)

Public function

void

 

SetOutputRange

(
    const FVector2D Range
)

Public function

void

 

SetShowUnitsText

(
    const bool bShowUnitsText
)

Public function

void

 

SetUnitsText

(
    const FText Units
)

Public function

void

 

SetUnitsTextReadOnly

(
    const bool bIsReadOnly
)

Public function

void

 

SetValue

(
    float LinValue
)

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