Navigation
API > API/Plugins > API/Plugins/AudioWidgets
Inheritance Hierarchy
References
| Module | AudioWidgets |
| Header | /Engine/Plugins/Runtime/AudioWidgets/Source/AudioWidgets/Public/SAudioMeter.h |
| Include | #include "SAudioMeter.h" |
Syntax
class SAudioMeter : public SLeafWidget
Remarks
A Slate slider control is a linear scale and draggable handle.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TAttribute< FSlateColor > | BackgroundColor | Various colors. | |
| bool | bIsActiveTimerRegistered | Is the active timer registered to refresh the meter channel info. | |
| TAttribute< FSlateColor > | MeterBackgroundColor | ||
| TAttribute< TArray< FMeterChannelInfo > > | MeterChannelInfoAttribute | ||
| TAttribute< FSlateColor > | MeterClippingColor | ||
| TAttribute< FSlateColor > | MeterPeakColor | ||
| TAttribute< FSlateColor > | MeterScaleColor | ||
| TAttribute< FSlateColor > | MeterScaleLabelColor | ||
| TAttribute< FSlateColor > | MeterValueColor | ||
| EOrientation | Orientation | Holds the slider's orientation. | |
| const FAudioMeterStyle * | Style | Holds the style passed to the widget upon construction. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
SAudioMeter () |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Construct
(
const SAudioMeter::FArguments& InDeclaration |
Construct the widget. | |
| TArray< FMeterChannelInfo > | |||
| float | Returns the scale height based off font size and hash height. | ||
| void | SetBackgroundColor
(
FSlateColor InBackgroundColor |
||
| void | SetMeterBackgroundColor
(
FSlateColor InMeterBackgroundColor |
||
| void | SetMeterChannelInfo
(
const TAttribute< TArray< FMeterChannelInfo >>& InMeterChannelInfo |
||
| void | SetMeterClippingColor
(
FSlateColor InMeterPeakColor |
||
| void | SetMeterPeakColor
(
FSlateColor InMeterPeakColor |
||
| void | SetMeterScaleColor
(
FSlateColor InMeterScaleColor |
||
| void | SetMeterScaleLabelColor
(
FSlateColor InMeterScaleLabelColor |
||
| void | SetMeterValueColor
(
FSlateColor InMeterValueColor |
||
| void | SetOrientation
(
EOrientation InOrientation |
Set the Orientation attribute |
Overridden from SWidget
| Type | Name | Description | |
|---|---|---|---|
| FVector2D | ComputeDesiredSize
(
float |
Overwritten from SWidget. | |
| bool | Recomputes the volatility of the widget. | ||
| int32 | OnPaint
(
const FPaintArgs& Args, |
Overwritten from SWidget. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FArguments |