Navigation
API > API/Runtime > API/Runtime/SlateCore
Represents the appearance of an SScrollBar
| Name | FScrollBarStyle |
| Type | struct |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Styling/SlateTypes.h |
| Include Path | #include "Styling/SlateTypes.h" |
Syntax
USTRUCT (BlueprintType )
struct FScrollBarStyle : public FSlateWidgetStyle
Inheritance Hierarchy
- FSlateWidgetStyle → FScrollBarStyle
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Styling/SlateTypes.h | |||
FScrollBarStyle
(
const FScrollBarStyle& |
Styling/SlateTypes.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FScrollBarStyle() |
Styling/SlateTypes.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| TypeName | const FName | Styling/SlateTypes.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| DraggedThumbImage | FSlateBrush | Image to use when the scrollbar thumb is in its dragged state | Styling/SlateTypes.h |
|
| HorizontalBackgroundImage | FSlateBrush | Background image to use when the scrollbar is oriented horizontally | Styling/SlateTypes.h |
|
| HorizontalBottomSlotImage | FSlateBrush | The image to use to represent the track below the thumb when the scrollbar is oriented horizontally | Styling/SlateTypes.h |
|
| HorizontalTopSlotImage | FSlateBrush | The image to use to represent the track above the thumb when the scrollbar is oriented horizontally | Styling/SlateTypes.h |
|
| HoveredThumbImage | FSlateBrush | Image to use when the scrollbar thumb is in its hovered state | Styling/SlateTypes.h |
|
| NormalThumbImage | FSlateBrush | Image to use when the scrollbar thumb is in its normal state | Styling/SlateTypes.h |
|
| Thickness | float | Styling/SlateTypes.h |
|
|
| VerticalBackgroundImage | FSlateBrush | Background image to use when the scrollbar is oriented vertically | Styling/SlateTypes.h |
|
| VerticalBottomSlotImage | FSlateBrush | The image to use to represent the track below the thumb when the scrollbar is oriented vertically | Styling/SlateTypes.h |
|
| VerticalTopSlotImage | FSlateBrush | The image to use to represent the track above the thumb when the scrollbar is oriented vertically | Styling/SlateTypes.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FScrollBarStyle & SetDraggedThumbImage
(
const FSlateBrush& InDraggedThumbImage |
Styling/SlateTypes.h | ||
FScrollBarStyle & SetHorizontalBackgroundImage
(
const FSlateBrush& InHorizontalBackgroundImage |
Styling/SlateTypes.h | ||
FScrollBarStyle & SetHorizontalBottomSlotImage
(
const FSlateBrush& Value |
Styling/SlateTypes.h | ||
FScrollBarStyle & SetHorizontalTopSlotImage
(
const FSlateBrush& Value |
Styling/SlateTypes.h | ||
FScrollBarStyle & SetHoveredThumbImage
(
const FSlateBrush& InHoveredThumbImage |
Styling/SlateTypes.h | ||
FScrollBarStyle & SetNormalThumbImage
(
const FSlateBrush& InNormalThumbImage |
Styling/SlateTypes.h | ||
FScrollBarStyle & SetThickness
(
float InThickness |
Styling/SlateTypes.h | ||
FScrollBarStyle & SetVerticalBackgroundImage
(
const FSlateBrush& InVerticalBackgroundImage |
Styling/SlateTypes.h | ||
FScrollBarStyle & SetVerticalBottomSlotImage
(
const FSlateBrush& Value |
Styling/SlateTypes.h | ||
FScrollBarStyle & SetVerticalTopSlotImage
(
const FSlateBrush& Value |
Styling/SlateTypes.h | ||
void UnlinkColors () |
Unlinks all colors in this style. | 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 FScrollBarStyle & GetDefault() |
Styling/SlateTypes.h |