Navigation
API > API/Runtime > API/Runtime/SlateCore
Represents the appearance of an SVolumeControl
| Name | FVolumeControlStyle |
| Type | struct |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Styling/SlateTypes.h |
| Include Path | #include "Styling/SlateTypes.h" |
Syntax
USTRUCT ()
struct FVolumeControlStyle : public FSlateWidgetStyle
Inheritance Hierarchy
- FSlateWidgetStyle → FVolumeControlStyle
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FVolumeControlStyle() |
Styling/SlateTypes.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FVolumeControlStyle() |
Styling/SlateTypes.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| TypeName | const FName | Styling/SlateTypes.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| HighVolumeImage | FSlateBrush | Image to use when the volume is set to high | Styling/SlateTypes.h |
|
| LowVolumeImage | FSlateBrush | Image to use when the volume is set to low | Styling/SlateTypes.h |
|
| MidVolumeImage | FSlateBrush | Image to use when the volume is set to mid-range | Styling/SlateTypes.h |
|
| MutedImage | FSlateBrush | Image to use when the volume is muted | Styling/SlateTypes.h |
|
| NoVolumeImage | FSlateBrush | Image to use when the volume is set to off | Styling/SlateTypes.h |
|
| SliderStyle | FSliderStyle | The style of the volume control slider | Styling/SlateTypes.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FVolumeControlStyle & SetHighVolumeImage
(
const FSlateBrush& InHighVolumeImage |
Styling/SlateTypes.h | ||
FVolumeControlStyle & SetLowVolumeImage
(
const FSlateBrush& InLowVolumeImage |
Styling/SlateTypes.h | ||
FVolumeControlStyle & SetMidVolumeImage
(
const FSlateBrush& InMidVolumeImage |
Styling/SlateTypes.h | ||
FVolumeControlStyle & SetMutedImage
(
const FSlateBrush& InMutedImage |
Styling/SlateTypes.h | ||
FVolumeControlStyle & SetNoVolumeImage
(
const FSlateBrush& InNoVolumeImage |
Styling/SlateTypes.h | ||
FVolumeControlStyle & SetSliderStyle
(
const FSliderStyle& InSliderStyle |
Styling/SlateTypes.h |
Overridden from FSlateWidgetStyle
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void GetResources
(
TArray< const FSlateBrush* >& OutBrushes |
Gets the brush resources associated with this style. | Styling/SlateTypes.h | |
virtual const FName GetTypeName() |
Gets the name of this style.This method must be implemented by inherited structures. | Styling/SlateTypes.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static const FVolumeControlStyle & GetDefault() |
Styling/SlateTypes.h |