FSliderStyle

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

Windows
MacOS
Linux

Inheritance Hierarchy

FSlateWidgetStyle

FSliderStyle

References

Module

SlateCore

Header

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

Include

#include "Styling/SlateTypes.h"

Syntax

struct FSliderStyle : public FSlateWidgetStyle

Remarks

Represents the appearance of an SSlider

Variables

Name Description

Public variable

float

 

BarThickness

Public variable

FSlateBrush

 

DisabledBarImage

Image to use when the slider bar is in its disabled state

Public variable

FSlateBrush

 

DisabledThumbImage

Image to use when the slider thumb is in its disabled state

Public variable

FSlateBrush

 

HoveredBarImage

Image to use when the slider bar is in its hovered state

Public variable

FSlateBrush

 

HoveredThumbImage

Image to use when the slider thumb is in its hovered state

Public variable

FSlateBrush

 

NormalBarImage

Image to use when the slider bar is in its normal state

Public variable

FSlateBrush

 

NormalThumbImage

Image to use when the slider thumb is in its normal state

Constructors

Name Description

Public function

FSliderStyle()

Destructors

Name Description

Public function Virtual

~FSliderStyle()

Functions

Name Description

Public function Static

const FSlide...

 

GetDefault()

Public function

FSliderStyle...

 

SetBarThickness

(
    float InBarThickness
)

Public function

FSliderStyle...

 

SetDisabledBarImage

(
    const FSlateBrush& InDisabledBarIm...
)

Public function

FSliderStyle...

 

SetDisabledThumbImage

(
    const FSlateBrush& InDisabledThumb...
)

Public function

FSliderStyle...

 

SetHoveredBarImage

(
    const FSlateBrush& InHoveredBarIma...
)

Public function

FSliderStyle...

 

SetHoveredThumbImage

(
    const FSlateBrush& InHoveredThumbI...
)

Public function

FSliderStyle...

 

SetNormalBarImage

(
    const FSlateBrush& InNormalBarImag...
)

Public function

FSliderStyle...

 

SetNormalThumbImage

(
    const FSlateBrush& InNormalThumbIm...
)

Public function

void

 

UnlinkColors()

Unlinks all colors in this style.

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