Navigation
API > API/Plugins > API/Plugins/AudioWidgets
Inheritance Hierarchy
- FSlateWidgetStyle
- FAudioMeterStyle
References
| Module | AudioWidgets |
| Header | /Engine/Plugins/Runtime/AudioWidgets/Source/AudioWidgets/Public/AudioMeterStyle.h |
| Include | #include "AudioMeterStyle.h" |
Syntax
USTRUCT&40;BlueprintType&41;
struct FAudioMeterStyle : public FSlateWidgetStyle
Remarks
Represents the appearance of an SAudioMeter
Variables
| Type | Name | Description | |
|---|---|---|---|
| FSlateBrush | BackgroundImage | Image to use to represent the background. | |
| bool | bScaleSide | Which side to show the scale. If vertical, true means left side, false means right side. If horizontal, true means above, false means below. | |
| bool | bShowScale | Whether or not to show the decibel scale alongside the meter. | |
| int32 | DecibelsPerHash | How wide to draw the decibel scale, if it's enabled. | |
| FSlateFontInfo | Font | Font family and size to be used when displaying the meter scale. | |
| FSlateBrush | MeterBackgroundImage | Image to use to represent the meter background. | |
| FVector2D | MeterPadding | How much padding to add around the meter. | |
| FSlateBrush | MeterPeakImage | Image to use to represent the meter peak. | |
| FVector2D | MeterSize | How thick to draw the meter. | |
| FSlateBrush | MeterValueBackgroundImage | Image to use to draw behind the meter value. | |
| FSlateBrush | MeterValueImage | Image to use to represent the meter value. | |
| float | MeterValuePadding | How much padding to add around the meter value. | |
| float | PeakValueWidth | How wide to draw the peak value indicator. | |
| float | ScaleHashHeight | The height of each hash mark. | |
| float | ScaleHashOffset | Offset for the hashes. | |
| float | ScaleHashWidth | The width of each hash mark. | |
| FVector2D | ValueRangeDb | The minimum and maximum value to display in dB (values are clamped in this range) |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| const FAudioMeterStyle & | GetDefault () |
||
| FAudioMeterStyle & | SetBackgroundImage
(
const FSlateBrush& InBackgroundImage |
||
| FAudioMeterStyle & | SetDecibelsPerHash
(
float InDecibelsPerHash |
||
| FAudioMeterStyle & | |||
| FAudioMeterStyle & | SetFont
(
const FSlateFontInfo& InFont |
||
| FAudioMeterStyle & | |||
| FAudioMeterStyle & | SetFont
(
TSharedPtr< const FCompositeFont > InCompositeFont, |
||
| FAudioMeterStyle & | SetFont
(
const ANSICHAR* InFontName, |
||
| FAudioMeterStyle & | SetFont
(
const WIDECHAR* InFontName, |
||
| FAudioMeterStyle & | |||
| FAudioMeterStyle & | SetFontName
(
const FName& InFontName |
||
| FAudioMeterStyle & | SetFontName
(
const FString& InFontName |
||
| FAudioMeterStyle & | SetFontName
(
const WIDECHAR* InFontName |
||
| FAudioMeterStyle & | SetFontName
(
const ANSICHAR* InFontName |
||
| FAudioMeterStyle & | SetFontSize
(
uint16 InSize |
||
| FAudioMeterStyle & | SetMeterBackgroundImage
(
const FSlateBrush& InMeterBackgroundImage |
||
| FAudioMeterStyle & | SetMeterPadding
(
const FVector2D& InMeterPadding |
||
| FAudioMeterStyle & | SetMeterPeakImage
(
const FSlateBrush& InMeterPeakImage |
||
| FAudioMeterStyle & | SetMeterSize
(
const FVector2D& InMeterSize |
||
| FAudioMeterStyle & | SetMeterValueBackgroundImage
(
const FSlateBrush& InMeterValueBackgroundImage |
||
| FAudioMeterStyle & | SetMeterValueImage
(
const FSlateBrush& InMeterValueImage |
||
| FAudioMeterStyle & | SetMeterValuePadding
(
float InMeterValuePadding |
||
| FAudioMeterStyle & | SetPeakValueWidth
(
float InPeakValueWidth |
||
| FAudioMeterStyle & | SetScaleHashHeight
(
float InScaleHashHeight |
||
| FAudioMeterStyle & | SetScaleHashOffset
(
float InScaleHashOffset |
||
| FAudioMeterStyle & | SetScaleHashWidth
(
float InScaleHashWidth |
||
| FAudioMeterStyle & | SetScaleSide
(
bool bInScaleSide |
||
| FAudioMeterStyle & | SetShowScale
(
bool bInShowScale |
||
| FAudioMeterStyle & | SetTypefaceFontName
(
const FName& InTypefaceFontName |
||
| FAudioMeterStyle & | SetValueRangeDb
(
const FVector2D& InValueRangeDb |
||
| void | UnlinkColors () |
Unlinks all colors in this style. |
Overridden from FSlateWidgetStyle
| Type | Name | Description | |
|---|---|---|---|
| void | GetResources
(
TArray< const FSlateBrush* >& OutBrushes |
Gets the brush resources associated with this style. | |
| const FName | GetTypeName () |
Gets the name of this style.This method must be implemented by inherited structures. |
Constants
| Name | Description |
|---|---|
| TypeName |