Navigation
API > API/Plugins > API/Plugins/AudioWidgets
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UVisual
- UWidget
- UAudioMeter
References
| Module | AudioWidgets |
| Header | /Engine/Plugins/Runtime/AudioWidgets/Source/AudioWidgets/Public/AudioMeter.h |
| Include | #include "AudioMeter.h" |
Syntax
UCLASS&40;&41;
class UAudioMeter : public UWidget
Remarks
An audio meter widget.
Supports displaying a slower moving peak-hold value as well as the current meter value.
A clipping value is also displayed which shows a customizable color to indicate clipping.
Internal values are stored and interacted with as linear volume values.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FLinearColor | BackgroundColor | The color to draw the background. | |
| TArray< FMeterChannelInfo > | K2_Cache_MeterChannelInfo | ||
| FLinearColor | MeterBackgroundColor | The color to draw the meter background. | |
| TArray< FMeterChannelInfo > | MeterChannelInfo | The current meter value to display. | |
| FGetMeterChannelInfo | MeterChannelInfoDelegate | A bindable delegate to allow logic to drive the value of the meter | |
| FLinearColor | MeterClippingColor | The color to draw the meter clipping value. | |
| FLinearColor | MeterPeakColor | The color to draw the meter peak value. | |
| FLinearColor | MeterScaleColor | The color to draw the meter scale hashes. | |
| FLinearColor | MeterScaleLabelColor | The color to draw the meter scale label. | |
| FLinearColor | MeterValueColor | The color to draw the meter value. | |
| TSharedPtr< SAudioMeter > | MyAudioMeter | Native Slate Widget | |
| TEnumAsByte< EOrientation > | Orientation | The slider's orientation. | |
| FAudioMeterStyle | WidgetStyle | The audio meter style |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UAudioMeter
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| TArray< FMeterChannelInfo > | Gets the current linear value of the meter. | ||
| TArray< FMeterChannelInfo > | |||
| void | SetBackgroundColor
(
FLinearColor InValue |
Sets the background color | |
| void | SetMeterBackgroundColor
(
FLinearColor InValue |
Sets the meter background color | |
| void | SetMeterChannelInfo
(
const TArray< FMeterChannelInfo >& InMeterChannelInfo |
Sets the current meter values. | |
| void | SetMeterClippingColor
(
FLinearColor InValue |
Sets the meter clipping color | |
| void | SetMeterPeakColor
(
FLinearColor InValue |
Sets the meter peak color | |
| void | SetMeterScaleColor
(
FLinearColor InValue |
Sets the meter scale color | |
| void | SetMeterScaleLabelColor
(
FLinearColor InValue |
Sets the meter scale color | |
| void | SetMeterValueColor
(
FLinearColor InValue |
Sets the meter value color |
Overridden from UWidget
| Type | Name | Description | |
|---|---|---|---|
| const FText | Gets the palette category of the widget | ||
| TSharedRef< SWidget > | Function implemented by all subclasses of UWidget is called when the underlying SWidget needs to be constructed. | ||
| void | Applies all properties to the native widget if possible. |
Overridden from UVisual
| Type | Name | Description | |
|---|---|---|---|
| void | ReleaseSlateResources
(
bool bReleaseChildren |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FGetMeterChannelInfo |