FVolumeControlStyle

Represents the appearance of an [SVolumeControl](API\Runtime\Slate\Widgets\Input\SVolumeControl)

Windows
MacOS
Linux

Inheritance Hierarchy

FSlateWidgetStyle

FVolumeControlStyle

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Styling/SlateTypes.h

Include

#include "Styling/SlateTypes.h"

Syntax

struct FVolumeControlStyle : public FSlateWidgetStyle

Remarks

Represents the appearance of an SVolumeControl

Variables

Name Description

Public variable

FSlateBrush

 

HighVolumeImage

Image to use when the volume is set to high

Public variable

FSlateBrush

 

LowVolumeImage

Image to use when the volume is set to low

Public variable

FSlateBrush

 

MidVolumeImage

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

Public variable

FSlateBrush

 

MutedImage

Image to use when the volume is muted

Public variable

FSlateBrush

 

NoVolumeImage

Image to use when the volume is set to off

Public variable

FSliderStyle

 

SliderStyle

The style of the volume control slider

Constructors

Name Description

Public function

FVolumeControlStyle()

Destructors

Name Description

Public function Virtual

~FVolumeControlStyle()

Functions

Name Description

Public function Static

const FVolum...

 

GetDefault()

Public function

FVolumeContr...

 

SetHighVolumeImage

(
    const FSlateBrush& InHighVolumeIma...
)

Public function

FVolumeContr...

 

SetLowVolumeImage

(
    const FSlateBrush& InLowVolumeImag...
)

Public function

FVolumeContr...

 

SetMidVolumeImage

(
    const FSlateBrush& InMidVolumeImag...
)

Public function

FVolumeContr...

 

SetMutedImage

(
    const FSlateBrush& InMutedImage
)

Public function

FVolumeContr...

 

SetNoVolumeImage

(
    const FSlateBrush& InNoVolumeImage
)

Public function

FVolumeContr...

 

SetSliderStyle

(
    const FSliderStyle& InSliderStyle
)

Overridden from FSlateWidgetStyle

Name Description

Public function Virtual Const

void

 

GetResources

(
    TArray< const FSlateBrush* >&...
)

Gets the brush resources associated with this style.

Public function Virtual Const

const FName

 

GetTypeName()

Gets the name of this style.

This method must be implemented by inherited structures.

Constants

Name

Description

TypeName

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss