UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FVolumeControlStyle Struct Reference

#include <SlateTypes.h>

+ Inheritance diagram for FVolumeControlStyle:

Public Member Functions

SLATECORE_API FVolumeControlStyle ()
 
virtual SLATECORE_API ~FVolumeControlStyle ()
 
virtual SLATECORE_API void GetResources (TArray< const FSlateBrush * > &OutBrushes) const override
 
virtual const FName GetTypeName () const override
 
FVolumeControlStyleSetSliderStyle (const FSliderStyle &InSliderStyle)
 
FVolumeControlStyleSetHighVolumeImage (const FSlateBrush &InHighVolumeImage)
 
FVolumeControlStyleSetMidVolumeImage (const FSlateBrush &InMidVolumeImage)
 
FVolumeControlStyleSetLowVolumeImage (const FSlateBrush &InLowVolumeImage)
 
FVolumeControlStyleSetNoVolumeImage (const FSlateBrush &InNoVolumeImage)
 
FVolumeControlStyleSetMutedImage (const FSlateBrush &InMutedImage)
 
- Public Member Functions inherited from FSlateWidgetStyle
SLATECORE_API FSlateWidgetStyle ()
 
virtual SLATECORE_API ~FSlateWidgetStyle ()
 

Static Public Member Functions

static SLATECORE_API const FVolumeControlStyleGetDefault ()
 

Public Attributes

FSliderStyle SliderStyle
 
FSlateBrush HighVolumeImage
 
FSlateBrush MidVolumeImage
 
FSlateBrush LowVolumeImage
 
FSlateBrush NoVolumeImage
 
FSlateBrush MutedImage
 

Static Public Attributes

static SLATECORE_API const FName TypeName
 

Detailed Description

Represents the appearance of an SVolumeControl

Constructor & Destructor Documentation

◆ FVolumeControlStyle()

FVolumeControlStyle::FVolumeControlStyle ( )

◆ ~FVolumeControlStyle()

FVolumeControlStyle::~FVolumeControlStyle ( )
virtualdefault

Member Function Documentation

◆ GetDefault()

const FVolumeControlStyle & FVolumeControlStyle::GetDefault ( )
static

◆ GetResources()

void FVolumeControlStyle::GetResources ( TArray< const FSlateBrush * > &  OutBrushes) const
overridevirtual

Gets the brush resources associated with this style.

This method must be implemented by inherited structures.

Parameters
OutBrushesThe brush resources.

Reimplemented from FSlateWidgetStyle.

◆ GetTypeName()

virtual const FName FVolumeControlStyle::GetTypeName ( ) const
inlineoverridevirtual

Gets the name of this style.

This method must be implemented by inherited structures.

Returns
Widget style name.

Reimplemented from FSlateWidgetStyle.

◆ SetHighVolumeImage()

FVolumeControlStyle & FVolumeControlStyle::SetHighVolumeImage ( const FSlateBrush InHighVolumeImage)
inline

◆ SetLowVolumeImage()

FVolumeControlStyle & FVolumeControlStyle::SetLowVolumeImage ( const FSlateBrush InLowVolumeImage)
inline

◆ SetMidVolumeImage()

FVolumeControlStyle & FVolumeControlStyle::SetMidVolumeImage ( const FSlateBrush InMidVolumeImage)
inline

◆ SetMutedImage()

FVolumeControlStyle & FVolumeControlStyle::SetMutedImage ( const FSlateBrush InMutedImage)
inline

◆ SetNoVolumeImage()

FVolumeControlStyle & FVolumeControlStyle::SetNoVolumeImage ( const FSlateBrush InNoVolumeImage)
inline

◆ SetSliderStyle()

FVolumeControlStyle & FVolumeControlStyle::SetSliderStyle ( const FSliderStyle InSliderStyle)
inline

Member Data Documentation

◆ HighVolumeImage

FSlateBrush FVolumeControlStyle::HighVolumeImage

Image to use when the volume is set to high

◆ LowVolumeImage

FSlateBrush FVolumeControlStyle::LowVolumeImage

Image to use when the volume is set to low

◆ MidVolumeImage

FSlateBrush FVolumeControlStyle::MidVolumeImage

Image to use when the volume is set to mid-range

◆ MutedImage

FSlateBrush FVolumeControlStyle::MutedImage

Image to use when the volume is muted

◆ NoVolumeImage

FSlateBrush FVolumeControlStyle::NoVolumeImage

Image to use when the volume is set to off

◆ SliderStyle

FSliderStyle FVolumeControlStyle::SliderStyle

The style of the volume control slider

◆ TypeName

const FName FVolumeControlStyle::TypeName
static

The documentation for this struct was generated from the following files: