Navigation
API > API/Runtime > API/Runtime/SlateCore
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.
| Name | FAppStyle |
| Type | class |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Styling/AppStyle.h |
| Include Path | #include "Styling/AppStyle.h" |
Syntax
class FAppStyle
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| AppStyleName | FName | Styling/AppStyle.h |
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static const ISlateStyle & Get() |
Styling/AppStyle.h | ||
static const FName GetAppStyleSetName() |
Styling/AppStyle.h | ||
static const FSlateBrush * GetBrush
(
FName PropertyName, |
Styling/AppStyle.h | ||
static const FLinearColor & GetColor
(
FName PropertyName, |
Styling/AppStyle.h | ||
static const FSlateBrush * GetDefaultBrush() |
Styling/AppStyle.h | ||
static const TSharedPtr< FSlateDynamicImageBrush > GetDynamicImageBrush
(
FName BrushTemplate, |
Styling/AppStyle.h | ||
static const TSharedPtr< FSlateDynamicImageBrush > GetDynamicImageBrush
(
FName BrushTemplate, |
Styling/AppStyle.h | ||
static const TSharedPtr< FSlateDynamicImageBrush > GetDynamicImageBrush
(
FName BrushTemplate, |
Styling/AppStyle.h | ||
static float GetFloat
(
FName PropertyName, |
Styling/AppStyle.h | ||
static FSlateFontInfo GetFontStyle
(
FName PropertyName, |
Styling/AppStyle.h | ||
| Styling/AppStyle.h | |||
static const FSlateBrush * GetNoBrush() |
Styling/AppStyle.h | ||
static const FSlateBrush * GetOptionalBrush
(
FName PropertyName, |
Styling/AppStyle.h | ||
static const FSlateColor GetSlateColor
(
FName PropertyName, |
Styling/AppStyle.h | ||
static const FSlateSound & GetSound
(
FName PropertyName, |
Styling/AppStyle.h | ||
static UE::Slate::FDeprecateVector2DResult GetVector
(
FName PropertyName, |
Styling/AppStyle.h | ||
static const T & GetWidgetStyle
(
FName PropertyName, |
Styling/AppStyle.h | ||
| Concatenates two FNames.e If A and B are "Path.To" and ".Something" the result "Path.To.Something". | Styling/AppStyle.h | ||
static void SetAppStyleSet
(
const ISlateStyle& InStyle |
Styling/AppStyle.h | ||
static void SetAppStyleSetName
(
const FName& InName |
Styling/AppStyle.h |