Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/Styling
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
| Type | Name | Description | |
|---|---|---|---|
| float | BarThickness | ||
| FSlateBrush | DisabledBarImage | Image to use when the slider bar is in its disabled state | |
| FSlateBrush | DisabledThumbImage | Image to use when the slider thumb is in its disabled state | |
| FSlateBrush | HoveredBarImage | Image to use when the slider bar is in its hovered state | |
| FSlateBrush | HoveredThumbImage | Image to use when the slider thumb is in its hovered state | |
| FSlateBrush | NormalBarImage | Image to use when the slider bar is in its normal state | |
| FSlateBrush | NormalThumbImage | Image to use when the slider thumb is in its normal state |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FSliderStyle () |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| const FSliderStyle & | GetDefault () |
||
| FSliderStyle & | SetBarThickness
(
float InBarThickness |
||
| FSliderStyle & | SetDisabledBarImage
(
const FSlateBrush& InDisabledBarImage |
||
| FSliderStyle & | SetDisabledThumbImage
(
const FSlateBrush& InDisabledThumbImage |
||
| FSliderStyle & | SetHoveredBarImage
(
const FSlateBrush& InHoveredBarImage |
||
| FSliderStyle & | SetHoveredThumbImage
(
const FSlateBrush& InHoveredThumbImage |
||
| FSliderStyle & | SetNormalBarImage
(
const FSlateBrush& InNormalBarImage |
||
| FSliderStyle & | SetNormalThumbImage
(
const FSlateBrush& InNormalThumbImage |
||
| void | UnlinkColors () |
Unlinks all colors in this style. |
Overridden from FSlateWidgetStyle
| Type | Name | Description | |
|---|---|---|---|
| void | GetResources
(
TArray< const FSlateBrush* >& OutBrushes |
Gets the brush resources associated with this style. | |
| const FName | GetTypeName () |
Gets the name of this style.This method must be implemented by inherited structures. |
Constants
| Name | Description |
|---|---|
| TypeName |