Navigation
API > API/Plugins > API/Plugins/AudioWidgets
Inheritance Hierarchy
- FAudioUnitProcessor
- FFrequencyProcessor
- FVolumeProcessor
References
| Module | AudioWidgets |
| Header | /Engine/Plugins/Runtime/AudioWidgets/Source/AudioWidgets/Public/SAudioInputWidget.h |
| Include | #include "SAudioInputWidget.h" |
Syntax
struct FAudioUnitProcessor
Remarks
Processor to allow output and display of different Audio Units. This is because what is shown for the user and what the output is might not be the same. For example, when using the linear output option for volume, Volume is displayed as dB, but the output value will still be 0.0-1.0f.
Functions
| Type | Name | Description | |
|---|---|---|---|
| const FVector2D | Get the default Output range for the processor. | ||
| const FVector2D | GetOutputRange
(
FVector2D InRange |
Get the OutputRange. Possibility to modify the output range. Currently only used for Volume | |
| const float | GetOutputValue
(
const FVector2D OutputRange, |
Get the OutputValue. This is where to calculate what the processor will actually output | |
| const float | GetOutputValueForText
(
const FVector2D OutputRange, |
Get the OutputValue that will be shown as text. | |
| const float | GetSliderValue
(
const FVector2D OutputRange, |
Get the Value for the slider. This should be clamped to be inside the given slider range | |
| const float | GetSliderValueForText
(
const FVector2D OutputRange, |
Get the Slider value for the text. | |
| const FText | GetUnitsText () |
Get the units that the processor will output |
Constants
| Name | Description |
|---|---|
| NormalizedLinearSliderRange |