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