Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/Styling
Inheritance Hierarchy
- FSlateWidgetStyle
- FExpandableAreaStyle
References
| Module | SlateCore |
| Header | /Engine/Source/Runtime/SlateCore/Public/Styling/SlateTypes.h |
| Include | #include "Styling/SlateTypes.h" |
Syntax
USTRUCT ()
struct FExpandableAreaStyle : public FSlateWidgetStyle
Remarks
Represents the appearance of an SExpandableArea
Variables
| Type | Name | Description | |
|---|---|---|---|
| FSlateBrush | CollapsedImage | Image to use when the area is collapsed | |
| FSlateBrush | ExpandedImage | Image to use when the area is expanded | |
| float | RolloutAnimationSeconds | How long the rollout animation lasts |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| const FExpandableAreaStyle & | GetDefault () |
||
| FExpandableAreaStyle & | SetCollapsedImage
(
const FSlateBrush& InCollapsedImage |
||
| FExpandableAreaStyle & | SetExpandedImage
(
const FSlateBrush& InExpandedImage |
||
| FExpandableAreaStyle & | SetRolloutAnimationSeconds
(
float InLengthSeconds |
||
| 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 |