Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/Styling
References
| Module | SlateCore |
| Header | /Engine/Source/Runtime/SlateCore/Public/Styling/AppStyle.h |
| Include | #include "Styling/AppStyle.h" |
Syntax
class FAppStyle
Remarks
AppStyle class
AppStyle is a Singleton accessor to a named SlateStyle to be used as an Application wide base style definition.
Moving forward, all references in any core Slate Application Widgets should use FAppStyle::Get()
FEditorStyle::Get accessors and FCoreStyle::Get accessors should be replaced with FAppStyle::Get()
Currently, this code defaults to use FCoreStyle::GetCoreStyle() if the named style is not found.
Functions
| Type | Name | Description | |
|---|---|---|---|
| const ISlateStyle & | Get () |
||
| const FName | |||
| const FSlateBrush * | |||
| const FLinearColor & | |||
| const FSlateBrush * | |||
| const TSharedPtr< FSlateDynamicImageBrush > | GetDynamicImageBrush
(
FName BrushTemplate, |
||
| const TSharedPtr< FSlateDynamicImageBrush > | GetDynamicImageBrush
(
FName BrushTemplate, |
||
| const TSharedPtr< FSlateDynamicImageBrush > | GetDynamicImageBrush
(
FName BrushTemplate, |
||
| float | |||
| FSlateFontInfo | GetFontStyle
(
FName PropertyName, |
||
| const FMargin & | |||
| const FSlateBrush * | GetNoBrush () |
||
| const FSlateBrush * | GetOptionalBrush
(
FName PropertyName, |
||
| const FSlateColor | GetSlateColor
(
FName PropertyName, |
||
| const FSlateSound & | |||
| FVector2D | |||
| const T & | GetWidgetStyle
(
FName PropertyName, |
||
| FName | Concatenates two FNames.e If A and B are "Path.To" and ".Something" the result "Path.To.Something". | ||
| void | SetAppStyleSet
(
const ISlateStyle& InStyle |
||
| void | SetAppStyleSetName
(
const FName& InName |
Constants
| Name | Description |
|---|---|
| AppStyleName |